{"uid":"cap_9lew1tUj34U7aVUBMbwQo","slug":"coingecko-onchain-dex-token-price-market-data-base-network-5c16bff3","name":"CoinGecko Onchain DEX Token Price & Market Data (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/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0xc0634090f2fe6c6d75e61be2b949464abb498973,0x9b5e262cf9bb04869ab40b19af91d2dc85761722","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":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_24hr_vol":true,"mcap_fdv_fallback":false,"include_market_cap":true,"include_inactive_source":false,"include_24hr_price_change":true,"include_total_reserve_in_usd":false}},"output":{"type":"object","example":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":{"usd":0},"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":{"usd":0},"0x9b5e262cf9bb04869ab40b19af91d2dc85761722":{"usd":0},"0xc0634090f2fe6c6d75e61be2b949464abb498973":{"usd":0}}}},"response":{"data":{"id":"1d4401e8-c4b3-4bd5-8e23-49de8f549338","type":"simple_token_price","attributes":{"token_prices":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"0.602857822697879","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"0.000465638117780285","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.0369501658173283","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.149857952772638"},"h24_volume_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"14056976.8889089","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"478986.164624658","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"1218956.62424853","0xc0634090f2fe6c6d75e61be2b949464abb498973":"590308.917856563"},"market_cap_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"396112296.5695241","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"46563811.778028496","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"81231963.43524069","0xc0634090f2fe6c6d75e61be2b949464abb498973":"83059499.87961274"},"h24_price_change_percentage":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"-4.412822571947231","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"-1.9089210685202622","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.7822634157","0xc0634090f2fe6c6d75e61be2b949464abb498973":"-5.176212331016617"}}}}},"exampleRequest":{"include_24hr_vol":true,"mcap_fdv_fallback":false,"include_market_cap":true,"include_inactive_source":false,"include_24hr_price_change":true,"include_total_reserve_in_usd":false},"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_Jo7STjs8fKpMlMS2tE1q6","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 price and market data for one or more token contract addresses on the Base network using CoinGecko's onchain data feed.","exampleAgentPrompt":"What are the current onchain prices and 24-hour price changes for these four Base network tokens: 0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b, 0x22af33fe49fd1fa80c7149773dde5890d3c76f3b, 0xc0634090f2fe6c6d75e61be2b949464abb498973, and 0x9b5e262cf9bb04869ab40b19af91d2dc85761722?","exampleUseCases":null,"resultDescription":"Returns a JSON object mapping each token contract address to its current USD price, and optionally 24hr trading volume, market cap, 24hr price change percentage, and total reserve in USD as observed from onchain DEX data on the Base network.","failureModes":["Invalid or unrecognized contract address returns empty or null data for that token","Unsupported network returns 404 or empty response","Too many contract addresses in one request may result in truncated or error response","Rate limit exceeded returns 429 error","Token with no DEX liquidity returns null price"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX prices for tokens on the Base network by contract address, especially for tokens that may not appear in CoinGecko's centralized exchange listings. Ideal for DeFi agents needing fresh price data without relying on CEX feeds. Supports batch lookups for multiple contracts in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:17.771Z","isFirstParty":false}