{"uid":"cap_8mn3bZ3hNk5dKBOAdBmR2","slug":"coingecko-63d56966","name":"CoinGecko Onchain DEX Token Price (Base Network, Multi-Address)","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,0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3,0x00000e7efa313f4e11bfff432471ed9423ac6b30,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0x16332535e2c27da578bc2e82beb09ce9d3c8eb07,0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07,0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00,0x4c433f4ef87fe506a7eed2fd1d822cbed411eba3,0xbf8e8f0e8866a7052f948c16508644347c57aba3,0x797f214a2cd64a4963a91fa21c8c55ec3eba4714,0x09be1692ca16e06f536f0038ff11d1da8524adb1,0xc0634090f2fe6c6d75e61be2b949464abb498973","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":2250.5,"usd_24h_vol":1500000,"usd_24h_change":2.35,"usd_market_cap":850000000}}}},"response":{"data":{"id":"d213a6ce-ca17-42b8-90b8-f15bcc0af2c9","type":"simple_token_price","attributes":{"token_prices":{"0x00000e7efa313f4e11bfff432471ed9423ac6b30":"0.0483977042748205","0x09be1692ca16e06f536f0038ff11d1da8524adb1":"0.00262995866491764","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"0.0000215013130700219","0x4200000000000000000000000000000000000006":"1999.77","0x4c433f4ef87fe506a7eed2fd1d822cbed411eba3":"0.00000149273202299275","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"0.00010709401608913","0x797f214a2cd64a4963a91fa21c8c55ec3eba4714":"0.00415764828454829","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"0.0000198546592094179","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"0.126233358202952","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.7973262868187","0xbf8e8f0e8866a7052f948c16508644347c57aba3":"0.0000537881518666274","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.156519074167966"},"h24_volume_usd":{"0x00000e7efa313f4e11bfff432471ed9423ac6b30":"72825.2205225156","0x09be1692ca16e06f536f0038ff11d1da8524adb1":"0.0","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"160293.682690605","0x4200000000000000000000000000000000000006":"544221370.896563","0x4c433f4ef87fe506a7eed2fd1d822cbed411eba3":"16750.7534643702","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"2244679.0227793","0x797f214a2cd64a4963a91fa21c8c55ec3eba4714":"96616.2316625466","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"38992.5522070397","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"715694.97291039","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"17754226.8028318","0xbf8e8f0e8866a7052f948c16508644347c57aba3":"948509.596767698","0xc0634090f2fe6c6d75e61be2b949464abb498973":"737616.585636873"},"market_cap_usd":{"0x00000e7efa313f4e11bfff432471ed9423ac6b30":"1877436.331831967","0x09be1692ca16e06f536f0038ff11d1da8524adb1":"250049201.61905155","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"2150131.3070021896","0x4200000000000000000000000000000000000006":"582535914.8936037","0x4c433f4ef87fe506a7eed2fd1d822cbed411eba3":null,"0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"10709401.608912999","0x797f214a2cd64a4963a91fa21c8c55ec3eba4714":"2444081.6640882315","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"1960513.8894026834","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"126221338.74193844","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"733544127.397414","0xbf8e8f0e8866a7052f948c16508644347c57aba3":"4765500.469644154","0xc0634090f2fe6c6d75e61be2b949464abb498973":"84999394.56521732"},"h24_price_change_percentage":{"0x00000e7efa313f4e11bfff432471ed9423ac6b30":"2.3409392166","0x09be1692ca16e06f536f0038ff11d1da8524adb1":"-0.9590575390127034","0x16332535e2c27da578bc2e82beb09ce9d3c8eb07":"6.3293746633","0x4200000000000000000000000000000000000006":"1.2019109118","0x4c433f4ef87fe506a7eed2fd1d822cbed411eba3":"14.0829476144","0x5f980dcfc4c0fa3911554cf5ab288ed0eb13dba3":"65.452893645","0x797f214a2cd64a4963a91fa21c8c55ec3eba4714":"32.0587195526","0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07":"6.3532704264","0xa4a2e2ca3fbfe21aed83471d28b6f65a233c6e00":"6.5885167711","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"-0.9747945630308205","0xbf8e8f0e8866a7052f948c16508644347c57aba3":"21.6268561078","0xc0634090f2fe6c6d75e61be2b949464abb498973":"-3.0340884652565188"}}}}},"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_0AKefvzxUS1rRcEUZcSCC","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 via CoinGecko's pro API.","exampleAgentPrompt":"What are the current onchain DEX prices, 24hr volume, and market caps for the token contracts 0x4200000000000000000000000000000000000006 and 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02916 on the Base network?","exampleUseCases":[{"title":"Monitor DeFi portfolio token values","prompt":"Can you check the current prices and 24-hour changes for all the Base tokens in my portfolio? I've got WETH, USDC, and a few others—just give me the latest market data so I can see how I'm doing."},{"title":"Compare multiple token liquidity depths","prompt":"I'm trying to decide which Base tokens have the most trading activity. Can you pull the current DEX prices and 24-hour trading volumes for these contract addresses so I can see which ones are most liquid?"},{"title":"Track DeFi yield farming token prices","prompt":"I'm monitoring a few yield farming tokens on Base right now. What are the current onchain prices and market caps for these contracts? I need to know if they've moved significantly since yesterday."}],"resultDescription":"Returns a JSON object keyed by contract address, each containing the current onchain DEX price (in USD or other currencies), and optionally 24hr trading volume, market cap, 24hr price change percentage, and total reserve in USD for each requested token on Base.","failureModes":["Invalid or unsupported token contract address returns empty or missing data for that address","Network not supported returns 404 or error response","Malformed contract address format causes 400 bad request","Rate limit exceeded returns 429 too many requests","Payment not provided or invalid causes 402 payment required"],"whenToPreferThis":"Use this endpoint when you need onchain DEX price and market data specifically for tokens on the Base network, especially when querying multiple contract addresses in a single call. Prefer this over CoinGecko's standard coin price endpoint when you have contract addresses rather than coin IDs, or when you need onchain liquidity/reserve data rather than aggregated exchange data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:57.832Z","isFirstParty":false}