{"uid":"cap_57CRfsUaR-UZHCo_Ds1-P","slug":"pro-api-coingecko-com-076963f2","name":"CoinGecko On-Chain Token Price for Base Network (Contract 0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb)","description":"Returns the on-chain price for a specific token contract on the Base network (queried by contract address).","url":"https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb","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","market_cap_usd","h24_price_change_percentage"],"properties":{"token_prices":{"type":"object","required":["0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb"],"properties":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":{"type":"string"}}},"h24_volume_usd":{"type":"object","required":["0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb"],"properties":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":{"type":"string"}}},"market_cap_usd":{"type":"object","required":["0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb"],"properties":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":{"type":"null"}}},"h24_price_change_percentage":{"type":"object","required":["0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb"],"properties":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":{"type":"string"}}}}}}}}},"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":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":{"usd":1.25,"usd_24h_vol":5000000,"usd_24h_change":2.5,"usd_market_cap":500000000}}}},"response":{"data":{"id":"0a9911a5-0dba-4175-b608-cdc020edc7ee","type":"simple_token_price","attributes":{"token_prices":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":"0.00000359982527665561"},"h24_volume_usd":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":"0.00003599825277"},"market_cap_usd":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":null},"h24_price_change_percentage":{"0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb":"0.0"}}}}},"exampleRequest":{"include_24hr_vol":true,"include_market_cap":true,"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_Xlw4Nr7MRNgZaZmdroT-4","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 a specific ERC-20 token contract on the Coinbase Base network via CoinGecko's Pro API.","exampleAgentPrompt":"What's the current on-chain price of the token at contract address 0x008b2c67fe2e1a7a28105bd5e7d9760915907dbb on the Base network — and can you also include its 24-hour volume and price change?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the on-chain USD price for the specified Base network token contract, optionally including market cap, 24-hour trading volume, 24-hour price change percentage, and total reserve in USD as sourced from CoinGecko's on-chain DEX data.","failureModes":["Invalid or unknown contract address returns empty or null price data","Contract address not indexed by CoinGecko returns 404 or empty response","Network identifier mismatch causes no data returned","Rate limiting or missing API key returns 401/429 error","Payment not processed returns 402 error"],"whenToPreferThis":"Use this endpoint when you need the live on-chain price of a specific known token on the Coinbase Base network identified by its contract address, especially when you want DEX-sourced pricing rather than centralized exchange data. Prefer this over generic CoinGecko coin ID lookups when you have the contract address but not the CoinGecko coin slug.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:44:27.052Z","isFirstParty":false}