GET
/api/v1/etf/corporate-treasuryHobbyist tier+ · 30 req/minCorporate bitcoin treasuries (MSTR + peers) — canonical shape, ingestion pending.
Public companies holding bitcoin on their balance sheet (MicroStrategy, Tesla, Marathon, Block, …). Ingestion requires 10-Q / 8-K parsing and/or a BitcoinTreasuries feed — not live yet. The wire shape is stable so dashboards can be built today; `meta.dataStatus = 'not-yet-ingested'` tells clients to render a placeholder.
Query parameters
This endpoint takes no query parameters.
Response shape
Always wrapped in the standard envelope. Nullable fields are explicitly marked — treat missing numeric data as a real data-source gap, not as an error.
data payloadtypescript
// Wrapped in the standard envelope:
// {
// data: /* shape below */,
// meta?: { total?: number; limit?: number; offset?: number; ... }
// }
{
companies: Array<{
ticker: string;
name: string;
btcHeld: number;
usdValue: number;
lastUpdated: string | null;
}>;
totalBtc: number;
totalUsd: number;
}Example
Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.
Requestbash
curl -sS "http://localhost:3000/api/v1/etf/corporate-treasury"Responsejson
{
"data": { "companies": [], "totalBtc": 0, "totalUsd": 0 },
"meta": { "total": 0, "dataStatus": "not-yet-ingested" }
}Notes
- Check `meta.dataStatus` before rendering — it's `not-yet-ingested` today, `available` once the adapter ships.
Next
Check the error code reference, or get an API key to try the request against your own account.