{"uid":"cap_lvz_y6gXSTGtA7vRLyrtW","slug":"pro-api-coingecko-com-3390ede3","name":"CoinGecko Pro Onchain Token Price — Base Network (Contract 0x001075b9...)","description":"Query onchain DEX token price & market data based on the provided token contract addresses on a network.","url":"https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x001075b96b0505d14e0e2f338d79b32c7d875b3b","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"include_24hr_vol":{"type":"boolean"},"mcap_fdv_fallback":{"type":"boolean"},"include_market_cap":{"type":"boolean"},"include_inactive_source":{"type":"boolean"},"include_24hr_price_change":{"type":"boolean"},"include_total_reserve_in_usd":{"type":"boolean"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","type","attributes"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"attributes":{"type":"object","required":["token_prices","h24_volume_usd","market_cap_usd","h24_price_change_percentage"],"properties":{"token_prices":{"type":"object","required":["0x001075b96b0505d14e0e2f338d79b32c7d875b3b"],"properties":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":{"type":"null"}}},"h24_volume_usd":{"type":"object","required":["0x001075b96b0505d14e0e2f338d79b32c7d875b3b"],"properties":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":{"type":"string"}}},"market_cap_usd":{"type":"object","required":["0x001075b96b0505d14e0e2f338d79b32c7d875b3b"],"properties":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":{"type":"null"}}},"h24_price_change_percentage":{"type":"object","required":["0x001075b96b0505d14e0e2f338d79b32c7d875b3b"],"properties":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":{"type":"string"}}}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_24hr_vol":true,"include_market_cap":true,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":{"usd":0,"usd_24h_vol":0,"usd_24h_change":0,"usd_market_cap":0}}}},"response":{"data":{"id":"2807cbeb-882b-4d8b-b545-e71121628ea8","type":"simple_token_price","attributes":{"token_prices":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":null},"h24_volume_usd":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":"0.0"},"market_cap_usd":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":null},"h24_price_change_percentage":{"0x001075b96b0505d14e0e2f338d79b32c7d875b3b":""}}}}},"exampleRequest":{"include_24hr_vol":true,"include_market_cap":true,"include_24hr_price_change":true},"tags":["x402"],"displayCostAmount":"0.010000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.010000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3qRcj5uLd1IQe4ApN-txF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns onchain DEX price and market data for a specific token contract address on the Base network via CoinGecko Pro.","exampleAgentPrompt":"What's the current onchain price, 24-hour volume, and market cap for the token at contract address 0x001075b96b0505d14e0e2f338d79b32c7d875b3b on the Base network?","exampleUseCases":null,"resultDescription":"Returns onchain DEX price and optional market data fields (24hr volume, market cap, 24hr price change, total reserve in USD, inactive source data) for the specified token contract on Base, sourced from CoinGecko's Pro API.","failureModes":["Token contract address not found on Base — returns empty or null data","Invalid or unsupported network — 404 or error response","Payment not completed — 402 Payment Required before data is returned","Rate limit exceeded — 429 Too Many Requests","Inactive or low-liquidity token with no recent DEX trades — sparse or missing market data"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX price and market data for a specific token on the Coinbase Base network and you have the token's contract address. Prefer it over CoinGecko's off-chain simple price endpoint when you want DEX-native pricing and reserve data rather than aggregated exchange prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:52:03.765Z","isFirstParty":false}