{"uid":"cap_8pEOseyzun9-z_PS7W0FL","slug":"gateway-spraay-app-362d4588","name":"Jupiter v6 Swap Quote (Solana) via Spraay Gateway","description":"Jupiter v6 swap quote on Solana — price, route, slippage. Solana-native.","url":"https://gateway.spraay.app/api/v1/solana/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"},"inputMint":{"type":"string"},"outputMint":{"type":"string"},"slippageBps":{"type":"number"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"amount":"1000000","inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outputMint":"So11111111111111111111111111111111111111112","slippageBps":50}}},"response":{"raw":{"inAmount":"1000000","swapMode":"ExactIn","inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outAmount":"13839732","routePlan":[{"bps":null,"percent":100,"swapInfo":{"label":"Meteora DLMM","ammKey":"HTvjzsfX3yU6BUodCjZ5vZkUrAxMDTrBs3CJaq43ashR","inAmount":"1000000","inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outAmount":"13839732","outputMint":"So11111111111111111111111111111111111111112","updateContextSlot":"424117120"}}],"timeTaken":0.001772995,"outputMint":"So11111111111111111111111111111111111111112","useRewards":null,"contextSlot":424117153,"platformFee":null,"slippageBps":50,"swapUsdValue":"0.999668398370485842760037349","priceImpactPct":"0.000331601629514157239962651","otherRoutePlans":null,"instructionVersion":null,"loadedLongtailToken":false,"otherAmountThreshold":"13770534","longtailMarketQuoteReport":null,"mostReliableAmmsQuoteReport":{"info":{"BZtgQEyS6eXUXicYPHecYQ7PybqodXQMvkjUbP4R8mUU":"1000903","Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE":"13834077"}},"useIncurredSlippageForQuoting":null},"source":"jupiter-v6","inAmount":"1000000","swapMode":"ExactIn","inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outAmount":"13839732","routeHops":1,"outputMint":"So11111111111111111111111111111111111111112","slippageBps":50,"priceImpactPct":"0.000331601629514157239962651","otherAmountThreshold":"13770534"}},"exampleRequest":{"amount":"1000000","inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outputMint":"So11111111111111111111111111111111111111112","slippageBps":50},"tags":["x402"],"displayCostAmount":"0.005","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RwAe8BPX2h-NFtuDalT77","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a swap quote (price, route, slippage) for a token pair on Solana using Jupiter v6 aggregator.","exampleAgentPrompt":"Can you get me a Jupiter v6 swap quote on Solana for swapping 1000000 USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) to SOL (mint So11111111111111111111111111111111111111112), with a slippage tolerance of 50 basis points?","exampleUseCases":[{"title":"SOL to USDC price check","prompt":"Can you check how much USDC I'd get for swapping 5 SOL right now on Jupiter? I want to see the best route and what the slippage looks like before I pull the trigger."},{"title":"Best route for JUP to BONK","prompt":"I'm thinking of swapping 10,000 JUP tokens to BONK on Solana — can you pull a Jupiter v6 quote and show me the best route, expected output, and price impact?"},{"title":"Estimate SPL token swap output","prompt":"Before I execute anything on-chain, can you get me a Jupiter swap quote for converting 500 USDT to mSOL on Solana with a slippage tolerance of 30 basis points? I just want to confirm the pricing looks reasonable."}],"resultDescription":"Returns a Jupiter v6 swap quote including the expected output amount, best route through Solana DEXes, price impact, and slippage details for the specified token pair and input amount.","failureModes":["Invalid inputMint or outputMint address returns an error","Amount not provided or malformed returns 400","No liquidity route found for the token pair","Slippage too tight causing no valid route","Payment not included or insufficient (x402 payment required, $0.005 USDC)","Jupiter API upstream unavailability"],"whenToPreferThis":"Use this endpoint when you need Solana-native swap quotes via Jupiter v6 aggregator — the dominant Solana DEX aggregator covering most SPL token pairs. Prefer over Uniswap V3 quotes when dealing with Solana tokens. Ideal before executing on-chain swaps to confirm pricing, route, and slippage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:18.898Z","isFirstParty":false}