{"uid":"cap_SrEI4LkxjDLrRrBa-vwaS","slug":"coingecko-6097a507","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,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00,0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3,0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959,0x16332535e2c27da578bc2e82beb09ce9d3c8eb07,0xc0634090f2fe6c6d75e61be2b949464abb498973,0xff8104251e7761163fac3211ef5583fb3f8583d6,0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07,0xa1f72459dfa10bad200ac160ecd78c6b77a747be,0x940181a94a35a4569e4529a3cdfb74e38fd98631,0xc78fabc2cb5b9cf59e0af3da8e3bc46d47753a4e","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":{"0x4200000000000000000000000000000000000006":{"usd":2500.5,"usd_24h_vol":1500000,"usd_24h_change":2.5,"usd_market_cap":500000000},"0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":{"usd":1.25,"usd_24h_vol":250000,"usd_24h_change":-1.2,"usd_market_cap":50000000}}}},"response":{"data":{"id":"87c48022-c250-4e24-842b-c3e4311b7977","type":"simple_token_price","attributes":{"token_prices":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"0.0000238392988106786","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"0.0000180068377789588","0x4200000000000000000000000000000000000006":"2006.15","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"0.0000845649666039248","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.413907786065214","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"0.0000204500481448286","0xa1f72459dfa10bad200ac160ecd78c6b77a747be":"0.0000139199842874223","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"0.129711008397643","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.7985283508527","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.155815767549869","0xc78fabc2cb5b9cf59e0af3da8e3bc46d47753a4e":"0.00000454989601446494","0xff8104251e7761163fac3211ef5583fb3f8583d6":"0.0166224328382829"},"h24_volume_usd":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"79050.9847903427","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"185249.459902385","0x4200000000000000000000000000000000000006":"598045636.526802","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"1247997.44508481","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"7815571.87179829","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"51676.8065272912","0xa1f72459dfa10bad200ac160ecd78c6b77a747be":"52270.4401311203","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"650429.100406098","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"9963040.00375415","0xc0634090f2fe6c6d75e61be2b949464abb498973":"536618.98975751","0xc78fabc2cb5b9cf59e0af3da8e3bc46d47753a4e":"0.0","0xff8104251e7761163fac3211ef5583fb3f8583d6":"148428.168179409"},"market_cap_usd":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"2273237.7142369905","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"1800683.7778958797","0x4200000000000000000000000000000000000006":"577645674.2458198","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"8456496.660392478","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"390906049.56136256","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"2019304.5372379113","0xa1f72459dfa10bad200ac160ecd78c6b77a747be":"1391998.4287422297","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"129698657.8079838","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"733754602.2256277","0xc0634090f2fe6c6d75e61be2b949464abb498973":"85198856.78559795","0xc78fabc2cb5b9cf59e0af3da8e3bc46d47753a4e":"446004.44700356544","0xff8104251e7761163fac3211ef5583fb3f8583d6":"6428924.025026241"},"h24_price_change_percentage":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"5.4751798445","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"-23.96984862519619","0x4200000000000000000000000000000000000006":"-0.015447093704060864","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"-14.057453270539588","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"-0.5415364788970639","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"5.610618732","0xa1f72459dfa10bad200ac160ecd78c6b77a747be":"-2.5100990039702937","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"7.1194850468","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-2.5675904138789263","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.2156908694","0xc78fabc2cb5b9cf59e0af3da8e3bc46d47753a4e":"-1.2346474180710834","0xff8104251e7761163fac3211ef5583fb3f8583d6":"-7.036332759335573"}}}}},"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_XuJJAtvXfsW72YGSKsd8P","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.","exampleAgentPrompt":"Can you pull the current onchain DEX prices, 24-hour volume, and market caps for these Base network tokens — 0x4200000000000000000000000000000000000006 and 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf — from CoinGecko?","exampleUseCases":[{"title":"Monitor portfolio value across Base tokens","prompt":"I need to check how my Base network token holdings are doing right now. Can you grab the latest DEX prices and 24-hour price changes for these contract addresses on Base: 0x4200000000000000000000000000000000000006, 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf, and 0x833589fcd6edb6e08f4c7c32d4f71b4dc5ff8896? I want to see what I'm up or down today."},{"title":"Evaluate liquidity before executing swaps","prompt":"Before I route a trade through these Base tokens, I need to understand the market conditions. Can you pull the current onchain DEX prices, trading volumes, and reserve data from CoinGecko for 0x4200000000000000000000000000000000000006, 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf, 0x833589fcd6edb6e08f4c7c32d4f71b4dc5ff8896, and 0x7c6b91d9be155d5cf1229641ff02a8200ae59038? I want to make sure there's enough liquidity before I commit."},{"title":"Track emerging Base network DeFi tokens","prompt":"I'm watching a few newer tokens on Base that I think might have potential. Can you give me the real-time onchain DEX prices, market caps, and volumes from CoinGecko for these contract addresses: 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf, 0x833589fcd6edb6e08f4c7c32d4f71b4dc5ff8896, and 0x7c6b91d9be155d5cf1229641ff02a8200ae59038? I'm curious to see how they're trending this week."}],"resultDescription":"A JSON object mapping each requested contract address to its current onchain DEX price (in USD or supported currency), and optionally 24hr trading volume, market cap, 24hr price change percentage, and total reserve in USD — all sourced from DEX liquidity pools on the Base network.","failureModes":["Invalid or unrecognized contract address returns empty or null price data for that token","Network not supported returns 404 or error response","Too many contract addresses in a single request may return partial results or rate limit error","Inactive token with no recent DEX trades may return null if include_inactive_source is false","API key invalid or missing returns 401 Unauthorized","Rate limit exceeded returns 429 Too Many Requests"],"whenToPreferThis":"Use this endpoint when you need onchain DEX-sourced prices for multiple token contract addresses simultaneously on the Base network, especially when you want granular market data (volume, market cap, reserves, price change) from decentralized exchange liquidity pools rather than centralized exchange data. Prefer this over single-token endpoints when batching multiple Base token lookups in one call to minimize cost and latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:21.430Z","isFirstParty":false}