Discovery and markets API

Which on-chain narratives are trending right now?

The sectors (cat, ai, x402, trump…) trading hardest right now by an activity-based ranking, with their combined market cap, liquidity, 24h volume and 5m/1h/6h/24h market-cap moves.

GET/api/external/discovery/trending-sectors

What it returns

The on-chain narratives trading hardest right now — cat, ai, x402, trump — ranked by an activity-based measure, each with the combined market cap, liquidity and 24h volume of its tokens and how its market cap moved over the last 5 minutes, hour, 6 hours and day, in percent and in USD. This is not the market-cap sector directory `sectors` publishes: the list is short, turns over as attention moves, and its ids are a different id space. Pass an id to trending-sector-tokens for the tokens behind one sector.

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/discovery/trending-sectors"

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Which on-chain narratives are trending right now?
FieldTypeDescription
countintegerHow many sectors are trending, the whole list.
sectorsobject[]Most active first.
sectors[].rankintegerPosition in the activity-based ranking, 1 = most active right now.
sectors[].idstringThe sector id, e.g. cat or x402 — what trending-sector-tokens takes. Not a market-sector id (sectors) or an on-chain sector id (sector-pools): the three id spaces do not overlap.
sectors[].namestring | nullDisplay name of the sector, e.g. Cat.
sectors[].marketCapUsdnumber | nullSum of the sector's tokens' market caps, in USD.
sectors[].liquidityUsdnumber | nullLiquidity across the sector's tokens, in USD.
sectors[].volume24hUsdnumber | nullTrailing 24h traded volume across the sector's tokens, in USD.
sectors[].tokenCountinteger | nullHow many tokens the sector files right now, on every chain.
sectors[].marketCapChangePctobjectChange of the sector's market cap in PERCENT over each window.
sectors[].marketCapChangePct.m5number | nullOver the last 5 minutes, in percent (0.62 = +0.62 %).
sectors[].marketCapChangePct.h1number | nullOver the last hour, in percent (0.62 = +0.62 %).
sectors[].marketCapChangePct.h6number | nullOver the last 6 hours, in percent (0.62 = +0.62 %).
sectors[].marketCapChangePct.h24number | nullOver the last 24 hours, in percent (0.62 = +0.62 %).
sectors[].marketCapChangeUsdobjectChange of the sector's market cap in USD over each window.
sectors[].marketCapChangeUsd.m5number | nullOver the last 5 minutes, in USD.
sectors[].marketCapChangeUsd.h1number | nullOver the last hour, in USD.
sectors[].marketCapChangeUsd.h6number | nullOver the last 6 hours, in USD.
sectors[].marketCapChangeUsd.h24number | nullOver the last 24 hours, in USD.

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