Get SEC-reported bitcoin holdings of companies and ETFs
Bitcoin positions reported to the SEC in quarterly XBRL filings, covering operating companies and spot bitcoin exchange-traded products. Coverage is limited to SEC filers (holders listed only outside the US are not included), and each position is as of the filer's reported period end. For holdings in other crypto assets use /v1/cryptotreasury.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/bitcointreasury"
});
console.log(output);Query parameters
Stock ticker of the filer, e.g. MSTR. Private filers have no ticker; use cik.
SEC Central Index Key of the filer, with or without leading zeros.
OPERATING is a company holding crypto on its balance sheet. ETP is an exchange-traded product whose holdings are the fund itself. PRIVATE is a filer with no listed ticker. (Allowed: OPERATING, ETP, PRIVATE)
Reporting period end as YYYY-MM-DD, or 'latest'. Defaults to the most recent period.
Include positions whose unit count does not reconcile with the filer's own reported fair value. Excluded by default; when included they are reproduced exactly as filed and carry a warning. (Default: False)
Maximum results to return, up to 50.
Number of results to skip, for pagination. (Default: 0)