Agent402 Solana Swap Quote is a paid API for AI agents from agent402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).
Returns a pay-per-call DEX swap quote for a Solana token pair, including route hops, output amount, price impact, and minimum received amount.
Executable swap quote on Solana from Jupiter's aggregator: input and output mint, amount in base units, slippage in bps - returns out amount, minimum out after slippage, price impact percent, the routed DEX labels in hop order with split percentages, the USD value of the swap and the context slot. A real multi-hop route across Solana DEX liquidity, so the number reflects depth, not a spot price. Quote only - nothing is signed or sent. Keyless.
Returns a JSON object containing: the number of route hops, an ordered array of hop details (DEX label, percent of liquidity, input/output mints and amounts), total input and output amounts in base units, swap mode, price impact percentage, minimum output amount after slippage, estimated USD value of the swap, the Jupiter context slot at quote time, and the fetch timestamp.
POSThttps://agent402.tools/api/sol-swap-quoteUse this endpoint when you need a real-time Solana DEX swap quote without API keys or signup — the x402 micropayment model means any agent with a wallet can call it instantly at $0.003 per call. Prefer this over building your own Jupiter integration when you want a managed, pay-per-call quote that includes multi-hop routing, price impact, and minimum output in one response. Not suitable for actually executing the swap (quote only) or for non-Solana chains.
| Field | Type | Description |
|---|---|---|
| amount | string | Input amount in base units (integer string; 1 SOL = 1000000000 lamports, 1 USDC = 1000000). |
| inputMint | string | Base58 mint you sell. |
| outputMint | string | Base58 mint you buy. |
| slippageBps | number | Slippage tolerance in basis points (0-5000, default 50 = 0.5%). |
{
"type": "json",
"example": {
"hops": 2,
"route": [
{
"label": "BisonFi",
"percent": 100,
"inAmount": "1000000000",
"inputMint": "So11111111111111111111111111111111111111112",
"outAmount": "93720054",
"outputMint": "Es9v..."
},
{
"label": "SolFi V2",
"percent": 100,
"inAmount": "93720054",
"inputMint": "Es9v...",
"outAmount": "93708783",
"outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
],
"source": "jupiter",
"inAmount": "1000000000",
"swapMode": "ExactIn",
"fetchedAt": "2026-08-22T12:00:00.000Z",
"inputMint": "So11111111111111111111111111111111111111112",
"outAmount": "93708783",
"outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"contextSlot": 440919041,
"slippageBps": 50,
"minOutAmount": "93240240",
"swapUsdValue": 93.7,
"priceImpactPct": 0
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"