GET /quote/{chain}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/dextools/quote/{chain}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Spot USD derived token prices on one network for one or more comma-separated token addresses.

Parameters

nameintypedescription
chainpathstrrequiredNetwork name or alias (ethereum, eth, matic, 137, solana, …)
example: ethereum
tokensquerystrrequiredComma-separated token contract addresses.
example: 0x6982508145454ce325ddbe47a25d4ec3d2311933

Response

type: object
pagination: none
sample: {
  "statusCode": "int",
  "data": "object"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/dextools/quote/ethereum?tokens=0x6982508145454ce325ddbe47a25d4ec3d2311933"