Discovery and markets API

Which price oracles does DeFi rely on, and which protocols use each?

Price oracles ranked by the DeFi value they secure today in USD (Chainlink, Pyth, RedStone and more), each with the protocols it secures, across every chain or on one.

GET/api/external/discovery/oracles

What it returns

Every price oracle ranked by the DeFi value it secures today (the value locked in the protocols relying on it, in USD), each with the protocols it secures, most value first: the top ten, or every one when oracle names it. Across every chain, or on the one in chain. A protocol relying on two oracles appears under both, each with its own part of the value; Internal and TWAP are protocols pricing themselves. Borrowed, staked, pool2 and vesting value are not counted. chains and chainCount describe where the oracle secures anything, whatever chain is. On a chain no oracle secures anything on (STABLE today), oracles is empty.

Chains

  • Solana SOL
  • Ethereum ETH
  • BNB Chain BNB
  • Base BASE
  • Stable STABLE
  • Robinhood Chain RHC
  • Arc ARC

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/oracles"
Parameters
ParameterDescription
oracle

query · string · optional

Only this oracle network, with every protocol it secures. Omit for every oracle.chainlinkchronicleredstonepythchaosumastorksupraeoracleswitchboarddiaband
chain

query · string · optional

Only the value secured on this chain. Omit for every chain.

Response fields

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

Response fields of Which price oracles does DeFi rely on, and which protocols use each?
FieldTypeDescription
oraclestring | nullThe oracle asked about, or null for every oracle.
chainstring | nullThe chain asked about, or null for every chain.
totalUsdnumberThe value every oracle secures in the scope, whichever oracle was asked about.
oraclesobject[]Most value first.
oracles[].namestringThe oracle network.
oracles[].usdnumberThe value it secures in the scope, in USD.
oracles[].protocolCountintegerHow many protocols it secures in the scope.
oracles[].protocolsobject[]Most value first: the top ten, or every one when this oracle was asked about.
oracles[].protocols[].namestringThe protocol.
oracles[].protocols[].usdnumberThe value the oracle secures on it in the scope, in USD.
oracles[].chainsstring[]The chains served here that it secures any protocol on.
oracles[].chainCountintegerHow many chains it secures any protocol on, served here or not.

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