{"uid":"cap_3maF2LSQb3-Kem-B9yd2h","slug":"coingecko-9edf9cc9","name":"CoinGecko Onchain DEX Token Price & Market Data (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,0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x940181a94a35a4569e4529a3cdfb74e38fd98631,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0x95ccfd2b81a9667b0cc979992632f98fc853eba3,0x9b5e262cf9bb04869ab40b19af91d2dc85761722,0xed664536023d8e4b1640c394777d34abaff1df8f,0x9a26f5433671751c3276a065f57e5a02d2817973","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,"include_market_cap":true,"include_24hr_price_change":true}},"output":{"type":"object","example":{"data":{"0x4200000000000000000000000000000000000006":{"price_usd":2500.5,"market_cap_usd":30000000000,"volume_24h_usd":1500000000,"price_change_24h_percent":2.35},"0x940181a94a35a4569e4529a3cdfb74e38fd98631":{"price_usd":0.85,"market_cap_usd":500000000,"volume_24h_usd":50000000,"price_change_24h_percent":-1.2}}}}},"response":{"data":{"id":"1e1f62b1-f8e2-4f4a-b696-9c87bc3219b3","type":"simple_token_price","attributes":{"token_prices":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"0.711618716292662","0x4200000000000000000000000000000000000006":"2007.64","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.413968638269334","0x95ccfd2b81a9667b0cc979992632f98fc853eba3":"0.0000075815220109075","0x9a26f5433671751c3276a065f57e5a02d2817973":"0.000466997127252669","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.0488717479668344","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.79271514429","0xed664536023d8e4b1640c394777d34abaff1df8f":"0.24926661202371"},"h24_volume_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"21650491.9768749","0x4200000000000000000000000000000000000006":"598824745.692196","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"7805295.73785238","0x95ccfd2b81a9667b0cc979992632f98fc853eba3":"108300.229280124","0x9a26f5433671751c3276a065f57e5a02d2817973":"85464.0849025493","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"2626712.10877634","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"9960528.00374063","0xed664536023d8e4b1640c394777d34abaff1df8f":"951633.537041498"},"market_cap_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"467523553.31043726","0x4200000000000000000000000000000000000006":"578074701.0158153","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"390963520.0790008","0x95ccfd2b81a9667b0cc979992632f98fc853eba3":"758152.2010907499","0x9a26f5433671751c3276a065f57e5a02d2817973":"4669971.27252669","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"95405959.44646713","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"733492902.4711884","0xed664536023d8e4b1640c394777d34abaff1df8f":"13956070.12770864"},"h24_price_change_percentage":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"-0.5715507808212752","0x4200000000000000000000000000000000000006":"0.09123496243","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.7683769048","0x95ccfd2b81a9667b0cc979992632f98fc853eba3":"23.7629370288","0x9a26f5433671751c3276a065f57e5a02d2817973":"-2.551339897134801","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"5.7632098374","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-2.4813975114651328","0xed664536023d8e4b1640c394777d34abaff1df8f":"19.3691222455"}}}}},"exampleRequest":{"include_24hr_vol":true,"include_market_cap":true,"include_24hr_price_change":true},"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_VwNHEQ0SsvMVFND5Dvy2R","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 a fixed set of token contract addresses on the Base network via CoinGecko's GeckoTerminal data.","exampleAgentPrompt":"Can you pull the current onchain DEX prices and 24-hour volume for the tokens at these Base network contract addresses — WETH (0x4200000000000000000000000000000000000006), AERO (0x940181a94a35a4569e4529a3cdfb74e38fd98631), and the others in this batch — and include market cap and 24hr price change too?","exampleUseCases":null,"resultDescription":"Returns a JSON object with onchain price data keyed by token contract address, including USD price sourced from DEX liquidity pools on Base. Optional fields (if requested) include 24hr volume, market cap, 24hr price change percentage, and total reserve in USD.","failureModes":["Invalid or unsupported contract address returns null or missing data for that token","Network unavailable returns 5xx error","Payment not provided or insufficient returns 402 Payment Required","Rate limit exceeded returns 429 Too Many Requests","Stale or low-liquidity pool data may result in inaccurate prices"],"whenToPreferThis":"Use this endpoint when you need onchain DEX-sourced price data for this specific curated set of tokens on the Base network (including WETH, AERO, cbBTC, and others), especially when you need to include market cap, 24hr volume, or reserve data alongside the price. Prefer over CoinGecko's standard coin price endpoint when you need contract-address-level onchain data rather than CoinGecko coin ID-based data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:33.015Z","isFirstParty":false}