{"uid":"cap_Tz2NzO72xXYaBvzqVTX-e","slug":"x402-silverbackdefi-app-f0efd7ac","name":"Jupiter Aggregator Swap Quote","description":"Get a swap quote from Jupiter aggregator for Solana tokens. Returns optimal route, price impact, and fees.","url":"https://x402.silverbackdefi.app/api/v1/jupiter-quote","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 in smallest unit (lamports for SOL, base units for SPL tokens)"},"inputMint":{"type":"string","description":"Solana token mint address to swap from (e.g. SOL: So11111111111111111111111111111111111111112)"},"outputMint":{"type":"string","description":"Solana token mint address to swap to (e.g. USDC: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)"},"slippageBps":{"type":"number","description":"Slippage tolerance in basis points (default: 50 = 0.5%)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"amount":"1000000","inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","slippageBps":50}}},"response":{"data":{"source":"Jupiter","inAmount":"1000000","inputMint":"So11111111111111111111111111111111111111112","outAmount":"66807","routePlan":[{"bps":null,"percent":100,"swapInfo":{"label":"Quantum","ammKey":"2SixkjMjaLqXcEEJZfeth7qjH711R2uvp6TrUaHNMB65","inAmount":"1000000","inputMint":"So11111111111111111111111111111111111111112","outAmount":"66807","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}],"timeTaken":0.001136399,"timestamp":"2026-06-13T04:22:51.934Z","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","contextSlot":426125370,"priceImpactPct":"0","otherAmountThreshold":"66473"},"success":true}},"exampleRequest":{"amount":"1000000","inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","slippageBps":50},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_xF2m2zHORzBXchAiIV-vG","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 an optimal swap quote from Jupiter aggregator for any two Solana tokens, including route, price impact, and fees.","exampleAgentPrompt":"What's the best Jupiter quote for swapping 1 SOL (So11111111111111111111111111111111111111112) to USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) right now, with a slippage tolerance of 0.5%?","exampleUseCases":null,"resultDescription":"Returns a success flag and a data object containing the optimal swap route across Solana DEXes, estimated output amount, price impact percentage, and fee breakdown for the requested token pair and input amount.","failureModes":["Invalid or unrecognized token mint address returns an error","Amount set to zero or missing causes a validation failure","Unsupported token pair with no available liquidity route returns no-route error","Network congestion on Solana may cause delayed or stale quotes","Slippage set too low may result in no viable route being returned"],"whenToPreferThis":"Use this endpoint when you need real-time swap quotes specifically on the Solana blockchain via Jupiter aggregator, which aggregates routes across all major Solana DEXes for optimal pricing. Prefer this over single-DEX price checks when you want the best available route and price impact estimate before executing a swap.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:27:46.304Z","isFirstParty":false}