> ## 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

# Get Min/Max

## Endpoint

```
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

```
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 |
