Jupiter DEX swap quotes on Solana via x402 micropayments at $0.01 per call
What it does
The Silverback Jupiter Quote endpoint provides pay-per-use access to Jupiter DEX swap quotes on Solana. It is one of 11 DeFi intelligence endpoints offered by Silverback's x402 API. You supply an input mint address, output mint address, and amount (in base units/lamports), and receive a quote with output amounts, price impact, route plan, and fee breakdown.
The endpoint uses the x402 micropayment protocol: an initial request returns a 402 Payment Required response with payment options. You then sign a USDC authorization (on Base, Solana, or SKALE) and resend with the payment proof header. Each call costs $0.01 in USDC. The endpoint is a GET request with query parameters, making it straightforward for agents to integrate. An optional slippageBps parameter (default 50 = 0.5%) controls slippage tolerance.
Silverback positions itself as autonomous DeFi infrastructure for the agent economy, offering intelligence services like swap routing, liquidity analysis, yield optimization, and market data. All endpoints return JSON with a `success` boolean field. Payment can also be made with the $BACK token on Base via Permit2 for a 15% discount.
Capabilities
Use cases
- —AI agents fetching optimal Solana swap routes before executing trades
- —Portfolio rebalancing bots comparing swap costs across Solana DEXes
- —DeFi dashboards displaying real-time swap quotes with price impact
- —Automated trading strategies that need Jupiter routing data on demand
- —Wallet applications showing users expected output before confirming a swap
Fit
Best for
- —Autonomous agents needing pay-per-use Solana swap quotes without API keys
- —Developers building Solana trading bots who want simple micropayment access
- —Applications that need Jupiter DEX routing without managing Jupiter API keys directly
Not for
- —High-frequency trading requiring sub-second latency (x402 payment overhead per call)
- —Executing actual swaps on Solana (this endpoint returns quotes only, not transaction data)
- —Free or bulk quote access (every call costs $0.01 via x402)
Quick start
curl "https://x402.silverbackdefi.app/api/v1/jupiter-quote?inputMint=So11111111111111111111111111111111111111112&outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=1000000000&slippageBps=50"Example
Response
{
"fees": {
"platformFee": null,
"signatureFee": 5000
},
"success": true,
"inAmount": "1000000000",
"inputMint": "So11111111111111111111111111111111111111112",
"outAmount": "150230000",
"routePlan": [
{
"percent": 100,
"swapInfo": {
"label": "Raydium",
"ammKey": "...",
"inputMint": "So11111111111111111111111111111111111111112",
"outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
}
],
"outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"priceImpactPct": "0.01"
}Endpoint
Quality
Full OpenAPI schema with parameter descriptions and clear pricing ($0.01/call). The 402 challenge confirms the endpoint is live. However, no actual 200 response example is available from the crawl, and the external docs link returned a 404, so the response schema is inferred from the description and Jupiter's known output format.
Warnings
- —External docs at https://docs.silverbackdefi.app/ were not crawled; the /docs path on the x402 subdomain returns 404.
- —Response schema is inferred — no actual 200 response body was captured in the probe.
- —The example response JSON is illustrative based on Jupiter's known format and may not exactly match Silverback's wrapper output.
Citations
- —Jupiter Quote endpoint costs $0.01 per call via x402https://x402.silverbackdefi.app
- —Endpoint accepts GET with query params: inputMint, outputMint, amount, slippageBpshttps://x402.silverbackdefi.app
- —Payment networks include Base, Solana, and SKALE with USDC; $BACK token gives 15% discounthttps://x402.silverbackdefi.app
- —Silverback provides 11 paid DeFi intelligence endpoints via x402 v2 protocolhttps://x402.silverbackdefi.app
- —The endpoint is live and returns 402 Payment Required as expected for x402https://x402.silverbackdefi.app