{"uid":"cap_6Uub9C99P48AxRFm2AZsa","slug":"coingecko-onchain-token-price-base-network-multiple-contracts-3090b4fa","name":"CoinGecko Onchain Token Price - Base Network (Multiple Contracts)","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/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0x9b5e262cf9bb04869ab40b19af91d2dc85761722,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0xc0634090f2fe6c6d75e61be2b949464abb498973,0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f","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":true,"include_market_cap":true,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":{"usd":1.25,"usd_24h_vol":5000000,"usd_24h_change":2.5,"usd_market_cap":250000000},"0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":{"usd":0.85,"usd_24h_vol":3000000,"usd_24h_change":-1.2,"usd_market_cap":170000000}}}},"response":{"data":{"id":"16e388a2-bcbb-4d94-aa67-b300663932ba","type":"simple_token_price","attributes":{"token_prices":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"0.603350304735578","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"0.000465638117780285","0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f":"0.000938421785663096","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.036964737623263","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"15.9679748029575","0xc0634090f2fe6c6d75e61be2b949464abb498973":"0.149857952772638"},"h24_volume_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"14056976.8889089","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"478986.164624658","0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f":"631090.076837606","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"1218956.62424853","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"13200754.975005","0xc0634090f2fe6c6d75e61be2b949464abb498973":"590308.917856563"},"market_cap_usd":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"396435885.620918","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"46563811.778028496","0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f":"703816.3392473221","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"81263998.37691659","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"746688563.1483302","0xc0634090f2fe6c6d75e61be2b949464abb498973":"83059499.87961274"},"h24_price_change_percentage":{"0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b":"-4.351384437941993","0x22af33fe49fd1fa80c7149773dde5890d3c76f3b":"-1.9089210685202622","0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f":"19.6026010011","0x9b5e262cf9bb04869ab40b19af91d2dc85761722":"0.8044715302","0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf":"2.1338197929","0xc0634090f2fe6c6d75e61be2b949464abb498973":"-5.176212331016617"}}}}},"exampleRequest":{"include_24hr_vol":true,"mcap_fdv_fallback":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_8LRxFxp-cRX-5kzNNUQi6","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":"Fetches real-time DEX price and market data for multiple token contract addresses on the Base network via CoinGecko's onchain API.","exampleAgentPrompt":"What are the current onchain DEX prices and 24-hour price changes for these Base network tokens: 0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b and 0x22af33fe49fd1fa80c7149773dde5890d3c76f3b? Also include their market caps and trading volumes.","exampleUseCases":null,"resultDescription":"Returns real-time price data for each queried token contract address on the Base network, sourced from onchain DEX liquidity pools. May include USD price, market cap, 24hr volume, 24hr price change, and total reserve in USD depending on which optional flags are enabled.","failureModes":["Invalid or unrecognized contract address returns empty or null data for that token","Network not supported returns 404 or error response","Rate limiting or missing API credentials returns 401/429","Inactive token with no liquidity may return null price if include_inactive_source is false","Malformed contract address format returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX prices for one or more specific tokens on the Base network identified by their contract addresses, especially when you want granular market data like 24hr volume, price change, market cap, or reserve data. Prefer this over CoinGecko's offchain endpoints when you need DEX-sourced prices rather than aggregated exchange prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:02:08.865Z","isFirstParty":false}