{"uid":"cap_hGJ0tj1rYntzE-vh68Y6E","slug":"pro-api-coingecko-com-d968d172","name":"CoinGecko Pro Onchain Token Price — Base Network (0x00c0943f)","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/0x00c0943f0788cfd0782a893c0eefb42e154f15ae","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","last_trade_timestamp","h24_price_change_percentage"],"properties":{"token_prices":{"type":"object","required":["0x00c0943f0788cfd0782a893c0eefb42e154f15ae"],"properties":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"type":"string"}}},"h24_volume_usd":{"type":"object","required":["0x00c0943f0788cfd0782a893c0eefb42e154f15ae"],"properties":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"type":"string"}}},"market_cap_usd":{"type":"object","required":["0x00c0943f0788cfd0782a893c0eefb42e154f15ae"],"properties":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"type":"string"}}},"last_trade_timestamp":{"type":"object","required":["0x00c0943f0788cfd0782a893c0eefb42e154f15ae"],"properties":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"type":"null"}}},"h24_price_change_percentage":{"type":"object","required":["0x00c0943f0788cfd0782a893c0eefb42e154f15ae"],"properties":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"type":"string"}}}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_24hr_vol":true,"mcap_fdv_fallback":true,"include_market_cap":true,"include_inactive_source":true,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":{"usd":0.00025,"usd_24h_vol":75000,"usd_24h_change":3.2,"usd_market_cap":1500000}}}},"response":{"data":{"id":"0df91c21-cdd2-44e1-9275-7a0f66c11269","type":"simple_token_price","attributes":{"token_prices":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":"0.0000000000331072544449809"},"h24_volume_usd":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":"0.0"},"market_cap_usd":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":"3.31072544449809"},"last_trade_timestamp":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":null},"h24_price_change_percentage":{"0x00c0943f0788cfd0782a893c0eefb42e154f15ae":"0.0"}}}}},"exampleRequest":{"include_24hr_vol":true,"mcap_fdv_fallback":true,"include_market_cap":true,"include_inactive_source":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_b2AjVDiZNtqNOO6yeXrtZ","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 real-time onchain DEX price and market data for a specific token contract (0x00c0943f) on the Coinbase Base network via CoinGecko Pro.","exampleAgentPrompt":"What's the current onchain DEX price for the token at contract address 0x00c0943f0788cfd0782a893c0eefb42e154f15ae on the Base network, and can you also include the 24-hour volume and price change?","exampleUseCases":[{"title":"Real-time portfolio value tracking","prompt":"I need to check the current USD price of my Base network token holdings right now. Can you pull the live DEX price for contract 0x00c0943f and tell me the 24-hour price change so I know if I'm up or down?"},{"title":"DeFi trading opportunity alerts","prompt":"Monitor the Base DEX price for token 0x00c0943f and let me know if the 24-hour volume spikes above a certain threshold or if the price moves significantly. I want to catch trading opportunities early."},{"title":"Liquidity pool analysis dashboard","prompt":"Can you fetch the onchain DEX data for token 0x00c0943f on Base, including the current price, market cap, total reserves, and 24-hour trading volume? I'm analyzing liquidity pool performance."}],"resultDescription":"Returns the current USD price of the specified token as traded on DEXes on the Base network, along with optional metrics: 24-hour trading volume, market capitalization, 24-hour price change percentage, and total reserve in USD. Data is sourced from onchain liquidity pools indexed by CoinGecko's GeckoTerminal.","failureModes":["Token contract not found on Base — returns empty or null price data","Network congestion causing stale or delayed price data","Invalid contract address format — 400 Bad Request","Payment not received or insufficient — 402 Payment Required","Rate limit exceeded — 429 Too Many Requests","Token has no active liquidity pools on Base — no price available"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX price data specifically for the token at 0x00c0943f on the Coinbase Base network. Prefer this over CoinGecko's standard /simple/price endpoint when the token is only traded on DEXes and lacks a CoinGecko coin ID. Best for DeFi apps, portfolio trackers, or bots that need live Base-chain token prices directly from liquidity pool data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:39:29.341Z","isFirstParty":false}