# Losbeto Jupiter Swap

> Losbeto Jupiter Swap is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns a Jupiter DEX swap quote or transaction for exchanging tokens on Solana via the Jupiter aggregator.

## Facts

- Endpoint: GET https://losbeto-production-dd7c.up.railway.app/jupiter-swap
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-jupiter-swap-d90a4bbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OhXpgjQfnFi8aHBaNW-Px

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-d90a4bbb
```

Example prompt: Get me a Jupiter swap quote to exchange 10 SOL for USDC on Solana — show me the best route and expected output amount.

## When to prefer this

Choose this endpoint when you need on-chain Solana token swap quotes or transactions routed through Jupiter aggregator, especially when operating in an AI agent context that supports x402 USDC micropayments. Prefer this over direct DEX APIs when you want best-price routing across multiple Solana liquidity pools without managing Jupiter API keys.

## Known failure modes

- Invalid or unsupported token mint addresses return an error
- Insufficient liquidity for the requested swap amount
- Slippage tolerance exceeded causing quote failure
- Payment of $0.02 USDC not completed results in HTTP 402
- Solana RPC or Jupiter API downtime causes timeout or 503
- Malformed input parameters return 400 bad request

## 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 a Jupiter-aggregated swap quote including the optimal route across Solana DEX pools, expected output token amount, price impact, and optionally a serialized swap transaction ready for signing and broadcasting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-jupiter-swap-d90a4bbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from losbeto-production-dd7c.up.railway.app](https://www.zero.xyz/host/losbeto-production-dd7c.up.railway.app/llms.txt)
