{"uid":"cap_jve1VMtBti8_ZYvGK1Y-7","slug":"solana-raydium-amm-v4-vault-ratio-lookup-138a2c00","name":"Solana Raydium AMM v4 Vault Ratio Lookup","description":"Indicative Solana Raydium AMM v4 vault ratios for SOL-USDC and RAY-USDC; not executable quotes or trending","url":"https://solana-x402-microtools-mainnet.valecity.workers.dev/api/crypto?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","properties":{"pair":{"enum":["SOL-USDC","RAY-USDC","all"],"type":"string","default":"SOL-USDC","description":"all returns curated pool snapshots, not trending rankings"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["source","method","pairs","trending"],"properties":{"pairs":{"type":"array","items":{"type":"object","required":["pair","price_usdc","slot","base_vault","quote_vault"],"properties":{"pair":{"type":"string"},"slot":{"type":"integer"},"base_vault":{"type":"string"},"price_usdc":{"type":"number"},"quote_vault":{"type":"string"}}}},"method":{"type":"string"},"source":{"type":"string"},"trending":{"type":"boolean","const":false}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e3cnuiILtdLmNUaim34wH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns indicative vault ratios and prices for SOL-USDC and RAY-USDC trading pairs from Raydium AMM v4 pool snapshots on Solana mainnet","exampleAgentPrompt":"What's the current indicative price for SOL-USDC on Raydium AMM right now — can you pull the latest vault ratio snapshot?","exampleUseCases":[{"title":"Monitor SOL price on Raydium","prompt":"Can you check the current indicative SOL-USDC price from Raydium's AMM v4 vault ratios and tell me what slot that data is from?"},{"title":"Compare both Raydium pool snapshots","prompt":"Pull all the Raydium curated pool snapshots — I want to see the vault ratios and prices for both SOL-USDC and RAY-USDC at the same time."},{"title":"Track RAY-USDC pool data for analysis","prompt":"Get me the latest indicative RAY-USDC vault ratio from Raydium AMM v4 on Solana mainnet, including the base and quote vault addresses."}],"resultDescription":"Returns a JSON object with a list of pool snapshots per requested pair, each containing the pair name, indicative price in USDC, the Solana slot number the data was captured at, and the base and quote vault addresses. Also includes a 'trending' field always set to false, and a source/method metadata field. The data is informational and not an executable quote.","failureModes":["Invalid pair enum value returns an error or empty result","Stale slot data if Solana RPC is lagging","No executable quote — price is indicative only and may deviate from actual swap rates","Payment not fulfilled (x402 payment required, returns 402 if USDC payment not attached)","Network timeout if Cloudflare Worker or upstream Solana RPC is unavailable"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost indicative price reference for SOL-USDC or RAY-USDC directly from Raydium AMM v4 vault ratios on Solana mainnet. Prefer this over exchange ticker APIs when you specifically want on-chain AMM pool data rather than order book prices. Do not use this for executable swap quotes or for discovering trending pools — it explicitly returns curated snapshots only with trending=false.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:32:55.849Z","isFirstParty":false,"canonicalSlug":"solana-raydium-amm-v4-vault-ratio-lookup-138a2c00"}