{"uid":"cap_lgxRFArOnSSTgMyGCrZcs","slug":"pro-api-coingecko-com-df5a3912","name":"CoinGecko On-Chain Token Price — Base Network (0x00dde4d2)","description":"Fetches the on-chain USD price for a specified token contract address on the Base network.","url":"https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9","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"],"properties":{"token_prices":{"type":"object","required":["0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9"],"properties":{"0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9":{"type":"string"}}}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}},"output":{"type":"object","example":{"0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9":{"usd":1.25}}}},"response":{"data":{"id":"babbc1f0-d141-4a05-b3ef-6dc7cda08790","type":"simple_token_price","attributes":{"token_prices":{"0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9":"0.000000310658182181905"}}}}},"exampleRequest":null,"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_EC3BWDmEBfpITzgKuMkxC","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 USD price for a specific token contract address (0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9) on the Coinbase Base network.","exampleAgentPrompt":"What's the current on-chain USD price for the token at contract address 0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9 on the Base network? Also include its 24-hour price change and market cap if available.","exampleUseCases":null,"resultDescription":"Returns the current on-chain USD price for the specified token contract on Base, along with optional metrics such as 24hr trading volume, market cap, 24hr price change percentage, total reserve in USD, and FDV (fully diluted valuation) depending on which query flags are enabled.","failureModes":["Invalid or unrecognized contract address returns empty or null price data","Network identifier mismatch causes no results","Missing or invalid API key returns 401 Unauthorized","Rate limit exceeded returns 429 Too Many Requests","Token not indexed by CoinGecko on-chain returns empty response","Payment not completed (x402) results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the live on-chain USD price for the specific Base network token at 0x00dde4d2f08497bcec6f5e0666f63e14b3a1dab9, sourced directly from DEX liquidity data via CoinGecko's on-chain API. Prefer this over CoinGecko's standard simple/price endpoint when you need DEX-sourced pricing rather than aggregated CEX/CoinGecko index prices, or when working specifically with tokens on the Base L2 network that may not have a CoinGecko coin ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:03.843Z","isFirstParty":false}