DeFi
Token prices by contract (multi-chain) API
Current USD prices for tokens by 'chain:address' across many chains (DefiLlama). Use when you have a contract address, not a ticker. Answers 'price of this token contract', 'USD value of this token on Base'.
Price$0.01per request
MethodPOST
Route/v1/defi/coin-prices
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache120s public
defipricetokenmultichaincontractdefillama
API URL
Integration docshttps://x402.hexl.dev/v1/defi/coin-pricesExample request
{
"coins": [
"ethereum:0xC02aaa39b223FE8D0A0e5C4F27eAD9083C756Cc2"
]
}Example response
{
"count": 1,
"prices": [
{
"coin": "ethereum:0xC02aaa39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"priceUsd": 1860.5,
"decimals": 18,
"confidence": 0.99
}
]
}Input schema
{
"type": "object",
"required": [
"coins"
],
"properties": {
"coins": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"examples": [
[
"ethereum:0xC02aaa39b223FE8D0A0e5C4F27eAD9083C756Cc2"
]
]
}
}
}Output schema
{
"type": "object",
"required": [
"count",
"prices"
],
"properties": {
"count": {
"type": "number"
},
"prices": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}