{"uid":"cap_WYNbsP3nBttdXMnb_YU2A","slug":"pro-api-coingecko-com-0baad731","name":"CoinGecko Onchain DEX Token Price — Base Network (Ethereum Token)","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/ethereum","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_OQE9wo1E5ezYu-bGiDscc","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 onchain DEX price and market data for an Ethereum token contract address on the Base network via CoinGecko's GeckoTerminal data.","exampleAgentPrompt":"What's the current onchain DEX price for the Ethereum token contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA0291 on the Base network? Also include the 24-hour volume, market cap, and price change.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the onchain token price in USD (and optionally fiat), plus optional fields: 24-hour trading volume, market capitalization, 24-hour price change percentage, and total reserve in USD — all sourced from DEX liquidity pools on the Base network.","failureModes":["Token contract address not found on Base network — returns empty or null price data","Invalid contract address format — returns 400 or empty response","Token is inactive and include_inactive_source not set — missing price data","Rate limit exceeded on pro API — returns 429 Too Many Requests","Payment not processed (x402) — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX price data for a specific token contract address on the Coinbase Base network, especially when the token may not be listed on centralized exchanges. Prefer over CoinGecko's standard /simple/price endpoint when the token is only traded onchain via DEXes and you have a contract address rather than a CoinGecko coin ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:52.497Z","isFirstParty":false}