{"uid":"cap_xvNJaiDygrdTe5PVHjHeT","slug":"coingecko-2f8f24b9","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/0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x311935cd80b76769bf2ecc9d8ab7635b2139cf82,0x4200000000000000000000000000000000000006,0x9b5e262cf9bb04869ab40b19af91d2dc85761722,0x16ee7ecac70d1028e7712751e2ee6ba808a7dd92,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0x5ab3d4c385b400f3abb49e80de2faf6a88a7b691,0xeb466342c4d449bc9f53a865d5cb90586f405215","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":false,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x4200000000000000000000000000000000000006":{"usd":2450.5,"usd_24h_vol":5000000,"usd_24h_change":-1.2},"0x940181a94a35a4569e4529a3cdfb74e38fd98631":{"usd":0.85,"usd_24h_vol":1250000,"usd_24h_change":2.5}}}},"response":{"data":{"id":"9605e7c2-8d10-477c-b2d2-8693beb03019","type":"simple_token_price","attributes":{"token_prices":{"0x16ee7ecac70d1028e7712751e2ee6ba808a7dd92":"0.0590013281623072","0x311935cd80b76769bf2ecc9d8ab7635b2139cf82":"81.5386099026843","0x4200000000000000000000000000000000000006":"2011.03","0x5ab3d4c385b400f3abb49e80de2faf6a88a7b691":"0.0555084831923414","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.412347793164881","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.0510371722549717","0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca":"0.996590347676231","0xeb466342c4d449bc9f53a865d5cb90586f405215":"1.0028044373969"},"h24_volume_usd":{"0x16ee7ecac70d1028e7712751e2ee6ba808a7dd92":"540239.039120688","0x311935cd80b76769bf2ecc9d8ab7635b2139cf82":"7450376.00139078","0x4200000000000000000000000000000000000006":"588066622.347492","0x5ab3d4c385b400f3abb49e80de2faf6a88a7b691":"243426.263708119","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"8022888.54562697","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"2469855.92544602","0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca":"941865.715091282","0xeb466342c4d449bc9f53a865d5cb90586f405215":"227083.134561393"},"h24_price_change_percentage":{"0x16ee7ecac70d1028e7712751e2ee6ba808a7dd92":"-1.293124964071019","0x311935cd80b76769bf2ecc9d8ab7635b2139cf82":"0.05287628005","0x4200000000000000000000000000000000000006":"0.3573086078","0x5ab3d4c385b400f3abb49e80de2faf6a88a7b691":"-1.642572130298455","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"1.0841597092","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"8.5904141225","0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca":"-0.49040600342458746","0xeb466342c4d449bc9f53a865d5cb90586f405215":"0.8504649707"}}}}},"exampleRequest":{"include_24hr_vol":true,"include_market_cap":false,"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_CqCfe-ZlfZBumhEwisM05","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 multiple specified token contract addresses on the Base network.","exampleAgentPrompt":"Can you pull the current onchain DEX prices from CoinGecko for these Base network tokens — AERO (0x940181a94a35a4569e4529a3cdfb74e38fd98631), WETH (0x4200000000000000000000000000000000000006), and USDbC (0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca) — and include their 24-hour volume and price change too?","exampleUseCases":null,"resultDescription":"A JSON object keyed by token contract address, each containing the current onchain DEX price (in USD or other supported currencies), and optionally 24hr trading volume, market cap, 24hr price change, and total reserve in USD for each queried Base network token.","failureModes":["Invalid or unrecognized contract addresses return missing or empty data for those tokens","Network not supported returns an error","Too many contract addresses in a single request may be rate-limited or rejected","Missing or invalid API key returns 401 unauthorized","Exceeding API rate limits returns 429 too many requests","Tokens with no onchain DEX liquidity may return null or zero values"],"whenToPreferThis":"Use this endpoint when you need onchain DEX price and market data for multiple tokens on the Base network simultaneously, especially when you need data sourced directly from DEX liquidity pools rather than centralized exchange data. Prefer this over the single-token endpoint when querying a basket of tokens to reduce API calls and cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:51:52.610Z","isFirstParty":false}