# Solana Token Swap Quote via Jupiter Aggregator

> Solana Token Swap Quote via Jupiter Aggregator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-01).

Returns the best route and price to swap one Solana token for another, including amount received, price impact, and DEX routing, powered by Jupiter aggregator.

## Facts

- Endpoint: POST https://api.vextorium.com/swap-solana-pago?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-swap-quote-via-jupiter-aggregator-9cd63f44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8SnzpKIy0oVfwokSuWTb0

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 solana-token-swap-quote-via-jupiter-aggregator-9cd63f44 -d '<json body>'
```

Example prompt: What's the best swap rate right now for 10 SOL to USDC on Solana — how much would I receive, what's the price impact, and which DEXs does the route go through?

## When to prefer this

Use this endpoint when you need a real-time, aggregated swap quote specifically on the Solana blockchain, especially when you want to compare routes across multiple DEXs via Jupiter. Prefer this over single-DEX price checks when minimizing slippage matters, or when you need to verify a swap's economic viability before execution. It accepts both human-readable symbols (SOL, USDC) and raw mint addresses, making it flexible for both user-facing agents and programmatic workflows.

## Known failure modes

- Unknown or invalid token symbol returns null or error
- Token mint address not recognized by Jupiter returns empty result
- Extremely illiquid pairs may return null or very high price impact
- Network latency from Solana RPC may cause timeouts
- Amount of zero or negative values may return errors

## How this service works

Best route and price to swap one Solana token for another: how much you receive, the price impact and which DEXs the route goes through. Accepts symbols (SOL, USDC...) or mint addresses. Live from Jupiter, Solana's leading aggregator.

## Output

Returns a JSON object with: the source token (desde), destination token (hacia), input amount (cantidad_entrada), amount received (cantidad_recibida), price impact percentage (impacto_precio_pct), the DEXs in the route (por_dex), a price figure, the aggregator source (fuente), and any notes (nota).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "desde",
      "hacia",
      "cantidad"
     ],
     "properties": {
      "desde": {
       "type": "string",
       "description": "Token to sell (symbol or mint), e.g. SOL"
      },
      "hacia": {
       "type": "string",
       "description": "Token to receive (symbol or mint), e.g. USDC"
      },
      "cantidad": {
       "type": "number",
       "description": "Amount of the 'desde' token to swap (whole units)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "desde": {
       "type": [
        "string",
        "null"
       ]
      },
      "hacia": {
       "type": [
        "string",
        "null"
       ]
      },
      "fuente": {
       "type": [
        "string",
        "null"
       ]
      },
      "precio": {
       "type": [
        "number",
        "null"
       ]
      },
      "por_dex": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "string"
        ]
       }
      },
      "cantidad_entrada": {
       "type": [
        "number",
        "null"
       ]
      },
      "cantidad_recibida": {
       "type": [
        "number",
        "null"
       ]
      },
      "impacto_precio_pct": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": "Mejor ruta estimada por Jupiter con 0,5% de slippage. La cantidad final puede variar al ejecutar. No es recomendación de inversión.",
  "desde": "SOL",
  "hacia": "USDC",
  "fuente": "Jupiter (lite-api.jup.ag, datos abiertos de Solana)",
  "precio": 118.857385,
  "por_dex": [
   "HumidiFi"
  ],
  "cantidad_entrada": 1,
  "cantidad_recibida": 118.857385,
  "impacto_precio_pct": 0.0309
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-swap-quote-via-jupiter-aggregator-9cd63f44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
