API documentation

ETF Llama API

Programmatic access to the spot crypto ETF and physically backed ETP data published on ETF Llama: latest AUM, fees, NAV, prices and shares outstanding for every tracked product, and daily flow estimates by asset and by fund.

Base URLhttps://etfllama.com/api/v1

All endpoints are read-only GET requests returning JSON. Every request needs an API key. Keys are issued by ETF Llama: write to contact [@] etfllama [.] com to request one.

Quick start

Shell
export ETFLLAMA_API_KEY="etfl_your_key"
curl -H "X-API-Key: $ETFLLAMA_API_KEY" https://etfllama.com/api/v1/etfs/snapshot

Authentication

Send your key with every request, in one of these ways. The header forms are recommended because URLs can appear in logs and browser history.

MethodExample
Header (recommended)X-API-Key: etfl_…
Bearer tokenAuthorization: Bearer etfl_…
Key in the pathhttps://etfllama.com/api/etfl_…/etfs/snapshot

Keys start with etfl_. Keep them secret: do not embed them in public web pages or repositories. If a key is exposed, ask for it to be rotated; the old key stops working immediately. Browser requests are allowed (CORS), but a key used in client-side code is visible to your visitors.

DefiLlama compatibility

The snapshot and flows endpoints return the same JSON shape as the DefiLlama Pro API /etfs/snapshot and /etfs/flows endpoints, and accept the same URL form with the key in the path. To switch an existing integration, replace the base URL:

DefiLlama Pro APIETF Llama
https://pro-api.llama.fi/{API_KEY}/etfs/snapshothttps://etfllama.com/api/{API_KEY}/etfs/snapshot
https://pro-api.llama.fi/{API_KEY}/etfs/flowshttps://etfllama.com/api/{API_KEY}/etfs/flows
https://pro-api.llama.fi/usage/{API_KEY}https://etfllama.com/api/usage/{API_KEY}

Differences to expect:

  • Coverage is worldwide: US, European, Swiss, Canadian, Asian and other listings, and more than 80 underlying assets, not only Bitcoin and Ethereum.
  • custodian and volume are not tracked yet and are always null.
  • asset is an ETF Llama slug such as bitcoin, ethereum or xrp; the CoinGecko ID is in gecko_id. Multi-asset products use multi and a null CoinGecko ID.
  • In the field tables below, fields with the DefiLlama label follow the DefiLlama format; the others are additional ETF Llama data, placed after them. JSON clients that ignore unknown fields are unaffected.

ETF Llama is an independent project, not affiliated with DefiLlama. Compatibility refers to the response format only.

Rate limits and quotas

Each key has a limit of requests per rolling 60 seconds (60 unless agreed otherwise) and may have a monthly request quota, which resets at the start of each UTC calendar month. Every response reports the current state in headers:

HeaderMeaning
X-RateLimit-LimitRequests allowed per 60 seconds.
X-RateLimit-RemainingRequests left in the current 60-second window.
X-Quota-Limit, X-Quota-RemainingMonthly quota and requests left; sent only when the key has a quota.
Retry-AfterWith a 429 response: seconds to wait before retrying.

Data changes once per trading day, so polling more often than every hour brings no new information. Check a key's limits and usage at any time with GET /usage, which does not use the monthly quota.

Errors

Errors use standard HTTP status codes and a JSON body:

{
    "error": "Rate limit of 60 requests per minute exceeded.",
    "code": "rate_limited",
    "status": 429
}
StatusCodeMeaning
401missing_api_keyNo API key was sent.
401invalid_api_keyThe key is unknown or malformed.
403revoked_api_keyThe key was revoked.
403expired_api_keyThe key has passed its expiry date.
429rate_limitedToo many requests in the last 60 seconds. Wait for Retry-After seconds.
429quota_exceededThe monthly request quota is used up. It resets at the start of the next UTC month.
503unavailableData is temporarily unavailable. Retry later.
404etf_not_foundNo published product matches the reference.
409ambiguous_tickerSeveral products share this ticker; the response lists them in matches. Retry with an etf_id.
400invalid_parameterdays is outside 1–3650.
404not_foundUnknown endpoint.

