{"uid":"cap_yB1PVQ6xbaDtV1fmG1j-U","slug":"coingecko-onchain-dex-token-price-base-network-multi-token-75f5dc5b","name":"CoinGecko Onchain DEX Token Price – Base Network (Multi-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/0x4200000000000000000000000000000000000006,0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x9b5e262cf9bb04869ab40b19af91d2dc85761722,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b","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":{"query":"{\"input\": {\"type\": \"http\", \"method\": \"GET\", \"queryParams\": {\"include_24hr_vol\": true, \"include_market_cap\": true, \"include_24hr_price_change\": true, \"mcap_fdv_fallback\": true, \"include_inactive_source\": false, \"include_total_reserve_in_usd\": false}}, \"output\": {\"type\": \"object\", \"example\": {\"data\": {\"0x4200000000000000000000000000000000000006\": {\"price_usd\": 2500.50, \"volume_24h_usd\": 150000000, \"market_cap_usd\": 3000000000, \"price_change_24h_percent\": 2.5}, \"0x940181a94a35a4569e4529a3cdfb74e38fd98631\": {\"price_usd\": 0.85, \"volume_24h_usd\": 50000000, \"market_cap_usd\": 500000000, \"price_change_24h_percent\": -1.2}}}}}\""},"response":{"data":{"id":"fc6e7bbe-64d3-43cf-8085-1bd1e0b740cd","type":"simple_token_price","attributes":{"token_prices":{"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"0.000465638117780285","0x4200000000000000000000000000000000000006":"1741.52","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.461276530718465","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.0369501658173283","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.8642264589553"}}}}},"exampleRequest":{"query":"{\"input\": {\"type\": \"http\", \"method\": \"GET\", \"queryParams\": {\"include_24hr_vol\": true, \"include_market_cap\": true, \"include_24hr_price_change\": true, \"mcap_fdv_fallback\": true, \"include_inactive_source\": false, \"include_total_reserve_in_usd\": false}}, \"output\": {\"type\": \"object\", \"example\": {\"data\": {\"0x4200000000000000000000000000000000000006\": {\"price_usd\": 2500.50, \"volume_24h_usd\": 150000000, \"market_cap_usd\": 3000000000, \"price_change_24h_percent\": 2.5}, \"0x940181a94a35a4569e4529a3cdfb74e38fd98631\": {\"price_usd\": 0.85, \"volume_24h_usd\": 50000000, \"market_cap_usd\": 500000000, \"price_change_24h_percent\": -1.2}}}}}\""},"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_fGILNYu9_kTrC5sXXmOri","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 onchain DEX price and market data for multiple token contract addresses on the Base network via CoinGecko's GeckoTerminal data.","exampleAgentPrompt":"What are the current onchain DEX prices, 24-hour volume, market caps, and 24-hour price changes for these Base network tokens: WETH (0x4200000000000000000000000000000000000006), AERO (0x940181a94a35a4569e4529a3cdfb74e38fd98631), and a few others by contract address?","exampleUseCases":null,"resultDescription":"A JSON object keyed by contract address, each containing the token's current USD price sourced from onchain DEX pools, and optionally 24-hour volume, market cap, 24-hour price change percentage, total reserve in USD, and FDV depending on the query parameters supplied.","failureModes":["Invalid or unrecognized contract address returns missing or null entry for that token","Unsupported network identifier returns 404 or empty result","Token with no active DEX pool liquidity may return no price data unless include_inactive_source is set","Rate limiting or payment failure returns 402 or 429 error","Malformed contract address format causes 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need real-time onchain DEX price data for one or more tokens on the Base network identified by contract address, especially when you want supplementary market metrics like volume, market cap, price change, or reserve data in a single call. Prefer this over CEX-based price endpoints when the token is primarily traded onchain or is a newer DeFi token not listed on centralized exchanges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:34.991Z","isFirstParty":false}