/defillama/prices
Get current token prices by ‘chain:address’ or ‘coingecko:slug’ identifiers (batch lookup)
Price: 1 credit
💡 AI Hint: Get current USD prices for one or more tokens, identified by ‘chain:address’ (e.g. an ERC-20 contract on Ethereum) or ‘coingecko:slug’. Returns price, token symbol, last-update timestamp, a confidence score, and on-chain decimals for each resolved token. Identifiers with no price data are omitted from the result.
⚠️ Common errors: 412: No price data found for any requested token
Authorizations
API token from the dashboard
Headers
Body
Token identifiers as 'chain:address' (e.g. 'ethereum:0xC02a...') or 'coingecko:slug' (e.g. 'coingecko:ethereum'). Accepts a list or a single comma-separated string.
1[
"ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"coingecko:bitcoin"
]"coingecko:ethereum,coingecko:bitcoin"
Max scrapping execution timeout (in seconds)
20 <= x <= 1500