Query onchain DEX token price & market data based on the provided token contract
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
Answeringour last check, 2026-10-25
1 of 1checks answered this week
243 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/:network/token_price/:addresses
| Category | Market data |
|---|---|
| Provider host | pro-api.coingecko.com |
| Networks | eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-25 | valid payment request | 402 | $0.005 | 243 ms |
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"addresses": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"network": "eth"
},
"queryParams": {
"include_24hr_price_change": true,
"include_24hr_vol": true,
"include_inactive_source": true,
"include_market_cap": true,
"include_total_reserve_in_usd": true,
"mcap_fdv_fallback": true
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"addresses": {
"type": "string"
},
"network": {
"type": "string"
}
},
"required": [
"network",
"addresses"
],
"type": "object"
},
"queryParams": {
"properties": {
"include_24hr_price_change": {
"type": "boolean"
},
"include_24hr_vol": {
"type": "boolean"
},
"include_inactive_source": {
"type": "boolean"
},
"include_market_cap": {
"type": "boolean"
},
"include_total_reserve_in_usd": {
"type": "boolean"
},
"mcap_fdv_fallback": {
"type": "boolean"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"attributes": {
"properties": {
"h24_price_change_percentage": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"h24_volume_usd": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"last_trade_timestamp": {
"additionalProperties": {
"type": "integer"
},
"type": "object"
},
"market_cap_usd": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"token_prices": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"total_reserve_in_usd": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"token_prices"
],
"type": "object"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"attributes"
],
"type": "object"
}
},
"required": [
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}