Skip to main content
Start with the task below, then open its recipe for code and the details to handle in your app. The examples use plain JavaScript and Route’s HTTP API at https://api.route.fun. No API key is required.

Tokens and wallets

Quotes and swaps

Activity and fees

Before you start

Use Robinhood Chain, chain ID 4663. Pass amounts as integer strings in token base units. A quote is an estimate; /api/v2/swap prepares an unsigned transaction, and the user’s wallet signs it. Route’s API discloses pair-dependent swap fees from 0% to 0.50%. Users pay network gas. The public API does not include a market-data feed.