Instant Swap API

Retrieve Swap Information

GET:

This API endpoint provides details about a specific swap.
Parameters:
NameTypeRequired or optionalDescription
idstringrequiredSwap ID
Successful response fields:
NameTypeDescription
typeobjectAn object containing the type of swap (fixed or floating rate).
    typeSwapnumberA type of swap where 1 - Fixed, 2 - Float
pairsobjectAn object containing information about coin pairs for deposit and withdrawal
    deposit/receiveobjectAn object containing information about a coin for deposit and withdrawal
        coinobjectAn object containing information out of a coin for deposit and withdrawal
            namestringCoin name (eg BTC, XMR)
            valuenumberThe number of coins that will be sent or received
            networkstringThe network in which the transaction takes place (eg ERC20, XMR)
            fullNamestringThe full name of the coin
        addressstringAddress to send or receive coins
        memostringMemo for transaction
receiveTransactionobjectAn object containing information about the received transaction
    txIdstringReceive transaction id
    addressstringAddress to receive coins
    receivedTimestringThe time the transaction was received
    gettingInTheBlockstringThe time of receiving the first sending confirmation
    amountnumber | nullNumber of coins sending
    confirmationnumber | nullNumber of confirmations for the transaction for sending
    feesnumber | nullFees for sending funds
feesobjectAn object containing information about commissions
    feeNodeDepositnumberFees for deposit
swapTimeobjectAn object containing the swap time
    endstringTransaction completion time
    durationstringDuration of the transaction
    startstringTransaction start time
orderNumberstringThe unique identifier of the transaction
statusnumberNew - 9; Confirmation - 1; Exchanging - 3; Success - 4, 12; Overdue - 5; Error - 6; Pause - 10; Frozen - 11; Refund - 13
txIdstringDeposit transaction id
riskScorenumber | nullRisk assessment for the transaction
receivedTimestringDeposit receiving time
gettingInTheBlockstringThe time of receiving the first deposit confirmation
confirmationnumber | nullNumber of confirmations for the transaction for deposit
createdAtstringTransaction creation time
Example request:

GET:

Example response:
{
  "type": {
    "typeSwap": 2
  },
  "pairs": {
    "deposit": {
      "coin": {
        "name": "BTC",
        "value": 0.00047,
        "network": "BTC",
        "fullName": ""
      },
      "address": "bc1qt3uurp5yjl0s9hpc834nkxx37f99hn5xfqt8x3",
      "memo": ""
    },
    "receive": {
      "coin": {
        "name": "XMR",
        "value": 0.37555349507259705,
        "network": "XMR",
        "fullName": ""
      },
      "address": "49ALvhFRnJm4n1JsBG2fiAcrpPXeGEUvrLCvUjXNr9TqLk74pmj9X7s9aprrzRNNWHUgRrYbmysN7Xs8UJijXumPTjV5WVb",
      "memo": ""
    }
  },
  "receiveTransaction": {
    "txId": "",
    "address": "",
    "receivedTime": "",
    "gettingInTheBlock": "",
    "amount": null,
    "confirmation": null,
    "fees": null
  },
  "fees": {
    "feeNodeDeposit": 0.00009912
  },
  "swapTime": {
    "end": "",
    "duration": "",
    "start": "1728573590155"
  },
  "orderNumber": "RBGTSM",
  "status": 3,
  "txId": "a5398b56b451405bbd2804839100e29709e6f79f993b1ba2e466e952ab7940e4",
  "riskScore": null,
  "receivedTime": "1726833220",
  "gettingInTheBlock": "1728574893",
  "confirmation": 5,
  "createdAt": "2025-02-11T13:08:25.367Z"
}