{"uid":"cap_pkKfuQfDjD1w43pvgppyx","slug":"coingecko-870578e7","name":"CoinGecko Onchain Token Price – Avalanche (AVAX)","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/avax/token_price/:address","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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/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_ADujXq4MQ7syIltIhjIJu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns onchain DEX price and market data for a token contract address on the Avalanche network","exampleAgentPrompt":"What's the current onchain DEX price, 24-hour volume, and market cap for the Avalanche token at contract address 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E on CoinGecko?","exampleUseCases":null,"resultDescription":"Returns a JSON object with onchain DEX price data for the specified token contract on Avalanche, optionally including 24hr volume, market cap, 24hr price change, total reserve in USD, and inactive source data — sourced directly from DEX liquidity pools.","failureModes":["Invalid or unrecognized contract address returns empty or null price data","Contract address not indexed on Avalanche returns 404 or empty response","Malformed address format causes 400 bad request","Token with very low liquidity may return null for market cap or volume","Rate limiting or payment failure returns 402 or 429 error","Network outage or CoinGecko API downtime returns 500 error"],"whenToPreferThis":"Use this endpoint when you specifically need onchain DEX-sourced price data for a token on the Avalanche (AVAX) network identified by its contract address, rather than a CoinGecko coin ID. Prefer this over the standard simple/price endpoint when the token may not be listed on CoinGecko's centralized index but trades on Avalanche DEXes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:50:58.512Z","isFirstParty":false}