Tollbooth Swap API
Non-custodial token swap execution and token safety screening on 8 chains — Solana, Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, Avalanche.
Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only
What it can do
- Get Service Info: Get Tollbooth service metadata: supported chains, swap fee, x402 toll pricing.
- Resolve Token: Resolve a token ticker symbol (e.g. PEPE, WIF, USDC) to contract addresses on a chain, free. Curated majors return one verified match; others return live DEX matches ranked by liquidity
- Get Quote: Get a free indicative swap quote (output amount includes Tollbooth's fee). Use before build_swap to decide whether to trade.
What data it sees
Do you need an account
No: the server works without sign-in
Non-custodial token swap execution and token safety screening on 8 chains — Solana, Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, Avalanche. Quotes and symbol resolution are free; swap builds (~$0.005) and safety checks ($0.01) are paid per-call in USDC via the x402 protocol — no API keys, no accounts, no subscriptions.
Server tool list (6)
Raw names from tools/list. Only developers need these.
| get_service_info | Get Tollbooth service metadata: supported chains, swap fee, x402 toll pricing. |
| resolve_token | Resolve a token ticker symbol (e.g. PEPE, WIF, USDC) to contract addresses on a chain, free. Curated majors return one verified match; others return live DEX matches ranked by liquidity. |
| get_quote | Get a free indicative swap quote (output amount includes Tollbooth's fee). Use before build_swap to decide whether to trade. |
| build_swap | Build an unsigned swap transaction for the taker wallet to sign and submit. Costs an x402 toll in USDC (paid automatically when the x-tollbooth-payer-key header is set). Returns the transaction, quote, and a signed receipt. |
| check_token | Token safety screen before trading: honeypot, rug-pull, freeze/mint authority, transfer hooks, sell tax, blacklists. Returns verdict (ok/warn/critical/unknown), risk score, and findings. Costs an x402 toll. |
| get_receipt | Fetch a signed Tollbooth receipt by id and verify its signature. |