Get currencies list
URL: GET /account/currency/list
Auth required : NO
Response:
{
"code": 200,
"data": {
"items": [
{
"name": "EUR",
"full_name": "Euro",
"icon": "",
"sign": "€",
"listing_type": "CRYPTO",
"price_usd": 19992.93197783,
"change24": 0.0167268
},
{
"name": "USD",
"full_name": "Dollar USA",
"icon": "",
"sign": "quot;,
"listing_type": "FIAT",
"price_usd": 0,
"change24": 0.0167268
},
{
"name": "ETH",
"full_name": "Ethereum",
"icon": "",
"sign": "ETH",
"listing_type": "CRYPTO",
"price_usd": 19992.93197783,
"change24": 0.0167268
},
{
"name": "BTC",
"full_name": "Bitcoin",
"icon": "",
"sign": "BTC",
"listing_type": "CRYPTO",
"price_usd": 19992.93197783,
"change24": 0.0167268
}
]
},
"message": "OK"
}
Get account list
URL: GET /account/account/list
Auth required : YES
Response:
{
"code": 200,
"data": {
"items": [
{
"currency": "BPS",
"balance": 0
},
{
"currency": "BTC",
"balance": 6.9
},
{
"currency": "CCF",
"balance": 0
}
]
},
"message": "OK"
}
Get account single balance
URL: GET /account/account/BTC
Auth required : YES
Response:
[
{
"code": 200,
"data": {
"balance": 4.9,
"currency": "BTC"
},
"message": "OK"
},
{
"code": 422,
"data": {
"currency": "Account not found"
},
"message": "Data validation failed"
}
]
Get transactions list
URL: GET /account/account/transactions
Auth required : YES
Query params : `page, per-page, sign_type, amount, currency, description, date_from, date_to`
Response:
{
"code": 200,
"data": {
"items": [
{
"sign_type": "out",
"amount": 0.0006,
"currency": "BTC",
"description": "withdrawal 0.03 BTC. fee 2%",
"date_time": 1657016678
},
{
"sign_type": "out",
"amount": 0.0294,
"currency": "BTC",
"description": "withdrawal 0.03 BTC. fee 2%",
"date_time": 1657016678
},
{
"sign_type": "in",
"amount": 0.05,
"currency": "BTC",
"description": "deposit funds",
"date_time": 1657015967
}
],
"pagination": {
"page": 1,
"page_size": 50,
"shown_from": 1,
"shown_to": 3,
"total_count": 3
}
},
"message": "OK"
}
Get history list
URL: GET /account/account/history
Auth required : YES
Query params : `sign_type, currency, source`
Response:
{
"code": 200,
"data": {
"items": [
{
"sign_type": "out",
"currency": "BTC",
"amount": 0.001,
"source": "trade",
"date_time": 1667815126
},
{
"sign_type": "out",
"currency": "BTC",
"amount": 0.001,
"source": "trade",
"date_time": 1667815098
},
{
"sign_type": "in",
"currency": "USD",
"amount": 38.45286921,
"source": "trade",
"date_time": 1666088363
},
{
"sign_type": "out",
"currency": "BTC",
"amount": 0.002,
"source": "trade",
"date_time": 1666088356
}
]
},
"message": "OK"
}
Change balance stats by days
URL: GET /account/account/stat/10
Auth required : YES
Response:
{
"code": 200,
"data": {
"items": [
{
"balance": 0,
"date": "2023-04-04"
},
{
"balance": 8294.733,
"date": "2023-04-03"
},
{
"balance": 0,
"date": "2023-04-02"
}
]
},
"message": "OK"
}