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.
/api/external/discovery/oraclesWhat 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"
| Parameter | Description |
|---|---|
oraclequery · string · optional | Only this oracle network, with every protocol it secures. Omit for every oracle.chainlinkchronicleredstonepythchaosumastorksupraeoracleswitchboarddiaband |
chainquery · 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.
| Field | Type | Description |
|---|---|---|
oracle | string | null | The oracle asked about, or null for every oracle. |
chain | string | null | The chain asked about, or null for every chain. |
totalUsd | number | The value every oracle secures in the scope, whichever oracle was asked about. |
oracles | object[] | Most value first. |
oracles[].name | string | The oracle network. |
oracles[].usd | number | The value it secures in the scope, in USD. |
oracles[].protocolCount | integer | How many protocols it secures in the scope. |
oracles[].protocols | object[] | Most value first: the top ten, or every one when this oracle was asked about. |
oracles[].protocols[].name | string | The protocol. |
oracles[].protocols[].usd | number | The value the oracle secures on it in the scope, in USD. |
oracles[].chains | string[] | The chains served here that it secures any protocol on. |
oracles[].chainCount | integer | How 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