About the data

  • Figures are collected from issuer product pages once per trading day, around 04:15 UTC from Tuesday to Saturday, and published as collected. API responses are cached for up to one hour.
  • Flows are estimates, calculated from changes in issuer-published shares outstanding valued at the NAV of the order session. They are not official issuer flow reports. null means no reliable estimate is available; it is not zero. Totals include available estimates only.
  • Flow dates are economic (trade or valuation) dates from 30 September 2026; earlier estimates are dated by collection day. Timestamps are UTC.
  • USD values are converted from the reporting currency with daily exchange rates.
  • Tickers are not unique worldwide. Use etf_id to identify a product: it is stable across collections.
  • Use of the data is subject to your agreement with ETF Llama and the data usage policy. The data is informational and is not investment advice.

ETF snapshotDefiLlama format

GET/api/v1/etfs/snapshot

Every published spot crypto ETF and physically backed ETP with its latest collected figures, sorted by AUM in USD (largest first). The first eleven fields follow the DefiLlama /etfs/snapshot format; the others are additional ETF Llama data.

Response (array of objects)

FieldTypeDescription
tickerDefiLlama string | null Exchange ticker. Not unique worldwide: use etf_id to identify a product.
timestampDefiLlama integer | null Unix time (seconds, UTC) of the latest collection for this ETF.
assetDefiLlama string | null Underlying asset slug, for example bitcoin, ethereum or xrp; multi for multi-asset products.
issuerDefiLlama string | null Issuer name.
etf_nameDefiLlama string | null Full product name.
custodianDefiLlama string | null Not tracked yet: always null.
pct_feeDefiLlama number | null Annual fee in percent (0.25 means 0.25%), as published by the issuer.
urlDefiLlama string | null Issuer product page.
flowsDefiLlama number | null Latest estimated daily net flow in USD, for the date in flows_date. null when unavailable; null is not zero.
aumDefiLlama number | null Assets under management in USD.
volumeDefiLlama number | null Trading volume is not tracked yet: always null.
etf_id string Stable ETF Llama identifier (12 hexadecimal characters). Use it for the per-ETF endpoints.
isin string | null ISIN, or CUSIP for some US funds.
gecko_id string | null CoinGecko ID of the underlying asset; null for multi-asset products.
asset_name string | null Underlying asset name, for example Bitcoin.
domicile string | null Country of domicile.
region string Region of domicile: US, EU, UK, CH, CA, Asia or Other.
aum_native number | null AUM in the fund's reporting currency.
aum_currency string | null Currency of aum_native.
aum_date string | null Issuer valuation date of the AUM (YYYY-MM-DD), when published.
aum_status string | null reported, calculated (shares × NAV), corrected (replaced after a consistency check) or derived.
nav number | null Net asset value per share.
nav_currency string | null Currency of nav.
nav_usd number | null NAV per share in USD.
nav_date string | null Issuer valuation date of the NAV, when published.
price number | null Market price per share.
price_currency string | null Currency of price.
price_usd number | null Market price in USD.
shares_outstanding integer | null Shares outstanding.
shares_date string | null Issuer date of the share count, when published.
shares_status string | null reported, calculated, corrected or derived.
coin_per_share number | null Units of the underlying asset per share, when published.
flows_date string | null Economic date of the flows value (YYYY-MM-DD).
flows_7d number | null Sum of available daily estimates over the 7 calendar days ending flows_period_end, in USD.
flows_30d number | null Sum of available daily estimates over the 30 calendar days ending flows_period_end, in USD.
flows_period_end string | null Common end date of the 7D and 30D periods across all ETFs.
flows_confidence string | null Confidence of the latest daily estimate: high or medium; null when unavailable.
collected_at string | null Latest collection time (ISO 8601, UTC).
curl -H "X-API-Key: $ETFLLAMA_API_KEY" \
  "https://etfllama.com/api/v1/etfs/snapshot"
Example response · 200
[
    {
        "ticker": "IBIT",
        "timestamp": 1795580103,
        "asset": "bitcoin",
        "issuer": "iShares",
        "etf_name": "iShares Bitcoin Trust ETF",
        "custodian": null,
        "pct_fee": 0.25,
        "url": "https://www.ishares.com/us/products/333011/ishares-bitcoin-trust-etf",
        "flows": -509388544,
        "aum": 44827943873,
        "volume": null,
        "etf_id": "f9cfe0a70c88",
        "isin": "46438F101",
        "gecko_id": "bitcoin",
        "asset_name": "Bitcoin",
        "domicile": "United States",
        "region": "US",
        "aum_native": 44827943873,
        "aum_currency": "USD",
        "aum_date": "2026-11-24",
        "aum_status": "reported",
        "nav": 33.7152,
        "nav_currency": "USD",
        "nav_usd": 33.7152,
        "nav_date": "2026-11-24",
        "price": 34.62,
        "price_currency": "USD",
        "price_usd": 34.62,
        "shares_outstanding": 1329760000,
        "shares_date": "2026-11-24",
        "shares_status": "reported",
        "coin_per_share": null,
        "flows_date": "2026-11-23",
        "flows_7d": -1919241200,
        "flows_30d": -3993686784,
        "flows_period_end": "2026-11-25",
        "flows_confidence": "high",
        "collected_at": "2026-11-25T04:15:03Z"
    }
]
200401403429503
Try it
 

