ETFs API
One ETF's daily price, net asset value and premium over time
Day by day for one crypto ETF such as IBIT or ETHA: share price, net asset value per share, premium or discount, shares outstanding, net assets and coins held.
/api/external/etf/etf-history/{symbol}What it returns
One US crypto exchange-traded fund, day by day: its closing share price, net asset value per share, the premium (positive) or discount (negative) between them, shares outstanding, net assets and the coins it holds. Oldest first, the newest limit days. A fund's history can have gaps and can end well before today; date says which day each figure is for. Not scoped to any chain. A ticker no tracked fund has answers 404.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/etf/etf-history/<symbol>"
| Parameter | Description |
|---|---|
limitquery · integer · optional | How many of the most recent days to return, 1 to 1000. Defaults to 90. Fewer come back when the fund's history is shorter. |
symbolpath · string · required | The fund's exchange ticker, e.g. "IBIT", "GBTC" or "ETHA" — as etfs lists them. Case-insensitive. Not the coin ticker the fund holds. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
ticker | string | The fund's ticker, upper-cased. |
name | string | null | The fund's name. null when not stated. |
days | object[] | Oldest first. |
days[].date | string | The trading day, YYYY-MM-DD (UTC). |
days[].at | integer | The start of that day, unix seconds (UTC). |
days[].marketPriceUsd | number | null | The share's closing price, US dollars. null when not stated. |
days[].navUsd | number | null | The net asset value per share, US dollars. null when not stated. |
days[].premiumDiscountPct | number | null | How far the share price stood above (positive) or below (negative) the net asset value, percent. null when not stated. |
days[].sharesOutstanding | number | null | Shares outstanding. null when not stated. |
days[].netAssetsUsd | number | null | The fund's net assets, US dollars. null when not stated. |
days[].holdings | number | null | Coins the fund held, in the coin it holds (BTC for a bitcoin fund, ETH for an ether fund). null when not stated. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key