{"uid":"cap_7OJrsMEHqpLi0J5Ljrp9m","slug":"coingecko-onchain-solana-token-price-api-b44fc7f5","name":"CoinGecko Onchain Solana Token Price API","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/solana/token_price/probe","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":"probe","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_mkvwIes_XPqRUfTfLwoew","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 real-time DEX price and market data for tokens on the Solana network, queried by contract address.","exampleAgentPrompt":"What's the current onchain price, market cap, and 24-hour trading volume for the Solana token at contract address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v?","exampleUseCases":[{"title":"DeFi portfolio valuation on Solana","prompt":"Can you pull the current USD price and market cap for these three Solana token contracts so I can update my portfolio value: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, So11111111111111111111111111111111111111112, and DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263?"},{"title":"Solana token price alert bot","prompt":"Check the current onchain price and 24-hour price change for the Solana token at contract Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB and let me know if it's moved more than 10% in either direction."},{"title":"DEX liquidity research for new Solana token","prompt":"Look up the onchain market data for the Solana token contract 7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs — I want to see its price, total reserve in USD, and 24-hour trading volume to gauge how liquid it is."}],"resultDescription":"Returns a JSON object containing onchain price data for the specified Solana token contract, including current USD price, optionally market cap, 24-hour trading volume, 24-hour price change percentage, total reserve in USD, and FDV fallback data sourced from DEX pool activity on the Solana network.","failureModes":["Invalid or unrecognized contract address returns empty or null data","Token with no active DEX liquidity on Solana returns no price data","Inactive token may require include_inactive_source=true to retrieve data","Missing required query parameters (contract address) returns 400 error","Rate limiting or payment failure returns 402 or 429 error","Token exists on a different chain than Solana, causing no results"],"whenToPreferThis":"Use this endpoint when you need real-time onchain price and market data for tokens deployed on the Solana blockchain, specifically queried by contract address rather than by coin name or CoinGecko ID. It is ideal when working with new or obscure Solana tokens that may not have centralized exchange listings, or when you need DEX-sourced liquidity and reserve data rather than CEX prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:55.471Z","isFirstParty":false}