# forge-x402 Solana DEX Quote

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

Fetches a live Jupiter-routed swap quote for a Solana token pair, returning output amount, price impact, and route plan, billed per-call via x402 USDC micropayment.

## Facts

- Endpoint: POST https://temporary-brisk-indigo-3tes07o.vercel.app/api/v1/solana/quote
- Price: $0.001/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-dex-quote-edd6de0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N8lUIgvhkfhC_PC6P9gae

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-dex-quote-edd6de0b -d '<json body>'
```

Example prompt: Get me a live Jupiter swap quote for swapping 1 SOL (100000000 raw units) to USDC on Solana with 50 basis points slippage tolerance, and tell me the best output amount and price impact.

## When to prefer this

Choose this endpoint when you need a real-time, no-API-key Solana DEX quote paid per-call — ideal for agents that trade infrequently or want to avoid subscription overhead. Prefer it over direct Jupiter API calls when operating in an x402 micropayment context on Base or Solana. Best for pre-trade analysis, arbitrage checks, and liquidity assessment rather than high-frequency trading loops.

## Known failure modes

- Unsupported or invalid mint address returns an error or empty route
- Insufficient liquidity for the requested amount may return high price impact or no route
- Stale or missing Jupiter route data may cause timeout or empty response
- Payment failure via x402 (insufficient USDC balance) blocks the call entirely
- Very large amounts may exceed available liquidity and return no valid route

## 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 the timestamp, input/output mint addresses, raw input and output amounts, slippage used in bps, number of route hops (routePlanLen), and price impact percentage. This lets the agent assess execution quality before committing to a trade.

## 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"
  },
  "slippageBps": {
   "type": "string",
   "description": "Slippage tolerance, basis points"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "at": "2026-09-01T00:00:00.000Z",
 "inMint": "So11111111111111111111111111111111111111112",
 "outMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
 "inAmount": "100000000",
 "outAmount": "10391592",
 "slippageBps": 50,
 "routePlanLen": 1,
 "priceImpactPct": "0"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forge-x402-solana-dex-quote-edd6de0b/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)
