Skip to main content

Get Min/Max

Endpoint

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

Query Parameters

FieldTypeRequiredDescription
fromstringYesSymbol of the source token (e.g., ETH)
tostringYesSymbol of the destination token (e.g., BNB)
anonymousbooleanYesWhether to check limits for anonymous routing
cexOnlybooleanNoLimit results to centralized exchanges only

Example Request

GET /getMinMax?from=ETH&to=BNB&anonymous=false&cexOnly=false

Example Response

[
  0.0253712625,
  16.914175
]

Response

Returns an array of two numbers:
IndexDescription
[0]Minimum exchangeable amount
[1]Maximum exchangeable amount