# RagRadar Token Swap Quote

> RagRadar Token Swap Quote is a paid API for AI agents from ragradar.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-11).

Returns a swap quote for a given token pair on a specified blockchain (Base, Arbitrum, or Solana)

## Facts

- Endpoint: GET https://ragradar.vercel.app/api/quote/%7Bchain%7D/%7Bfrom%7D/%7Bto%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ragradar-token-swap-quote-e779b07d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GO93-mDFEy9LsUFS2vAYi

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 ragradar-token-swap-quote-e779b07d
```

Example prompt: What's the swap quote on Base for trading 100 USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to ETH (0x4200000000000000000000000000000000000006)?

## When to prefer this

Use this endpoint when you need a swap quote for tokens on Base, Arbitrum, or Solana and want AI-enhanced multi-chain analytics context. Prefer this over generic DEX aggregators when you need cross-chain quote comparison in a single API with integrated on-chain intelligence.

## Known failure modes

- Invalid chain identifier returns 404 or error
- Unsupported token pair returns no quote or empty result
- Invalid token addresses return validation error
- Zero or negative amount returns error
- Network congestion may cause stale quotes
- Token with no liquidity returns no available route

## How this service works

AI-powered on-chain analytics across Base, Arbitrum, and Solana. 82 REST endpoints including Portfolio P&L tracker, smart money tracking, whale alerts, token intelligence, DeFi yields, Solana degen tools, social signals, gas tracker, approvals scanner, block checker.

## Output

Returns a swap quote including expected output amount, exchange rate, price impact, and routing details for the specified token pair and amount on the target chain.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "amount": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ragradar-token-swap-quote-e779b07d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ragradar.vercel.app](https://www.zero.xyz/host/ragradar.vercel.app/llms.txt)