Historical flows by assetDefiLlama format

GET/api/v1/etfs/flows

Daily estimated net flows summed across all published ETFs of each underlying asset, from the first available day (February 2026). Without parameters the response follows the DefiLlama /etfs/flows format, with three additional fields per row. Unavailable ETF estimates are left out of the sums rather than counted as zero: etf_count shows how many ETFs contributed.

Parameters

NameTypeDescription
asset
query
string Only these assets: slug, CoinGecko ID or name, comma-separated (up to 50). e.g. bitcoin,ethereum
start
query
string First day to include (YYYY-MM-DD). e.g. 2026-11-01
end
query
string Last day to include (YYYY-MM-DD). e.g. 2026-11-30

Response (array of objects)

FieldTypeDescription
gecko_idDefiLlama string | null CoinGecko ID of the asset; null for multi-asset products.
dayDefiLlama string Flow date at midnight UTC (ISO 8601). From 30 September 2026 this is the economic (trade or valuation) date; earlier rows use the collection day.
total_flow_usdDefiLlama number Sum of the available daily flow estimates for this asset, in USD.
asset string Asset slug, for example bitcoin; multi for multi-asset products.
asset_name string Asset name, for example Bitcoin.
etf_count integer Number of ETFs with an estimate included in the sum.
curl -H "X-API-Key: $ETFLLAMA_API_KEY" \
  "https://etfllama.com/api/v1/etfs/flows?asset=bitcoin%2Cethereum&start=2026-11-01"
Example response · 200
[
    {
        "gecko_id": "bitcoin",
        "day": "2026-11-24T00:00:00.000Z",
        "total_flow_usd": -207878537.25,
        "asset": "bitcoin",
        "asset_name": "Bitcoin",
        "etf_count": 25
    },
    {
        "gecko_id": "ethereum",
        "day": "2026-11-24T00:00:00.000Z",
        "total_flow_usd": -69180102.56,
        "asset": "ethereum",
        "asset_name": "Ethereum",
        "etf_count": 20
    }
]
200400401403429503
Try it
 

Daily flows for one ETF

GET/api/v1/etfs/{etf}/flows

Daily estimated net flows for one product, including days without an estimate and the reason. The 7D and 30D totals end on this ETF's latest flow date (coverage_7d.end_date), so they can differ from the snapshot totals, which use a common end date for all ETFs.

Parameters

NameTypeDescription
etfrequired
path
string etf_id (recommended), ISIN/CUSIP or ticker. Tickers are not unique worldwide: an ambiguous ticker returns 409 with the matching products. e.g. f9cfe0a70c88
days
query
integer Calendar days of daily rows, counted back from the latest flow date (1–3650, default 365). Totals always use 7 and 30 days. e.g. 30

Response (object)

