Skip to main content

Get limits

POST getPairsParams

Get limits for floating and fixed rate transactions

warning

The method is deprecated. To get the limits, you need to use getFixRateForAmount/getExchangeAmount, but the transaction amount must be within limits.

A full-fledged replacement of this method is also coming soon. getPairsParams still will be available for some time.

HTTP request

https://api.changelly.com/v2/#getPairsParams

Request

Header parameters
NameTypeRequiredDescription
X-Api-KeystringtrueYour API key (SHA256 from Public Key)
X-Api-SignaturestringtrueThe query's serialized body signed by your private key according to the RSA-SHA256 method.

Body parameters

NameTypeRequiredDescription
jsonrpcstringtrueJSON-RPC version.
idstringtrueClient's custom ID.
methodstringtrueAPI method name.
paramsarray of objectstrueRequest parameters.

params schema:

NameTypeRequiredDescription
fromstringtruePayin currency code (in lowercase).
tostringtruePayout currency code (in lowercase).

Response

Sample response

application/json
{
"jsonrpc": "2.0",
"id": "test",
"result": [
{
"from": "eth",
"to": "btc",
"minAmountFloat": "0.0465",
"maxAmountFloat": "449172.45240999997",
"minAmountFixed": "0.0775",
"maxAmountFixed": "100"
},
{
"from": "btc",
"to": "eth",
"minAmountFloat": "0.0015",
"maxAmountFloat": "25629.527850432485",
"minAmountFixed": "0.0025",
"maxAmountFixed": "3.2138"
}
]
}