{"uid":"cap_QuhVmGSWBu84NxXh_YnI_","slug":"jupiter-solana-swap-routing-quote-5c226048","name":"Jupiter Solana Swap Routing Quote","description":"Jupiter aggregator quote on Solana for an exact-input swap: input and output amounts in base units, price impact %, USD value, slippage, and the AMM route legs (venue labels). Quote only, no transaction. Amounts stay in the token's smallest unit (decimals are not looked up).","url":"https://api.chainmarket-api.workers.dev/api/crypto/jupiter-solana-routing?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":["inputMint","outputMint","amount"],"properties":{"amount":{"type":"string","description":"Amount to sell in the smallest unit (lamports for SOL)"},"inputMint":{"type":"string","description":"Mint to sell (base58), e.g. SOL wrapped mint So11111111111111111111111111111111111111112"},"outputMint":{"type":"string","description":"Mint to buy (base58)"},"slippageBps":{"type":"string","description":"Slippage tolerance in basis points, 1 to 1000 (default 50)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"https://lite-api.jup.ag/swap/v1/quote","inAmount":"100000000","checkedAt":"2026-10-23T09:36:04.755Z","inputMint":"So11111111111111111111111111111111111111112","outAmount":"10393983","routeLegs":1,"outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","routeVenues":["TesseraV"],"slippageBps":50,"swapUsdValue":"10.389101225338210","priceImpactPct":0,"otherAmountThreshold":"10342014"}},"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_ry5K8dVcLTEYqA-gK63ze","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 a swap routing quote for a Solana token pair via Jupiter aggregator, including best route, output amount, price impact, and USD value","exampleAgentPrompt":"What's the best swap route and output amount to trade 1 SOL (So11111111111111111111111111111111111111112) for USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) on Solana right now, with a 50 basis point slippage tolerance?","exampleUseCases":[{"title":"Pre-trade price impact check","prompt":"Before I swap 500 SOL for USDC on Solana, can you check the Jupiter routing quote and tell me the price impact percentage and which venues the route goes through?"},{"title":"Best rate comparison for bot trading","prompt":"I'm building a Solana trading bot — get me the current Jupiter quote to swap 10,000,000 lamports of SOL into BONK (DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263), with slippage set to 100 basis points."},{"title":"USD value estimate for swap","prompt":"How much is 50 SOL worth in USDC right now according to Jupiter's routing engine, including the USD value of the swap and how many route legs it uses?"}],"resultDescription":"Returns a JSON object with: inputMint and outputMint addresses, inAmount and outAmount in smallest units, swapUsdValue (USD equivalent), routeLegs (number of hops), routeVenues (list of DEX venues used), priceImpactPct, slippageBps, otherAmountThreshold (minimum output after slippage), and a checkedAt timestamp.","failureModes":["Missing required query parameters (inputMint, outputMint, amount) returns 400 error","Invalid or non-existent mint address returns error from Jupiter API","Amount too small for any available route may return no quote","High slippage or illiquid pairs may result in high priceImpactPct","Network congestion on Solana may cause timeout or stale quote","Payment failure (insufficient USDC balance) means call is not charged but not executed"],"whenToPreferThis":"Use this endpoint when you need a real-time, no-signup swap routing quote on the Solana blockchain via Jupiter aggregator — especially when you want to check DEX route quality, price impact, USD value, and minimum output before executing a swap. Prefer over manual RPC calls or raw Jupiter API calls when you want pay-per-use access with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:45:57.219Z","isFirstParty":false,"canonicalSlug":"jupiter-solana-swap-routing-quote-5c226048"}