FieldTypeDescription
etf_id string Stable ETF Llama identifier (12 hexadecimal characters).
ticker string | null Exchange ticker.
etf_name string | null Full product name.
issuer string | null Issuer name.
isin string | null ISIN, or CUSIP for some US funds.
asset string | null Underlying asset slug, for example bitcoin or xrp; multi for multi-asset products.
gecko_id string | null CoinGecko ID of the underlying asset; null for multi-asset products.
days integer Requested number of days.
flows_1d number | null Latest daily estimate in USD.
flows_1d_date string | null Date of flows_1d.
flows_7d number | null Sum of available estimates over 7 calendar days, in USD.
flows_30d number | null Sum of available estimates over 30 calendar days, in USD.
coverage_7d object | null Sessions covered by flows_7d.
coverage_7d.start_date string | null First calendar day of the period (YYYY-MM-DD).
coverage_7d.end_date string | null Last calendar day of the period (YYYY-MM-DD).
coverage_7d.available_sessions integer Sessions with an available estimate.
coverage_7d.expected_sessions integer | null Trading sessions expected from the official market calendar; null when no calendar is configured for this market.
coverage_7d.missing_sessions integer | null Expected sessions without an estimate; null when unknown.
coverage_7d.missing_dates string[] Dates of the missing sessions.
coverage_7d.calendar_verified boolean Whether expected sessions come from an official exchange calendar.
coverage_7d.complete boolean True only when every expected session has an estimate.
coverage_30d object | null Sessions covered by flows_30d.
coverage_30d.start_date string | null First calendar day of the period (YYYY-MM-DD).
coverage_30d.end_date string | null Last calendar day of the period (YYYY-MM-DD).
coverage_30d.available_sessions integer Sessions with an available estimate.
coverage_30d.expected_sessions integer | null Trading sessions expected from the official market calendar; null when no calendar is configured for this market.
coverage_30d.missing_sessions integer | null Expected sessions without an estimate; null when unknown.
coverage_30d.missing_dates string[] Dates of the missing sessions.
coverage_30d.calendar_verified boolean Whether expected sessions come from an official exchange calendar.
coverage_30d.complete boolean True only when every expected session has an estimate.
daily object[] Daily rows, oldest first.
daily[].day string Economic flow date at midnight UTC (ISO 8601).
daily[].date string The same date as YYYY-MM-DD.
daily[].flow_usd number | null Estimated net flow in USD. null when unavailable (see method); null is not zero.
daily[].method string | null m2 = change in issuer-published shares × NAV of the order session; m1 = net assets ÷ NAV fallback. Other values give the reason no estimate is available, for example missing_baseline, missing_source_session, missing_order_nav, insufficient_source_precision or split_detected.
daily[].confidence string | null high or medium; null when no estimate is available or for older estimates.
daily[].uncertainty_usd number | null Rounding uncertainty propagated from the published figures, in USD.
daily[].date_basis string | null trade when the share count is assigned to the order session (T+1 publication), valuation otherwise.
daily[].source_date string | null Issuer publication date of the inputs (YYYY-MM-DD).
daily[].collected_date string | null Date ETF Llama collected the inputs (YYYY-MM-DD).
daily[].method_version integer 2 for estimates from dated issuer observations (from 30 September 2026); 1 for earlier estimates dated by collection day.
curl -H "X-API-Key: $ETFLLAMA_API_KEY" \
  "https://etfllama.com/api/v1/etfs/f9cfe0a70c88/flows?days=30"
Example response · 200
{
    "etf_id": "f9cfe0a70c88",
    "ticker": "IBIT",
    "etf_name": "iShares Bitcoin Trust ETF",
    "issuer": "iShares",
    "isin": "46438F101",
    "asset": "bitcoin",
    "gecko_id": "bitcoin",
    "days": 30,
    "flows_1d": -175319040,
    "flows_1d_date": "2026-11-24",
    "flows_7d": -1919241200,
    "flows_30d": -3993686784,
    "coverage_7d": {
        "start_date": "2026-11-18",
        "end_date": "2026-11-24",
        "available_sessions": 5,
        "expected_sessions": 5,
        "missing_sessions": 0,
        "missing_dates": [],
        "calendar_verified": true,
        "complete": true
    },
    "coverage_30d": {
        "start_date": "2026-10-26",
        "end_date": "2026-11-24",
        "available_sessions": 22,
        "expected_sessions": 22,
        "missing_sessions": 0,
        "missing_dates": [],
        "calendar_verified": true,
        "complete": true
    },
    "daily": [
        {
            "day": "2026-11-24T00:00:00.000Z",
            "date": "2026-11-24",
            "flow_usd": -175319040,
            "method": "m2",
            "confidence": "medium",
            "uncertainty_usd": 260,
            "date_basis": "trade",
            "source_date": "2026-11-25",
            "collected_date": "2026-11-26",
            "method_version": 2
        }
    ]
}
200400401403404409429503
Try it
 

Daily history for one ETF

GET/api/v1/etfs/{etf}/history

One row per collection day (the latest collection of that day), oldest first. Values are stored exactly as collected: a missing AUM stays null.

Parameters

NameTypeDescription
etfrequired
path
string etf_id (recommended), ISIN/CUSIP or ticker. Tickers are not unique worldwide: an ambiguous ticker returns 409 with the matching products. e.g. f9cfe0a70c88
days
query
integer Calendar days of history up to today (1–3650, default 30). e.g. 90

