Get ips
Example
{
"msg": "",
"code": "OK",
"data": [
"2.2.2.2"
]
}
Description
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
code | string | Currency code. Example: USD,EUR, BTC, ETH, USDT, USDC, etc. |
divisibility | int | Currency divisibility. |
name | string | Currency name. |
is_fiat | bool | Crypto currency |
Get exchange rate
Example
{
"msg": "",
"code": "OK",
"data": {
"from": "BTC",
"to": "USD",
"rate": 56773.42,
"ask": 56773.43,
"bid": 56773.42
}
}
Description
Name | Type | Description |
---|---|---|
from | string | Currency code. Example: BTC, ETH, USDT, USDC, etc. |
to | string | Currency code. Example: USD, CN, etc. |
rate | float | Exchange rate of the currency pair. |
ask | float | Ask price of the currency pair. |
bid | float | Bid 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.