{"uid":"cap_yhQjCXrXSS79pc0VOPQYh","slug":"coingecko-58db2e42","name":"CoinGecko Onchain DEX Token Price (Base Network, Multi-Contract)","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,0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f,0xff8104251e7761163fac3211ef5583fb3f8583d6,0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00,0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3,0x9a26f5433671751c3276a065f57e5a02d2817973,0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07,0xc0634090f2fe6c6d75e61be2b949464abb498973,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0x940181a94a35a4569e4529a3cdfb74e38fd98631","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":2450.5,"market_cap_usd":29401200000,"volume_24h_usd":1250000000,"price_change_24h_percent":2.35},"0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f":{"price_usd":0.98,"market_cap_usd":98000000,"volume_24h_usd":5000000,"price_change_24h_percent":-1.2}}}}},"response":{"data":{"id":"55dd6405-59fc-4c9c-a4e5-75ba422c529a","type":"simple_token_price","attributes":{"token_prices":{"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"0.000449129070778414","0x4200000000000000000000000000000000000006":"1729.11","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"0.0000728957791168309","0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f":"0.000106168632787175","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"0.434670559627281","0x9a26f5433671751c3276a065f57e5a02d2817973":"0.000415909786630606","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"0.00000992942360432706","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"0.120508417607048","0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4":"0.000126977799232751","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"14.995867636093","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.149901387577705","0xff8104251e7761163fac3211ef5583fb3f8583d6":"0.0198439180807485"},"h24_volume_usd":{"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"459525.116493242","0x4200000000000000000000000000000000000006":"713707189.22954","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"346254.086810527","0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f":"0.04949290176","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"32977497.699745","0x9a26f5433671751c3276a065f57e5a02d2817973":"37180.9389881606","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"26417.5891984152","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"239852.403145229","0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4":"82135.6845847032","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"11533004.0139545","0xc0634090f2fe6c6d75e61be2b949464abb498973":"514443.216169417","0xff8104251e7761163fac3211ef5583fb3f8583d6":"209229.848533828"},"market_cap_usd":{"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"44912907.07784139","0x4200000000000000000000000000000000000006":"502419924.5645672","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"7289577.911683089","0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f":null,"0x940181a94a35a4569e4529a3cdfb74e38fd98631":"416009300.3757564","0x9a26f5433671751c3276a065f57e5a02d2817973":"4159097.86630606","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"980462.568799287","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"120496943.25313827","0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4":"53418290.359226026","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"701278723.3543293","0xc0634090f2fe6c6d75e61be2b949464abb498973":"83083573.83177534","0xff8104251e7761163fac3211ef5583fb3f8583d6":"7938774.249361231"},"h24_price_change_percentage":{"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"-7.7023371594145695","0x4200000000000000000000000000000000000006":"-3.6586996490055195","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"-5.406111361133443","0x884b59ac68b03d86d9a339ce7a4b6ea4d86b074f":"-31.33297572058318","0x940181a94a35a4569e4529a3cdfb74e38fd98631":"-10.854559714015009","0x9a26f5433671751c3276a065f57e5a02d2817973":"-0.4578193207452559","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"-3.5831879622576985","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"-6.4659098491499245","0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4":"-4.979309570625638","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-10.292561469118283","0xc0634090f2fe6c6d75e61be2b949464abb498973":"-7.586777407277687","0xff8104251e7761163fac3211ef5583fb3f8583d6":"-3.0418324324262453"}}}}},"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_5VLf5HBh58T2i-mnIB3fZ","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 and 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913? Also include market cap and 24hr price change.","exampleUseCases":[{"title":"DeFi portfolio value tracker","prompt":"I have a few tokens on Base that I bought through a DEX and they're not on Coinbase or Binance. Can you look up the current USD prices, 24-hour volume, and price change for these contract addresses: 0x940181a94A35A4569E4529A3CDfB74e38FD98631 and 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22?"},{"title":"New token launch price monitor","prompt":"There's a newly launched token on Base that just went live on Uniswap. I only have the contract address — 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA. Can you pull its current onchain price, trading volume, and any available market cap data from DEX pools?"},{"title":"Base DEX arbitrage opportunity check","prompt":"I want to compare market data across a handful of Base network tokens to spot any unusual price movements or volume spikes. Can you fetch the current price, 24-hour price change percentage, and total reserve in USD for these contracts: 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb, 0x4621b7A9c75199271F773Ebd9A499dbd165c3191, and 0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2?"}],"resultDescription":"A JSON object mapping each queried contract address to its current onchain price in USD, along with optional fields such as 24-hour trading volume, market cap, 24-hour price change percentage, and total reserve in USD — all sourced from DEX liquidity pools on the Base network.","failureModes":["Invalid or unsupported contract address returns missing or null price data for that token","Network not supported returns 404 or empty response","Malformed contract address format causes 400 Bad Request","Rate limiting or missing API key returns 401/429 error","Token with no DEX liquidity on Base returns null price","Truncated or overly long contract address list may cause request URI too large error"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX prices for one or more specific ERC-20 token contract addresses on the Coinbase Base network, especially when the tokens may not be listed on centralized exchanges. Prefer this over CoinGecko's standard /simple/price endpoint when dealing with newly launched or DEX-only tokens identified by contract address rather than coin ID. Ideal for DeFi dashboards, portfolio trackers, or agents monitoring Base network token values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:53:11.728Z","isFirstParty":false}