# Jupiter Aggregator Swap Quote

> Jupiter Aggregator Swap Quote is a paid API for AI agents from x402.silverbackdefi.app, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Returns an optimal swap quote from Jupiter aggregator for any two Solana tokens, including route, price impact, and fees.

## Facts

- Endpoint: GET https://x402.silverbackdefi.app/api/v1/jupiter-quote
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-silverbackdefi-app-f0efd7ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tz2NzO72xXYaBvzqVTX-e

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-silverbackdefi-app-f0efd7ac
```

Example prompt: What's the best Jupiter quote for swapping 1 SOL (So11111111111111111111111111111111111111112) to USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) right now, with a slippage tolerance of 0.5%?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Get a swap quote from Jupiter aggregator for Solana tokens. Returns optimal route, price impact, and fees.

## Output

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.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "amount": "1000000",
   "inputMint": "So11111111111111111111111111111111111111112",
   "outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
   "slippageBps": 50
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-silverbackdefi-app-f0efd7ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.silverbackdefi.app](https://www.zero.xyz/host/x402.silverbackdefi.app/llms.txt)
