Instant Swap API

Swap Pair Information

GET:

This API endpoint provides the amount the user will receive, the current swap rate
Parameters:
NameTypeRequired or optionalDescription
amountstringrequiredAmount of currency you are going to send or get
coinFromstringrequiredCurrency to swap from
coinTostringrequiredCurrency to swap to
networkFromstringoptionalNetwork to swap from
networkTostringoptionalNetwork to swap to
lastSourcestringrequiredWe transfer the last input where the data is entered, to the deposit input or the receive input ( for example deposit or receive)
typeSwapstringrequired1 - fixed 2 -float
Successful response fields:
NameTypeDescription
pairstringSwap pair
amountnumberAmount sent
exchangeRatenumberSwap rate
receivenumberAmount you will receive
minAmountnumberMin deposit
maxAmountnumberMax deposit
Example request:

GET:

Example response:
{
  "pair": "ETH_USDT",
  "amount": "10",
  "exchangeRate": 2462.1076313215262,
  "receive": 24008.541206617498,
  "minAmount": 0.03,
  "maxAmount": 2100
}