{"uid":"cap_88rLda5NfB0FZgPKpzdwH","slug":"pro-api-coingecko-com-56539f21","name":"CoinGecko Onchain Token Price (Base Network)","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/:address","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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/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_7VOkn8aLcsnYXlMXMMJFX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time DEX token price and market data for a given token contract address on the Base network via CoinGecko's onchain data.","exampleAgentPrompt":"What's the current onchain price, 24-hour volume, and market cap for the token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base network using CoinGecko?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the token's current USD price fetched from onchain DEX data on Base, along with optional fields such as 24-hour trading volume, market capitalization, 24-hour price change percentage, and total reserve in USD — all sourced from CoinGecko's onchain data index.","failureModes":["Invalid or unrecognized contract address returns empty or null price data","Token not indexed by CoinGecko onchain data returns 404 or empty result","Rate limit exceeded returns 429 Too Many Requests","Missing required address path parameter returns 400 Bad Request","Network outage or CoinGecko API downtime returns 503"],"whenToPreferThis":"Use this endpoint when you need live onchain DEX-sourced token prices on the Base network by contract address, especially for tokens that may not be listed on centralized exchanges. Prefer this over CoinGecko's standard coin price endpoint when you have a contract address rather than a coin ID, or when you need DEX-level granularity like reserve data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:14.658Z","isFirstParty":false}