> ## Documentation Index
> Fetch the complete documentation index at: https://docs.saucerswap.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# REST API access

> Call the SaucerSwap REST API with no API key: send plain HTTPS requests to mainnet or testnet, and read the rate-limit headers that come back on every response.

The REST API needs no API key. Send a plain HTTPS request; there is no signup, header, or token to add.

> [!NOTE]
>
> This page covers the REST data API only. The V3 Orderbook API uses wallet challenge authentication and short-lived JWTs for account endpoints. See [Orderbook authentication](https://docs.saucerswap.finance/api-reference/orderbook/authentication.md).

## Make a request

```bash theme={"dark"}
curl -i https://api.saucerswap.finance/tokens
```

A successful response returns `200` with rate-limit state in the response headers (values as of November 7, 2026):

```text theme={"dark"}
HTTP/2 200
content-type: application/json; charset=utf-8
x-ratelimit-limit: 10000000
x-ratelimit-remaining: 10000000
x-ratelimit-additional-total: 0
x-ratelimit-reset: 1796083199999
```

Use `https://test-api.saucerswap.finance` for testnet. An `x-api-key` header from an older integration is ignored, so existing code keeps working.

## Rate-limit headers

| Header | Meaning |
| - | - |
| `x-ratelimit-limit` | Requests allowed in the current period. |
| `x-ratelimit-remaining` | Requests left in the current period. Use it to alert or self-throttle. |
| `x-ratelimit-additional-total` | Requests counted over the limit in the current period. |
| `x-ratelimit-reset` | Time when the counters reset, as a unix timestamp in milliseconds. |

Per-IP limits also apply. See [REST API errors and rate limits](https://docs.saucerswap.finance/api-reference/errors.md).

## Next steps

> [card] [REST API conventions](https://docs.saucerswap.finance/api-reference/conventions.md)
>
> Understand tinybar, smallest-unit amounts, timestamps, and interval endpoints.

> [card] [Errors and rate limits](https://docs.saucerswap.finance/api-reference/errors.md)
>
> Handle 400, 404, and 429 responses and build retry logic that respects the limits.

> [card] [Browse the endpoints](https://docs.saucerswap.finance/api-reference/rest/tokens/list-tokens.md)
>
> Start with the token list, then explore pools, farms, and stats.

> [card] [Developer quickstart](https://docs.saucerswap.finance/developers/quickstart.md)
>
> Make your first REST call in under five minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.