{"uid":"cap_VY0DmMIK6iZsPiL3UQfVy","slug":"pro-api-coingecko-com-fe89563a","name":"CoinGecko Pro Onchain Token Price - Base Network (0x00393c0b)","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/0x00393c0b6e606ed053ee0abb5df2199f450685f1","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":["0x00393c0b6e606ed053ee0abb5df2199f450685f1"],"properties":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":{"type":"null"}}},"h24_volume_usd":{"type":"object","required":["0x00393c0b6e606ed053ee0abb5df2199f450685f1"],"properties":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":{"type":"string"}}},"market_cap_usd":{"type":"object","required":["0x00393c0b6e606ed053ee0abb5df2199f450685f1"],"properties":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":{"type":"null"}}},"h24_price_change_percentage":{"type":"object","required":["0x00393c0b6e606ed053ee0abb5df2199f450685f1"],"properties":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":{"type":"string"}}}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_24hr_vol":true,"mcap_fdv_fallback":false,"include_market_cap":true,"include_inactive_source":false,"include_24hr_price_change":true}},"output":{"type":"object","example":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":{"usd":0,"usd_24h_vol":0,"usd_24h_change":0,"usd_market_cap":0}}}},"response":{"data":{"id":"4d26326f-7da0-4e83-8a91-cbc35789f348","type":"simple_token_price","attributes":{"token_prices":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":null},"h24_volume_usd":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":"0.0"},"market_cap_usd":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":null},"h24_price_change_percentage":{"0x00393c0b6e606ed053ee0abb5df2199f450685f1":""}}}}},"exampleRequest":{"include_24hr_vol":true,"mcap_fdv_fallback":false,"include_market_cap":true,"include_inactive_source":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_1LUYsbUsTCbfKE8CnU99a","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 current onchain DEX price and market data for a specific token contract on the Base network via CoinGecko Pro API.","exampleAgentPrompt":"What's the current onchain price and 24-hour price change for the token at contract address 0x00393c0b6e606ed053ee0abb5df2199f450685f1 on the Base network, including its market cap and trading volume?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the token's current USD price sourced from onchain DEX activity on the Base network, optionally including 24hr volume, market cap, 24hr price change percentage, total reserve in USD, and FDV-based market cap fallback.","failureModes":["Token contract address not found on Base network — returns empty or null data","Token is inactive and include_inactive_source is false — returns no data","Network congestion or CoinGecko Pro API downtime — returns 5xx error","Invalid or malformed contract address — returns 400 or empty response","Payment not processed or x402 auth failure — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX price data specifically for the token at contract 0x00393c0b on the Base network via CoinGecko Pro. Prefer this over general CoinGecko coin price endpoints when you need DEX-sourced onchain pricing rather than aggregated CEX/CoinGecko index prices, and when the token may not have a CoinGecko coin ID but does have a Base contract address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:12.505Z","isFirstParty":false}