{"uid":"cap_SPxWhk8ZSoUSgQ0bLc4rE","slug":"pro-api-coingecko-com-9a49e0a4","name":"CoinGecko On-Chain Token Price – Base Network (Contract 0x00e57ec29ef2ba7df07ad10573011647b2366f6d)","description":"Fetches the current on-chain price for a token by contract address on the Coinbase Base network.","url":"https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x00e57ec29ef2ba7df07ad10573011647b2366f6d","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":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","type","attributes"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"attributes":{"type":"object","required":["token_prices","h24_volume_usd","h24_price_change_percentage"],"properties":{"token_prices":{"type":"object","required":["0x00e57ec29ef2ba7df07ad10573011647b2366f6d"],"properties":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":{"type":"string"}}},"h24_volume_usd":{"type":"object","required":["0x00e57ec29ef2ba7df07ad10573011647b2366f6d"],"properties":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":{"type":"string"}}},"h24_price_change_percentage":{"type":"object","required":["0x00e57ec29ef2ba7df07ad10573011647b2366f6d"],"properties":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":{"type":"string"}}}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_24hr_vol":true,"include_market_cap":false,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":{"usd":1.25,"usd_24h_vol":500000,"usd_24h_change":2.5}}}},"response":{"data":{"id":"9c4b81e6-eca2-43fa-b338-cea67f17e932","type":"simple_token_price","attributes":{"token_prices":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":"0.000000000460026982753583"},"h24_volume_usd":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":"298.9830343868"},"h24_price_change_percentage":{"0x00e57ec29ef2ba7df07ad10573011647b2366f6d":"5.5236464678"}}}}},"exampleRequest":{"include_24hr_vol":true,"include_market_cap":false,"include_24hr_price_change":true},"tags":["x402"],"displayCostAmount":"0.010000","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.010000/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_AmyRsJ4EQioE6OXa0RGos","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current on-chain price and optional market data for the token at contract address 0x00e57ec29ef2ba7df07ad10573011647b2366f6d on the Coinbase Base network via CoinGecko's DEX data.","exampleAgentPrompt":"What's the current on-chain price of the token at contract 0x00e57ec29ef2ba7df07ad10573011647b2366f6d on the Coinbase Base network, and can you also include the 24-hour volume and price change?","exampleUseCases":null,"resultDescription":"Returns the current USD price of the token at the specified contract address on the Base network, along with optionally requested fields such as 24hr trading volume, market cap, 24hr price change percentage, and total reserve in USD — sourced from on-chain DEX data via CoinGecko.","failureModes":["Token contract address not found on Base network – returns empty or null price data","Network connectivity or CoinGecko API outage – returns 5xx error","Invalid or malformed contract address – returns 400 or empty result","Rate limit exceeded – returns 429 Too Many Requests","Payment failure via x402 – returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the real-time on-chain price for the specific token at contract 0x00e57ec29ef2ba7df07ad10573011647b2366f6d on the Coinbase Base network, especially when DEX/on-chain price data is preferred over centralized exchange pricing. Ideal for DeFi applications, portfolio trackers, or agents that need live Base network token pricing without requiring the token's CoinGecko coin ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:51:03.556Z","isFirstParty":false}