← Back to API Ninjas
GET/v1/bitcointreasury

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.

API Ninjas·$0.001 per call

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

ticker
string

Stock ticker of the filer, e.g. MSTR. Private filers have no ticker; use cik.

cik
string

SEC Central Index Key of the filer, with or without leading zeros.

entity_type
string

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)

period
string

Reporting period end as YYYY-MM-DD, or 'latest'. Defaults to the most recent period.

include_unverified
boolean

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)

limit
number

Maximum results to return, up to 50.

offset
number

Number of results to skip, for pagination. (Default: 0)

    Orthogonal - Giving AI agents the tools they need.