Skip to content

Company

API Integrations

Bring SwapRocket's crypto swaps into your website, app or service through our API.

What the public API covers

GET /api/exchangePairs
Lists the exchange pairs that have a page on SwapRocket. type=popular returns a shortlist of popular pairs, type=from with from=btc returns the pairs that start from one coin, and type=grouped returns every coin with the coins it swaps to. limit sets how many pairs come back (20 by default). This is catalogue data, not a live quote.
GET, HEAD /api/health
Answers OK while the website is up. It does not check the liquidity providers, and the answer can be cached for up to 60 seconds.

The public API does not create swaps or return executable rates, and it sends no webhooks. To add swaps to your product, tell us about your project and we will share the swap endpoints.