Response

Get ips

Example

{
  "msg": "",
  "code": "OK",
  "data": [
    "2.2.2.2"
  ]
}

Description

NameTypeDescription
data[string]IP list of notification server.

Get currencies

Example

{
  "msg": "",
  "code": "OK",
  "data": [
    {
      "code": "AUD",
      "divisibility": 2,
      "name": "Australian Dollar",
      "is_fiat": true
    },
    {
      "code": "BDT",
      "divisibility": 2,
      "name": "Bangladeshi Taka",
      "is_fiat": true
    },
    {
      "code": "BNB",
      "divisibility": 6,
      "name": "BNB",
      "is_fiat": false
    },
    {
      "code": "BTC",
      "divisibility": 6,
      "name": "Bitcoin",
      "is_fiat": false
    },
    {
      "code": "CAD",
      "divisibility": 2,
      "name": "Canadian Dollar",
      "is_fiat": true
    },
    {
      "code": "CNY",
      "divisibility": 2,
      "name": "Chinese Yuan Renminbi",
      "is_fiat": true
    },
    {
      "code": "ETH",
      "divisibility": 6,
      "name": "Ethereum",
      "is_fiat": false
    },
    {
      "code": "EUR",
      "divisibility": 2,
      "name": "Euro",
      "is_fiat": true
    },
    {
      "code": "GBP",
      "divisibility": 2,
      "name": "British Pound",
      "is_fiat": true
    },
    {
      "code": "HKD",
      "divisibility": 2,
      "name": "Hong Kong Dollar",
      "is_fiat": true
    },
    {
      "code": "IDR",
      "divisibility": 0,
      "name": "Indonesian Rupiah",
      "is_fiat": true
    },
    {
      "code": "INR",
      "divisibility": 2,
      "name": "Indian Rupee",
      "is_fiat": true
    },
    {
      "code": "JPY",
      "divisibility": 2,
      "name": "Japanese Yen",
      "is_fiat": true
    },
    {
      "code": "KRW",
      "divisibility": 0,
      "name": "South Korean Won",
      "is_fiat": true
    },
    {
      "code": "MYR",
      "divisibility": 2,
      "name": "Malaysian Ringgit",
      "is_fiat": true
    },
    {
      "code": "NZD",
      "divisibility": 2,
      "name": "New Zealand Dollar",
      "is_fiat": true
    },
    {
      "code": "PHP",
      "divisibility": 2,
      "name": "Philippine Peso",
      "is_fiat": true
    },
    {
      "code": "PKR",
      "divisibility": 2,
      "name": "Pakistani Rupee",
      "is_fiat": true
    },
    {
      "code": "RUB",
      "divisibility": 2,
      "name": "Russian Ruble",
      "is_fiat": true
    },
    {
      "code": "SGD",
      "divisibility": 2,
      "name": "Singapore Dollar",
      "is_fiat": true
    },
    {
      "code": "THB",
      "divisibility": 2,
      "name": "Thai Baht",
      "is_fiat": true
    },
    {
      "code": "TRY",
      "divisibility": 2,
      "name": "Turkish Lira",
      "is_fiat": true
    },
    {
      "code": "UCT",
      "divisibility": 2,
      "name": "UCT",
      "is_fiat": false
    },
    {
      "code": "USD",
      "divisibility": 2,
      "name": "United States Dollar",
      "is_fiat": true
    },
    {
      "code": "USDC",
      "divisibility": 2,
      "name": "USD Coin",
      "is_fiat": false
    },
    {
      "code": "USDT",
      "divisibility": 2,
      "name": "USDT",
      "is_fiat": false
    },
    {
      "code": "UTT",
      "divisibility": 2,
      "name": "TestCoin",
      "is_fiat": false
    },
    {
      "code": "VND",
      "divisibility": 0,
      "name": "Vietnamese Dong",
      "is_fiat": true
    }
  ]
}

Description

NameTypeDescription
codestringCurrency code. Example: USD,EUR, BTC, ETH, USDT, USDC, etc.
divisibilityintCurrency divisibility.
namestringCurrency name.
is_fiatboolCrypto currency

Get exchange rate

Example

{
  "msg": "",
  "code": "OK",
  "data": {
    "from": "BTC",
    "to": "USD",
    "rate": 56773.42,
    "ask": 56773.43,
    "bid": 56773.42
  }
}

Description

NameTypeDescription
fromstringCurrency code. Example: BTC, ETH, USDT, USDC, etc.
tostringCurrency code. Example: USD, CN, etc.
ratefloatExchange rate of the currency pair.
askfloatAsk price of the currency pair.
bidfloatBid price of the currency pair.

Get exchange rates

Example

{
  "msg": "",
  "code": "OK",
  "data": [
    {
      "from": "BTC",
      "to": "USD",
      "rate": 56830,
      "ask": 56830.01,
      "bid": 56830
    },
    {
      "from": "ETH",
      "to": "USD",
      "rate": 3044.5,
      "ask": 3044.51,
      "bid": 3044.5
    },
    {
      "from": "USDT",
      "to": "USD",
      "rate": 1,
      "ask": 1,
      "bid": 1
    },
    {
      "from": "USDC",
      "to": "USD",
      "rate": 1,
      "ask": 1,
      "bid": 1
    },
    {
      "from": "BNB",
      "to": "USD",
      "rate": 510.35,
      "ask": 510.4,
      "bid": 510.3
    },
    {
      "from": "UCT",
      "to": "USD",
      "rate": 1,
      "ask": 1,
      "bid": 1
    },
    {
      "from": "UTT",
      "to": "USD",
      "rate": 1,
      "ask": 1,
      "bid": 1
    }
  ]
}

Description

Same as response of get exchange rate.