> ## Documentation Index
> Fetch the complete documentation index at: https://exchanger-api.iexexchanger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test the Exchanger API in Postman

> Import the Postman collection and environment to verify HMAC v2, list exchange routes, and request a quote.

Use the collection to check the API address and token on a test installation. The four requests cover public ping, signed ping, route discovery, and a quote.

## Import the collection and environment

1. Save the [collection](https://exchanger-api.iexexchanger.com/postman/exchanger-api.postman_collection.json) and [environment template](https://exchanger-api.iexexchanger.com/postman/exchanger-api.postman_environment.json).
2. In the Postman desktop app, select **Import** and import both files. Select **iEXExchanger API v3 — test installation** as the active environment.
3. Enter local values in the environment. Leave the shared token and secret values blank.
4. Enable TLS certificate verification and turn off automatic redirects in **Settings**. Use the installation's direct HTTPS address.

| Variable | Value |
| - | - |
| `EXCHANGER_API_ORIGIN` | HTTPS origin of the test installation, such as `https://your-exchange`. Omit `/api/v3` and the trailing slash. |
| `EXCHANGER_API_TOKEN` | Token for the test installation, without the `Bearer ` prefix. |
| `EXCHANGER_API_HMAC_SECRET` | Signing secret for the same key. |
| `EXCHANGER_ROUTE_ID` | Integer route ID returned by **List exchange routes**. |
| `EXCHANGER_AMOUNT` | Amount within the route limits. Use a decimal string such as `100.00`. |

## Send the requests in order

| Request | What to check |
| - | - |
| **Public ping** | HTTP `200` and `result.status: "ok"`. This request uses no credentials. |
| **Signed ping** | HTTP `200` and `result.status: "ok"`. The API checks the token and signature without an extra scope. |
| **List exchange routes** | The response contains the route catalog. The key needs `public-api:exchange:routes:read`. Save a route ID in the environment. |
| **Request a quote** | Read `result.quote` and `result.snapshot`. The key needs `public-api:exchange:quotes:read`. A quote creates no order or payment. |

The **Pre-request** script checks the origin and computes HMAC v2 from the permitted method, path, query, and exact JSON body. It generates a fresh timestamp and nonce for every call. It signs only the requests in this collection. For uploads, follow the [multipart signing rules](https://exchanger-api.iexexchanger.com/en/start/authentication.md).

If you receive HTTP `401`, read `error.code` and check your token, secret, and local clock. For `403`, check the key scopes and IP restrictions. See [API errors](https://exchanger-api.iexexchanger.com/en/guides/reliability/errors.md) for recovery steps.


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