{"uid":"cap_YZbnhiXHb1b9r6Jz6JjFP","slug":"solana-token-price-onchain-e576b550","name":"Solana Token Price (Onchain)","description":"Solana token price: live USD price of any SPL token or memecoin by symbol or mint, incl. pump.fun tokens, read onchain from Orca, Raydium CLMM, PumpSwap and pump.fun bonding curves (no third-party API). Pass token (SOL, JUP, BONK, WIF... or mint). Returns price, supply, FDV, pools with depth, spread, confidence, slot. 0.002 USDC/call; failed calls are free.","url":"https://x402-seller-pmlm.onrender.com/solana-price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","maxLength":44,"minLength":1,"description":"Symbol (SOL, WSOL, USDC, USDT, JUP, BONK, WIF, JTO, PYTH, RAY, ...) or SPL mint address (incl. pump.fun mints)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["token","priceUsd","pools","slot"],"properties":{"slot":{"type":"integer"},"pools":{"type":"array","items":{"type":"object"}},"token":{"type":"object","properties":{"mint":{"type":"string"},"name":{"type":["string","null"]},"chain":{"type":"string"},"symbol":{"type":["string","null"]},"decimals":{"type":"integer"}}},"fdvUsd":{"type":"number","description":"price x mint supply"},"solUsd":{"type":"number"},"priceUsd":{"type":"number"},"confidence":{"enum":["high","medium","low"],"type":"string"},"generatedAt":{"type":"string"},"totalSupply":{"type":"number"},"poolSpreadPct":{"type":"number"},"thinLiquidity":{"type":"boolean"},"totalDepthUsd":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"slot":453828473,"pools":[{"dex":"orca-whirlpool","pool":"C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz","quote":"SOL","depthUsd":936757,"explorer":"https://solscan.io/account/C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz","priceUsd":0.346944},{"dex":"raydium-clmm","pool":"EZVkeboWeXygtq8LMyENHyXdF5wpYrtExRNH9UwB1qYw","quote":"SOL","depthUsd":52494,"explorer":"https://solscan.io/account/EZVkeboWeXygtq8LMyENHyXdF5wpYrtExRNH9UwB1qYw","priceUsd":0.346859}],"token":{"mint":"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN","name":"Jupiter","chain":"solana","symbol":"JUP","decimals":6},"cached":false,"fdvUsd":2380229716,"method":"Orca Whirlpool + Raydium CLMM sqrt_price, PumpSwap reserves and pump.fun bonding curves read from public Solana RPC; depth-weighted across pools within 3% of the deepest; USDC/USDT treated as $1","solUsd":119.73926,"priceUsd":0.346897,"latencyMs":5619,"confidence":"medium","generatedAt":"2026-10-06T07:02:59.431Z","totalSupply":6861486300,"change24hPct":null,"outlierPools":0,"change24hNote":"not available for Solana (public RPC keeps no historical account state)","poolSpreadPct":0.27,"totalDepthUsd":1070052}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t6JXrxPOdTPSRMJnyzFLs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the live USD price of any Solana SPL token by symbol or mint address, read directly from onchain DEX pools (Orca, Raydium, PumpSwap, pump.fun) with no third-party API dependency.","exampleAgentPrompt":"What's the current USD price of BONK on Solana — pull it straight from onchain pools and tell me the confidence level and total liquidity depth too.","exampleUseCases":[{"title":"Real-time memecoin price check","prompt":"What's the live USD price of this pump.fun token — mint address is 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — and is there enough liquidity to trust the price?"},{"title":"Portfolio valuation for Solana holdings","prompt":"I hold JUP, WIF, and RAY — can you get me the current onchain USD prices for all three so I can calculate my portfolio value?"},{"title":"DEX spread and depth monitoring","prompt":"Check the onchain price for JTO right now and tell me the pool spread percentage and depth in USD — I want to know if it's safe to execute a large trade."}],"resultDescription":"Returns a JSON object with: priceUsd (live USD price), token metadata (mint, symbol, name, decimals, chain), pools array (individual pool prices, depth, spread), totalDepthUsd, poolSpreadPct, confidence (high/medium/low), thinLiquidity flag, solUsd (SOL/USD reference price), generatedAt timestamp, and the onchain slot at which the data was read.","failureModes":["400 Bad Request — token param missing or malformed (not charged)","422 Unprocessable Entity — token symbol not recognized or mint not found in any supported pool, or DEX unreachable (not charged)","503 Service Unavailable — server busy or Solana RPC congestion (not charged)","Unknown or very new tokens may return 422 if no active pool exists yet"],"whenToPreferThis":"Choose this endpoint when you need a trustless, onchain-sourced price for any Solana SPL token — especially memecoins, pump.fun launches, or tokens not listed on major CEXes. It is the best choice when you need pool-level depth and spread data alongside the price, or when you distrust third-party price aggregators. Prefer alternatives (e.g. CoinGecko, CoinMarketCap APIs) only for tokens with broad CEX coverage where aggregated VWAP matters more than onchain transparency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:34:27.710Z","isFirstParty":false,"canonicalSlug":"solana-token-price-onchain-e576b550"}