{"uid":"cap_XJdn0lFyi1IjzfBSX6rFk","slug":"coingecko-99054a01","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,0xff8104251e7761163fac3211ef5583fb3f8583d6,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00,0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3,0xc0634090f2fe6c6d75e61be2b949464abb498973,0x9a26f5433671751c3276a065f57e5a02d2817973,0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x1bc0c42215582d5a085795f4badbac3ff36d1bcb,0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842","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":{"data":{"0x4200000000000000000000000000000000000006":{"price_usd":2500.5,"market_cap_usd":1000000000,"volume_24h_usd":50000000,"price_change_24h_percent":2.5}}}}},"response":{"data":{"id":"efbf3bda-7dc6-4482-a5c8-26f8149c87b4","type":"simple_token_price","attributes":{"token_prices":{"0x1bc0c42215582d5a085795f4badbac3ff36d1bcb":"19.1915287902984","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"0.000590353750730378","0x4200000000000000000000000000000000000006":"2009.33","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"0.0000868660750425196","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.412346766911291","0x9a26f5433671751c3276a065f57e5a02d2817973":"0.00046927803886344","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"0.0000207765078836386","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"0.129467759134746","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.7865424963357","0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842":"2.03917127323981","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.155190930607675","0xff8104251e7761163fac3211ef5583fb3f8583d6":"0.0170128636276373"},"h24_volume_usd":{"0x1bc0c42215582d5a085795f4badbac3ff36d1bcb":"528231.828154083","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"1399443.38054902","0x4200000000000000000000000000000000000006":"587526142.202736","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"1219108.96472741","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"8015607.15430954","0x9a26f5433671751c3276a065f57e5a02d2817973":"97748.88880583","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"43950.7938953119","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"646990.720596676","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"9947474.78677857","0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842":"828116.344623511","0xc0634090f2fe6c6d75e61be2b949464abb498973":"553498.34686375","0xff8104251e7761163fac3211ef5583fb3f8583d6":"142890.005733998"},"market_cap_usd":{"0x1bc0c42215582d5a085795f4badbac3ff36d1bcb":"18928168.365219727","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"59035375.07303779","0x4200000000000000000000000000000000000006":"577509426.8387241","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"8686607.504251959","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"389431779.5638093","0x9a26f5433671751c3276a065f57e5a02d2817973":"4692780.3886343995","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"2051540.2379627158","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"129455431.70635793","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"733197925.317618","0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842":"1297744308.331316","0xc0634090f2fe6c6d75e61be2b949464abb498973":"84857200.77741957","0xff8104251e7761163fac3211ef5583fb3f8583d6":"6579927.786401628"},"h24_price_change_percentage":{"0x1bc0c42215582d5a085795f4badbac3ff36d1bcb":"4.5237135405","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"14.6130414889","0x4200000000000000000000000000000000000006":"0.2079634543","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"-14.342235225626698","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"1.0428844005","0x9a26f5433671751c3276a065f57e5a02d2817973":"-1.4002287382583027","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"7.3400893675","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"7.0790139558","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-3.6367156721937093","0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842":"-0.7429876241904675","0xc0634090f2fe6c6d75e61be2b949464abb498973":"-0.05687904698635039","0xff8104251e7761163fac3211ef5583fb3f8583d6":"-4.852784879481327"}}}}},"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_kDrNiKghRR8oex6CBRsLZ","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 token contract addresses on the Base network using CoinGecko's GeckoTerminal data.","exampleAgentPrompt":"What are the current onchain DEX prices and 24-hour volume for these Base network token contracts: 0x4200000000000000000000000000000000000006, 0xff8104251e7761163fac3211ef5583fb3f8583d6, and 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf? Also include market cap and 24hr price change.","exampleUseCases":[{"title":"Monitor emerging Base token prices","prompt":"I'm tracking three new DeFi tokens on Base that just launched. Can you check their current DEX prices and trading volumes using these contract addresses: 0x123abc..., 0x456def..., and 0x789ghi...? I need to see if they're gaining traction."},{"title":"Portfolio valuation across Base network","prompt":"Help me get a quick snapshot of my Base network token holdings. Pull the current onchain prices, market caps, and 24-hour changes for these contract addresses: 0xabc123..., 0xdef456..., 0xghi789..., and 0xjkl012.... I want to see how my positions are performing."},{"title":"Compare liquidity and DEX metrics","prompt":"I'm evaluating which Base tokens to provide liquidity for. Can you fetch the current DEX prices, 24-hour volumes, and total reserves for these token contracts: 0x111222..., 0x333444..., and 0x555666...? I need to compare their pool depth and trading activity."}],"resultDescription":"Returns a JSON object mapping each queried token contract address to its current onchain DEX price (in USD), and optionally 24hr trading volume, market cap, fully diluted valuation, 24hr price change percentage, and total reserve in USD — all sourced from DEX liquidity pool data on Base.","failureModes":["Invalid or unknown contract address returns null or missing entry for that token","Network not supported or mismatched returns 404 or empty response","Too many contract addresses in one request may result in truncation or 400 error","Rate limit exceeded returns 429 Too Many Requests","Token has no DEX liquidity and thus no price data available","Malformed query parameters return 422 Unprocessable Entity"],"whenToPreferThis":"Use this endpoint when you need onchain DEX-sourced prices for multiple tokens simultaneously on the Base network, especially when you have contract addresses rather than coin IDs or tickers. Prefer this over CoinGecko's standard /simple/price endpoint when dealing with newly listed or long-tail tokens that may only have DEX liquidity, or when you specifically need Base network onchain data including reserve and pool-level metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:57.306Z","isFirstParty":false}