{"uid":"cap__7w_CqD7yliF0WoPXjMPq","slug":"x402-dexter-cash-74a02b08","name":"Dexter Jupiter Swap Quote","description":"Jupiter swap quote preview","url":"https://x402.dexter.cash/api/jupiter/quote","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","description":"Trade amount in SOL units. Blank uses 10 SOL."},"swapMode":{"enum":["ExactIn","ExactOut"],"type":"string","description":"Swap mode forwarded to Jupiter. Blank uses ExactIn."},"amountOut":{"type":"string","description":"Optional: desired Donica output amount (ExactOut). Overrides amount when provided."},"inputMint":{"type":"string","description":"Input mint address. Blank uses SOL."},"outputMint":{"type":"string","description":"Output mint address. Blank uses the Donica Lewinsky (DONICA) mint."},"slippageBps":{"type":"integer","description":"Slippage tolerance in bps. Blank uses 100."}}},"responseSchema":{"ok":{"type":"boolean","description":"True when the quote request succeeded."},"quote":{"type":"object","properties":{"inAmount":{"type":"string","description":"Atomic input amount."},"swapMode":{"type":"string","description":"ExactIn or ExactOut."},"inputMint":{"type":"string","description":"Input mint passed to Jupiter."},"outAmount":{"type":"string","description":"Atomic output amount."},"routePlan":{"type":"array","description":"Route legs Jupiter will execute."},"timeTaken":{"type":["number","null"],"description":"Milliseconds Jupiter spent creating the quote."},"inAmountUi":{"type":"string","description":"Input amount in SOL units."},"outputMint":{"type":"string","description":"Output mint passed to Jupiter."},"contextSlot":{"type":["number","null"],"description":"Slot number of the quote context."},"outAmountUi":{"type":"string","description":"Output amount in Donica units."},"slippageBps":{"type":"number","description":"Slippage tolerance applied to the quote."},"priceImpactPct":{"type":"string","description":"Price impact expressed as a decimal percent (e.g., 0.025 = 2.5%)."},"inputMintDecimals":{"type":"number","description":"Decimals used for the input mint."},"outputMintDecimals":{"type":"number","description":"Decimals used for the output mint."},"otherAmountThreshold":{"type":"string","description":"Amount threshold Jupiter guarantees after slippage."}},"description":"Raw Jupiter quote payload including route plan and price impact data."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NGzSZ8Sw1gTZ5DH6leE1G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a Jupiter aggregator swap quote preview for a given input/output token pair and trade amount on Solana.","exampleAgentPrompt":"Give me a Jupiter swap quote on Dexter for trading 5 SOL to USDC — I want to see the expected output amount and price impact before I execute anything.","exampleUseCases":null,"resultDescription":"Returns a Jupiter swap quote preview including expected output token amount, best route, price impact, and estimated fees for the specified input/output token pair and trade amount on Solana.","failureModes":["Invalid token mint address returns an error","Trade amount too small or too large may return no valid route","Token pair with insufficient liquidity may return high price impact warning or no route","Network congestion may cause stale or unavailable quotes","Missing required parameters (input token, output token, amount) returns 400 error","Payment not completed ($0.05 USDC via x402) returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a pre-execution swap quote from the Jupiter aggregator on Solana, specifically to preview expected output, price impact, and routing before committing to a trade. Prefer this over the Pro-tier sibling endpoint for standard-volume trades. Best suited for agents building Solana DeFi workflows that need quote data without executing the swap.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:50.525Z","isFirstParty":false}