{"uid":"cap_72iK2fU0pQ6mIyWEnMpzY","slug":"coingecko-6e51283d","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,0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959,0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3,0x16332535e2c27da578bc2e82beb09ce9d3c8eb07,0xc0634090f2fe6c6d75e61be2b949464abb498973,0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07,0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x6b2504a03ca4d43d0d73776f6ad46dab2f2a4cfd,0xde61878b0b21ce395266c44d4d548d1c72a3eb07,0x7b0ee9dcb5c1d4d7cd630c652959951936512ba3","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":5000000000},"0x940181a94a35a4569e4529a3cdfb74e38fd98631":{"usd":0.85,"usd_24h_vol":250000,"usd_24h_change":-1.2,"usd_market_cap":425000000}}}},"response":{"data":{"id":"87374a62-2ca8-4b14-94ea-36fffbc00a58","type":"simple_token_price","attributes":{"token_prices":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"0.00002365397592694","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"0.0000176631258199255","0x4200000000000000000000000000000000000006":"2007.64","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"0.0000845649666039248","0x6b2504a03ca4d43d0d73776f6ad46dab2f2a4cfd":"0.0285153971080212","0x7b0ee9dcb5c1d4d7cd630c652959951936512ba3":"0.00000441476959039021","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.413968638269334","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"0.0000203910546019837","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"0.129711008397643","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.7921895064478","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.155858585378646","0xde61878b0b21ce395266c44d4d548d1c72a3eb07":"0.00000802924404964906"},"h24_volume_usd":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"78816.5619725376","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"185590.828726389","0x4200000000000000000000000000000000000006":"598824745.692196","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"1242325.79869438","0x6b2504a03ca4d43d0d73776f6ad46dab2f2a4cfd":"259159.267837714","0x7b0ee9dcb5c1d4d7cd630c652959951936512ba3":"120330.288474503","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"7805295.73785238","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"52425.6753430098","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"650473.031809378","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"9960528.00374063","0xc0634090f2fe6c6d75e61be2b949464abb498973":"536824.416935835","0xde61878b0b21ce395266c44d4d548d1c72a3eb07":"50747.9470862593"},"market_cap_usd":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"2255565.929006586","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"1766312.5819925496","0x4200000000000000000000000000000000000006":"578074701.0158153","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"8456496.660392478","0x6b2504a03ca4d43d0d73776f6ad46dab2f2a4cfd":"28515397.1080212","0x7b0ee9dcb5c1d4d7cd630c652959951936512ba3":"441476.9590301915","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"390963520.0790008","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"2013479.322163072","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"129698657.8079838","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"733468489.2133666","0xc0634090f2fe6c6d75e61be2b949464abb498973":"85222269.24326642","0xde61878b0b21ce395266c44d4d548d1c72a3eb07":"802924.4049649058"},"h24_price_change_percentage":{"0x0086cff0c1e5d17b19f5bcd4c8840a5b4251d959":"6.1825834622","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"-25.42110134349236","0x4200000000000000000000000000000000000006":"0.09123496243","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"-13.056598851321796","0x6b2504a03ca4d43d0d73776f6ad46dab2f2a4cfd":"-0.3309356033804625","0x7b0ee9dcb5c1d4d7cd630c652959951936512ba3":"14.4710412536","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.7683769048","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"5.2127723067","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"7.1194850468","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-2.4813975114651328","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.2181974096","0xde61878b0b21ce395266c44d4d548d1c72a3eb07":"-0.8174531233590323"}}}}},"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_XaMI6c5URUaKVVdWzppuR","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 pro API.","exampleAgentPrompt":"Can you pull the current onchain DEX prices, 24-hour volume, and market caps for these Base network tokens: 0x4200000000000000000000000000000000000006 and 0x940181a94a35a4569e4529a3cdfb74e38fd98631 using CoinGecko's pro API?","exampleUseCases":null,"resultDescription":"Returns a JSON object keyed by token contract address, each containing the current USD price sourced from onchain DEX data, and optionally 24hr volume, market cap, 24hr price change percentage, and total reserve in USD — all sourced from CoinGecko's onchain DEX aggregation on the Base network.","failureModes":["Invalid or unrecognized contract address returns empty or null data for that token","Network identifier mismatch causes 404 or empty result","Rate limiting or missing API key returns 401/429","Truncated or malformed contract address list causes a 400 bad request","Token with no DEX liquidity on Base may return null price"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX prices (not centralized exchange prices) for multiple tokens simultaneously on the Base network, especially when you have contract addresses rather than coin IDs. Prefer this over CoinGecko's standard simple/price endpoint when you need DEX-sourced data or are working with tokens not listed on CEXes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:53:46.038Z","isFirstParty":false}