# Losbeto Jupiter Swap

> Losbeto Jupiter Swap is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Execute a token swap on Solana via Jupiter aggregator, returning swap transaction data or quote results.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/jupiter-swap
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-jupiter-swap-5162c4a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_57NVQ6PbgixxOPykzOz_3

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 losbeto-jupiter-swap-5162c4a2
```

Example prompt: Swap 10 SOL for USDC using the Jupiter aggregator on Solana — get me the best available route and execute the swap with 0.5% slippage tolerance.

## When to prefer this

Choose this endpoint when you need to perform token swaps specifically on the Solana blockchain using Jupiter's DEX aggregation, which routes across many liquidity sources for best price. Prefer over direct DEX calls when optimal routing across multiple pools is required. Not suitable for EVM chains (use Base endpoints for that).

## Known failure modes

- Insufficient liquidity for the requested token pair — no route found
- Slippage tolerance exceeded due to price movement during quote
- Invalid or unsupported token mint addresses
- Malformed input schema leading to 400 error
- Payment not received or x402 payment failure causing 402 response
- Network congestion causing stale quotes

## How this service works

Losbeto: 67 endpoints x402 monetizados. Solana + Base. USDC micropayments para AI agents. Preços a partir de $0.003.

## Output

Returns JSON containing swap quote details including output token amount, price impact, routing path across liquidity pools, and optionally a serialized Solana transaction ready for signing and broadcasting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "pair": {
       "type": "string",
       "description": "Currency pair, e.g. EUR/USD, GBP/USD, USD/JPY"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Jupiter swap quote with the best DEX route and expected slippage for a given pair and size, so an agent can price execution before committing."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-jupiter-swap-5162c4a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
