# Syra Jupiter Swap Quote

> Syra Jupiter Swap Quote is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.00108/call, status unknown (last checked 2026-09-15).

Get a real-time swap quote for a Solana token pair via Jupiter aggregator, returning optimal routing and price data

## Facts

- Endpoint: GET https://api.syraa.fun/jupiter/quote
- Price: $0.00108/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/syra-jupiter-swap-quote-74e255d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bi-VgI8NSO1ayZ--PoBxT

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 syra-jupiter-swap-quote-74e255d5
```

Example prompt: What's the best swap rate to convert 1,000,000 USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) into SOL (mint So11111111111111111111111111111111111111112) on Solana right now, using ExactIn mode with 50 basis points slippage?

## When to prefer this

Use this endpoint when you need a real-time swap quote for any Solana SPL token pair routed through Jupiter aggregator, especially within an autonomous agent workflow that supports x402 micropayment protocol. Prefer this over manual RPC calls or other DEX APIs when you want Jupiter's optimal multi-route aggregation and are operating in a Solana-native agent environment.

## Known failure modes

- Invalid or non-existent mint address returns an error
- Amount of 0 or non-integer string causes validation failure
- Unsupported token pair with no liquidity returns no routes
- Slippage too low for volatile pair may cause quote rejection
- Payment of 0.003 USDC not fulfilled returns 402 Payment Required
- Network congestion on Solana may cause stale or unavailable quotes

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

Returns a JSON object indicating success (ok: true) and payment confirmation (paid: true), along with Jupiter quote data including expected output amount, price impact, swap routes, and fee information for the requested token pair

## 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",
     "queryParams": {
      "amount": {
       "type": "string",
       "required": true,
       "description": "Input amount in raw token units (integer string)"
      },
      "swapMode": {
       "type": "string",
       "required": false,
       "description": "Jupiter swapMode e.g. ExactIn (default)"
      },
      "inputMint": {
       "type": "string",
       "required": true,
       "description": "Solana token mint (base58)"
      },
      "outputMint": {
       "type": "string",
       "required": true,
       "description": "Solana token mint (base58)"
      },
      "slippageBps": {
       "type": "integer",
       "required": false,
       "description": "Slippage in basis points (default 50, max 5000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/syra-jupiter-swap-quote-74e255d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
