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.

GET/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>"
Parameters
ParameterDescription
limit

query · 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.
symbol

path · 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.

Response fields of One ETF's daily price, net asset value and premium over time
FieldTypeDescription
tickerstringThe fund's ticker, upper-cased.
namestring | nullThe fund's name. null when not stated.
daysobject[]Oldest first.
days[].datestringThe trading day, YYYY-MM-DD (UTC).
days[].atintegerThe start of that day, unix seconds (UTC).
days[].marketPriceUsdnumber | nullThe share's closing price, US dollars. null when not stated.
days[].navUsdnumber | nullThe net asset value per share, US dollars. null when not stated.
days[].premiumDiscountPctnumber | nullHow far the share price stood above (positive) or below (negative) the net asset value, percent. null when not stated.
days[].sharesOutstandingnumber | nullShares outstanding. null when not stated.
days[].netAssetsUsdnumber | nullThe fund's net assets, US dollars. null when not stated.
days[].holdingsnumber | nullCoins 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