Response (object)

FieldTypeDescription
etf_id string Stable ETF Llama identifier (12 hexadecimal characters).
ticker string | null Exchange ticker.
etf_name string | null Full product name.
issuer string | null Issuer name.
isin string | null ISIN, or CUSIP for some US funds.
asset string | null Underlying asset slug, for example bitcoin or xrp; multi for multi-asset products.
gecko_id string | null CoinGecko ID of the underlying asset; null for multi-asset products.
days integer Requested number of days.
history object[] Daily rows, oldest first.
history[].date string Collection day (YYYY-MM-DD, UTC). One row per day: the latest collection.
history[].collected_at string Collection time (ISO 8601, UTC).
history[].aum number | null Assets under management in USD. null when not published that day (never carried forward).
history[].aum_native number | null AUM in the reporting currency.
history[].aum_currency string | null Currency of aum_native.
history[].aum_date string | null Issuer valuation date of the AUM.
history[].aum_status string | null reported, calculated, corrected or derived.
history[].nav number | null Net asset value per share.
history[].nav_currency string | null Currency of nav.
history[].nav_usd number | null NAV per share in USD.
history[].nav_date string | null Issuer valuation date of the NAV.
history[].price number | null Market price per share.
history[].price_currency string | null Currency of price.
history[].price_usd number | null Market price in USD.
history[].shares_outstanding integer | null Shares outstanding.
history[].shares_date string | null Issuer date of the share count.
history[].shares_status string | null reported, calculated, corrected or derived.
history[].pct_fee number | null Annual fee in percent.
curl -H "X-API-Key: $ETFLLAMA_API_KEY" \
  "https://etfllama.com/api/v1/etfs/f9cfe0a70c88/history?days=90"
Example response · 200
{
    "etf_id": "f9cfe0a70c88",
    "ticker": "IBIT",
    "etf_name": "iShares Bitcoin Trust ETF",
    "issuer": "iShares",
    "isin": "46438F101",
    "asset": "bitcoin",
    "gecko_id": "bitcoin",
    "days": 90,
    "history": [
        {
            "date": "2026-11-25",
            "collected_at": "2026-11-25T04:15:03Z",
            "aum": 44827943873,
            "aum_native": 44827943873,
            "aum_currency": "USD",
            "aum_date": "2026-11-24",
            "aum_status": "reported",
            "nav": 33.7152,
            "nav_currency": "USD",
            "nav_usd": 33.7152,
            "nav_date": "2026-11-24",
            "price": 34.62,
            "price_currency": "USD",
            "price_usd": 34.62,
            "shares_outstanding": 1329760000,
            "shares_date": "2026-11-24",
            "shares_status": "reported",
            "pct_fee": 0.25
        }
    ]
}
200400401403404409429503
Try it
 

Key usage

GET/api/v1/usage

Returns the limits and current usage of the key making the request. Calls to this endpoint count toward the per-minute rate limit but not toward the monthly quota. DefiLlama-style form: /api/usage/{API_KEY}.

Response (object)

FieldTypeDescription
creditsLeftDefiLlama integer | null Requests left this month; null when the key has no monthly quota.
name string Name given to the key.
key_prefix string First characters of the key, for identification.
status string active.
rate_limit_per_minute integer Maximum requests in any 60-second window.
monthly_quota integer | null Maximum requests per UTC calendar month; null means unlimited.
requests_this_month integer Requests counted toward the quota this month.
requests_last_24h integer All requests in the last 24 hours.
quota_resets_at string Start of the next UTC month (ISO 8601).
expires_at string | null Time after which the key stops working (ISO 8601); null means no expiry.
created_at string Creation time (ISO 8601).
curl -H "X-API-Key: $ETFLLAMA_API_KEY" \
  "https://etfllama.com/api/v1/usage"
Example response · 200
{
    "creditsLeft": 99877,
    "name": "Example client",
    "key_prefix": "etfl_3f9a2c1b",
    "status": "active",
    "rate_limit_per_minute": 60,
    "monthly_quota": 100000,
    "requests_this_month": 123,
    "requests_last_24h": 41,
    "quota_resets_at": "2026-12-01T00:00:00Z",
    "expires_at": null,
    "created_at": "2026-11-26T12:00:00Z"
}
200401403429503
Try it
 

OpenAPI specification

A machine-readable OpenAPI 3.0 description of every endpoint is available without a key, for client generators and API tools: