# forge-x402 Solana Spread & Route Quality

> forge-x402 Solana Spread & Route Quality is a paid API for AI agents from temporary-brisk-indigo-3tes07o.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns live Solana DEX venue spread in basis points and best/worst route output for a given token pair and amount via Jupiter aggregation

## Facts

- Endpoint: POST https://temporary-brisk-indigo-3tes07o.vercel.app/api/v1/solana/spread
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forge-x402-solana-spread-route-quality-baa45d48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XiXdR7gJhvE6Zo_4EBD4v

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 forge-x402-solana-spread-route-quality-baa45d48 -d '<json body>'
```

Example prompt: What's the current venue spread in basis points for swapping 100 SOL (mint So11111111111111111111111111111111111111112) to USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), and is the Jupiter route quality good right now — amount is 100000000 raw units?

## When to prefer this

Use this endpoint when you need real-time Solana DEX spread and route quality data for a specific token pair before executing a swap, or when monitoring market microstructure on Solana. It is ideal for trading agents that need pay-per-call pricing without API key management. Prefer this over generic price feeds when you specifically need venue spread in basis points and multi-leg route comparison via Jupiter.

## Known failure modes

- Invalid or unknown mint address returns an error or empty route
- Illiquid token pairs may return no route or extremely high spread values
- Very large amounts may fail if liquidity is insufficient for the requested size
- Stale data if Jupiter aggregator is temporarily unavailable
- Payment failure via x402 if USDC balance on Base or Solana is insufficient

## How this service works

Live Solana DEX data for trading agents: Jupiter route quality, venue spreads in bps, liquidity snapshots, new pairs, trending tokens. Pay per call via x402 with USDC on Base or Solana. No API keys.

## Output

Returns a JSON object with a timestamp, number of route legs, input amount, input and output mint addresses, best output amount, worst single-leg output amount, and the venue spread in basis points (e.g. 3.46 bps for SOL/USDC). The spread value indicates the cost of routing across DEX venues on Solana.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "string",
   "description": "Input amount in raw units"
  },
  "inMint": {
   "type": "string",
   "description": "Input token mint"
  },
  "outMint": {
   "type": "string",
   "description": "Output token mint"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "at": "2026-09-01T00:00:00.000Z",
 "legs": 2,
 "amount": "100000000",
 "inMint": "So11111111111111111111111111111111111111112",
 "bestOut": "10391592",
 "outMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
 "worstLegOut": "10388001",
 "venueSpreadBps": 3.46
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forge-x402-solana-spread-route-quality-baa45d48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from temporary-brisk-indigo-3tes07o.vercel.app](https://www.zero.xyz/host/temporary-brisk-indigo-3tes07o.vercel.app/llms.txt)
