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

# Get Min/Max

> Get minimum and maximum exchange amounts for a pair

<Danger>
  Deprecation of the REST v1 swap endpoints begins on September 30, 2026. Please migrate to the Partner API v2. Dashboard and authentication endpoints remain on v1 GraphQL and are not affected. [Read the migration guide](https://docs.houdiniswap.com/migration/v1-to-v2)
</Danger>

# Get Min/Max

## Endpoint

```text theme={null}
GET /getMinMax
```

Returns the minimum and maximum exchangeable amounts for a given token pair.

## Query Parameters

| Field       | Type    | Required | Description                                   |
| ----------- | ------- | -------- | --------------------------------------------- |
| `from`      | string  | Yes      | Symbol of the source token (e.g., `ETH`)      |
| `to`        | string  | Yes      | Symbol of the destination token (e.g., `BNB`) |
| `anonymous` | boolean | Yes      | Whether to check limits for anonymous routing |
| `cexOnly`   | boolean | No       | Limit results to centralized exchanges only   |

## Example Request

```text theme={null}
GET /getMinMax?from=ETH&to=BNB&anonymous=false&cexOnly=false
```

## Example Response

```json theme={null}
[
  0.0253712625,
  16.914175
]
```

## Response

Returns an array of two numbers:

| Index | Description                 |
| ----- | --------------------------- |
| `[0]` | Minimum exchangeable amount |
| `[1]` | Maximum exchangeable amount |
