# Jupiter v6 Swap Quote (Solana) via Spraay Gateway

> Jupiter v6 Swap Quote (Solana) via Spraay Gateway is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns a swap quote (price, route, slippage) for a token pair on Solana using Jupiter v6 aggregator.

## Facts

- Endpoint: GET https://gateway.spraay.app/api/v1/solana/jupiter/quote
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-spraay-app-362d4588
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8pEOseyzun9-z_PS7W0FL

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 gateway-spraay-app-362d4588
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Jupiter v6 swap quote on Solana — price, route, slippage. Solana-native.

## Output

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.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "amount": "1000000",
   "inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
   "outputMint": "So11111111111111111111111111111111111111112",
   "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"
      },
      "inputMint": {
       "type": "string"
      },
      "outputMint": {
       "type": "string"
      },
      "slippageBps": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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