{"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":null,"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-10-12T12:38:08.692Z","isFirstParty":false,"canonicalSlug":"solana-token-price-onchain-e576b550"}