# Agent Tollgate Engine – Cross-Chain Swap Quote & Route Builder

> Agent Tollgate Engine – Cross-Chain Swap Quote & Route Builder is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-03).

Gets a cross-chain token swap quote and builds the transaction route across Solana, EVM chains, and Bitcoin via the Jupiter/aggregated routing engine.

## Facts

- Endpoint: POST https://skinwinking.com/api/v1/router/quote-and-build?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tollgate-engine-cross-chain-swap-quote-route-builder-a92f666e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9FQXJ6c7SQcKLzYoeKYnZ

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 agent-tollgate-engine-cross-chain-swap-quote-route-builder-a92f666e -d '<json body>'
```

Example prompt: Get me a swap quote to convert 1 SOL (1000000000 lamports) to USDC on Base, routing from Solana with fast priority and 50 bps slippage, using my wallet 7xKf...abc as the signer.

## When to prefer this

Choose this endpoint when an agent needs to compute an optimal cross-chain swap route and preview expected output amounts before signing — especially when spanning Solana, EVM chains (Ethereum, Arbitrum, Base, Polygon), Bitcoin, or Tron. It is ideal for DeFi agents that need to show users a real-time quote and fee estimate prior to executing a swap, bridging stablecoins across networks, or automating multi-hop token conversions.

## Known failure modes

- Unsupported token pair or chain combination — returns error with no route found
- Input amount too small or too large for available liquidity — slippage or quote failure
- Invalid wallet or destination address format — validation error
- Slippage BPS out of range (must be 1–1000) — schema validation error
- Payment not received or x402 payment failed — 402 response blocking the call
- Network congestion causing stale or unavailable quotes — timeout or empty route

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

Returns a JSON object with the quoted input and output amounts in base units, the fee in basis points, and the selected routing engine (e.g. 'jupiter'), enabling the agent to display the effective rate and proceed to transaction signing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "string",
   "description": "Input amount in base units (lamports, wei, 1e-6 USDC)"
  },
  "toChain": {
   "enum": [
    "solana",
    "ethereum",
    "arbitrum",
    "base",
    "polygon",
    "bitcoin",
    "tron"
   ],
   "type": "string"
  },
  "priority": {
   "enum": [
    "none",
    "fast",
    "turbo"
   ],
   "type": "string",
   "default": "fast"
  },
  "fromChain": {
   "enum": [
    "solana",
    "ethereum",
    "arbitrum",
    "base",
    "polygon",
    "bitcoin",
    "tron"
   ],
   "type": "string"
  },
  "inputToken": {
   "type": "string",
   "description": "Token address/mint, or symbol (SOL, USDC, USDT, ETH)"
  },
  "outputToken": {
   "type": "string",
   "description": "Token address/mint, or symbol"
  },
  "slippageBps": {
   "type": "integer",
   "default": 50,
   "maximum": 1000,
   "minimum": 1
  },
  "userAddress": {
   "type": "string",
   "description": "Wallet that signs the transaction on fromChain"
  },
  "destinationAddress": {
   "type": "string",
   "description": "Receiver on toChain; defaults to userAddress"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fee": {
   "bps": 30
  },
  "quote": {
   "inAmount": "1000000000",
   "outAmount": "107738625"
  },
  "route": "jupiter"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tollgate-engine-cross-chain-swap-quote-route-builder-a92f666e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
