login
Request Body schema: multipart/form-data
username | string email,username,cellphone |
password | string password |
gacode | integer Send Ga code if any or leave blank |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "ID": "30",
- "TOKEN": "0922d72c312539b0a522ac572c283550",
- "msg": "login successful!"
}
}
submit
header Parameters
Content-Type | string Example: application/x-www-form-urlencoded |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "username": "amber",
- "password": "password1"
}
Response samples
- 200
{- "status": 1,
- "data": {
- "ID": "30",
- "TOKEN": "0922d72c312539b0a522ac572c283550",
- "msg": "login successful!"
}
}
emailcode
header Parameters
Content-Type | string Example: application/x-www-form-urlencoded |
content | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "email": "turndealer@gmail.com"
}
Response samples
- 200
{- "status": 0,
- "data": "EMAIL ALREADY EXISTS, PLEASE LOGIN INSTEAD!"
}
forgotcode
When user is not logged in
Person can request a code on email for password reset
Which can later be confirmed using confirmcode api
Request Body schema: multipart/form-data
string |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "ID": "30",
- "TOKEN": "0922d72c312539b0a522ac572c283550",
- "msg": "login successful!"
}
}
confirmcode
When user is not logged in
Code requested in forgotcode api can be send to this api with email and new password to reset the password.
Request Body schema: multipart/form-data
string | |
verify_code | integer |
password | string |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "ID": "30",
- "TOKEN": "0922d72c312539b0a522ac572c283550",
- "msg": "login successful!"
}
}
Response samples
- 200
{- "status": 1,
- "data": {
- "market": [
- {
- "id": "7",
- "name": "Litecoin(LTC/USD)",
- "new_price": 525.618,
- "buy_price": 0,
- "sell_price": 292.01,
- "min_price": 408.81399999999996,
- "max_price": 350.412,
- "change": 0.01,
- "volume": 1.6
}, - {
- "id": "8",
- "name": "BCH(BCC/USD)",
- "new_price": 1570.092,
- "buy_price": 500,
- "sell_price": 5233.64,
- "min_price": 4710.276000000001,
- "max_price": 3140.184,
- "change": -0.01,
- "volume": 1.6
}, - {
- "id": "6",
- "name": "ETC(ETC/USD)",
- "new_price": 144.38199999999998,
- "buy_price": 61.89,
- "sell_price": 41.524,
- "min_price": 61.85999999999999,
- "max_price": 41.252,
- "change": 0,
- "volume": 48
}, - {
- "id": "5",
- "name": "ETH(ETH/USD)",
- "new_price": 2145.9339999999997,
- "buy_price": 0,
- "sell_price": 3065.62,
- "min_price": 3065.62,
- "max_price": 2452.496,
- "change": 0.01,
- "volume": 0.11
}, - {
- "id": "4",
- "name": "Bitcoin(BTC/USD)",
- "new_price": 19288.81,
- "buy_price": 34718.4,
- "sell_price": 34719.858,
- "min_price": 15431.048000000003,
- "max_price": 30862.096000000005,
- "change": 0,
- "volume": 2
}, - {
- "id": "13",
- "name": "Bitcoin(BTC/ETH)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "15",
- "name": "Litecoin(LTC/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "16",
- "name": "doge(DOGE/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}
]
}
}
Response samples
- 200
{- "status": 1,
- "data": {
- "market": [
- {
- "id": "7",
- "name": "Litecoin(LTC/USD)",
- "new_price": 525.618,
- "buy_price": 0,
- "sell_price": 292.01,
- "min_price": 408.81399999999996,
- "max_price": 350.412,
- "change": 0.01,
- "volume": 1.6
}, - {
- "id": "8",
- "name": "BCH(BCC/USD)",
- "new_price": 1570.092,
- "buy_price": 500,
- "sell_price": 5233.64,
- "min_price": 4710.276000000001,
- "max_price": 3140.184,
- "change": -0.01,
- "volume": 1.6
}, - {
- "id": "6",
- "name": "ETC(ETC/USD)",
- "new_price": 144.38199999999998,
- "buy_price": 61.89,
- "sell_price": 41.524,
- "min_price": 61.85999999999999,
- "max_price": 41.252,
- "change": 0,
- "volume": 48
}, - {
- "id": "5",
- "name": "ETH(ETH/USD)",
- "new_price": 2145.9339999999997,
- "buy_price": 0,
- "sell_price": 3065.62,
- "min_price": 3065.62,
- "max_price": 2452.496,
- "change": 0.01,
- "volume": 0.11
}, - {
- "id": "4",
- "name": "Bitcoin(BTC/USD)",
- "new_price": 19288.81,
- "buy_price": 34718.4,
- "sell_price": 34719.858,
- "min_price": 15431.048000000003,
- "max_price": 30862.096000000005,
- "change": 0,
- "volume": 2
}, - {
- "id": "13",
- "name": "Bitcoin(BTC/ETH)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "15",
- "name": "Litecoin(LTC/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "16",
- "name": "doge(DOGE/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}
]
}
}
Response samples
- 200
{- "status": 1,
- "data": {
- "market": [
- {
- "id": "7",
- "name": "Litecoin(LTC/USD)",
- "new_price": 525.618,
- "buy_price": 0,
- "sell_price": 292.01,
- "min_price": 408.81399999999996,
- "max_price": 350.412,
- "change": 0.01,
- "volume": 1.6
}, - {
- "id": "8",
- "name": "BCH(BCC/USD)",
- "new_price": 1570.092,
- "buy_price": 500,
- "sell_price": 5233.64,
- "min_price": 4710.276000000001,
- "max_price": 3140.184,
- "change": -0.01,
- "volume": 1.6
}, - {
- "id": "6",
- "name": "ETC(ETC/USD)",
- "new_price": 144.38199999999998,
- "buy_price": 61.89,
- "sell_price": 41.524,
- "min_price": 61.85999999999999,
- "max_price": 41.252,
- "change": 0,
- "volume": 48
}, - {
- "id": "5",
- "name": "ETH(ETH/USD)",
- "new_price": 2145.9339999999997,
- "buy_price": 0,
- "sell_price": 3065.62,
- "min_price": 3065.62,
- "max_price": 2452.496,
- "change": 0.01,
- "volume": 0.11
}, - {
- "id": "4",
- "name": "Bitcoin(BTC/USD)",
- "new_price": 19288.81,
- "buy_price": 34718.4,
- "sell_price": 34719.858,
- "min_price": 15431.048000000003,
- "max_price": 30862.096000000005,
- "change": 0,
- "volume": 2
}, - {
- "id": "13",
- "name": "Bitcoin(BTC/ETH)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "15",
- "name": "Litecoin(LTC/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}, - {
- "id": "16",
- "name": "doge(DOGE/BTC)",
- "new_price": 0,
- "buy_price": 0,
- "sell_price": 0,
- "min_price": 0,
- "max_price": 0,
- "change": 0,
- "volume": 0
}
]
}
}
getTradedata
Request Body schema: multipart/form-data
marketid | integer enter marketid example 7,8 |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
changeFundPassword
When there is no fund exising password, Send oldpaypassword as empty or NEW
header Parameters
ID | string Example: {{id}} |
TOKEN | string Example: {{token}} |
Request Body schema: multipart/form-data
oldpaypassword | string Your exiting Password |
newpaypassword | string New fund password |
repaypassword | string Repeat Fund password |
Responses
GetSet2FA
GetSet2FA
header Parameters
TOKEN | string Example: {{token}} |
ID | string Example: {{id}} |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
GetSet2FA Post
GetSet2FA
header Parameters
TOKEN | string Example: {{token}} |
ID | string Example: {{id}} |
Request Body schema: multipart/form-data
ga | integer 2FA code Generated using Secret |
type | string add/update/delete |
ga_transfer | integer 1=2fa required for withdrawal, 0=2fa not required for withdrawal |
ga_login | integer 1=2fa Required at login, 0 =2fa Not required at login |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
userinfo
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
profile
header Parameters
TOKEN | string Example: a8e8227fec29f7b9b1436a12d02c2903 Set token from login api |
ID | integer Example: 38 Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
updatepass
header Parameters
TOKEN | string Example: 0922d72c312539b0a522ac572c283550 Set token from login api |
ID | integer Example: 30 Set id from login api |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "curpass": "password",
- "newpass": "password1",
- "repass": "password1"
}
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
wallet
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
FiatBalance
header Parameters
TOKEN | string Example: 1a1f3578724db2f6f3e068136dee46b6 Set token from login api |
ID | integer Example: 38 Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
getquote
GetSet2FA
header Parameters
TOKEN | string Example: {{token}} |
ID | string Example: {{id}} |
Request Body schema: multipart/form-data
trade_coin | string coin you need to buy sell [1st option] |
base_coin | string coin you need to use [2nd option] |
input1 | integer trade coin you need to buy sell |
input2 | string base coin you need to spend/get [choose either input 1 or input2 |
tradetype | string buy/sell |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
approvequote
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Request Body schema: multipart/form-data
qid | integer quote id [int] |
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
Response samples
- 200
{- "status": 1,
- "data": {
- "entrust": null,
- "depth": {
- "buy": "",
- "sell": [
- [
- 2616.85,
- 10
], - [
- 2616.84,
- 10
], - [
- 2616.83,
- 10
], - [
- 2616.82,
- 10
], - [
- 2616.81,
- 1
]
]
}, - "info": {
- "new_price": 2616.12,
- "buy_price": 2616.13,
- "sell_price": 2616.81
}, - "user": {
- "login": 0
}
}
}
records
query Parameters
ls | integer Example: ls=15 optional last record [int] |
header Parameters
TOKEN | string Example: a8e8227fec29f7b9b1436a12d02c2903 Set token from login api |
ID | integer Example: 38 Set id from login api |
Request Body schema: multipart/form-data
Responses
Response samples
- 200
{- "status": 1,
- "data": {
- "baseinfo": {
- "id": "30",
- "username": "123456789",
- "cellphone": "123456789",
- "cellphonetime": "1521711858",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "tpwdsetting": "1",
- "paypassword": "5f4dcc3b5aa765d61d8327deb882cf99",
- "invit_1": "0",
- "invit_2": "0",
- "invit_3": "0",
- "truename": "quickuser",
- "idcard": "quickuser",
- "idcardauth": "1",
- "idcardimg1": null,
- "idcardimg2": null,
- "idcardinfo": null,
- "logins": null,
- "ga": null,
- "addip": "127.0.0.1",
- "addr": "Unassigned or intranet IP",
- "sort": null,
- "addtime": "1521712689",
- "endtime": null,
- "status": "1",
- "email": null,
- "alipay": null,
- "invit": "TAPFZL",
- "token": "9a0fce26945b38afd05b42cfb2f3803c",
- "awardid": "9",
- "awardstatus": "0",
- "awardname": "1Yuan in cash",
- "awardnumall": "0",
- "awardnumtoday": "0",
- "awardtotaltoday": "0",
- "awardtime": "0",
- "regaward": "0",
- "usertype": "0"
}, - "coin": {
- "usd": {
- "zj": 13264509.47,
- "ky": 6142.24,
- "dj": 0
}, - "coinList": [
- {
- "id": "5",
- "name": "eth",
- "title": "ETH(ETH)",
- "xnb": 400,
- "xnbd": 50,
- "xnbz": 450,
- "jia": 1532.62,
- "zhehe": 689679
}, - {
- "id": "6",
- "name": "etc",
- "title": "ETC(ETC)",
- "xnb": 200,
- "xnbd": 0,
- "xnbz": 200,
- "jia": 103.13,
- "zhehe": 20626
}, - {
- "id": "13",
- "name": "btc",
- "title": "Bitcoin(BTC)",
- "xnb": 37633.2,
- "xnbd": 0,
- "xnbz": 37633.2,
- "jia": 0,
- "zhehe": 0
}, - {
- "id": "7",
- "name": "ltc",
- "title": "Litecoin(LTC)",
- "xnb": 123,
- "xnbd": 0,
- "xnbz": 123,
- "jia": 292.05,
- "zhehe": 35922.15
}, - {
- "id": "8",
- "name": "bcc",
- "title": "BCH(BCC)",
- "xnb": 3434,
- "xnbd": 0,
- "xnbz": 3434,
- "jia": 2616.12,
- "zhehe": 8983756.08
}, - {
- "id": 0,
- "name": "ast",
- "title": "Oersted(AST)",
- "xnb": 3476384,
- "xnbd": 0,
- "xnbz": 3476384,
- "jia": 1,
- "zhehe": 3476384
}, - {
- "id": 0,
- "name": "mtc",
- "title": "Mitt currency(MTC)",
- "xnb": 21000,
- "xnbd": 0,
- "xnbz": 21000,
- "jia": 1,
- "zhehe": 21000
}, - {
- "id": 0,
- "name": "eos",
- "title": "EOS(EOS)",
- "xnb": 1000,
- "xnbd": 0,
- "xnbz": 1000,
- "jia": 1,
- "zhehe": 1000
}, - {
- "id": 0,
- "name": "ico",
- "title": "ICC(ICO)",
- "xnb": 20000,
- "xnbd": 0,
- "xnbz": 20000,
- "jia": 1,
- "zhehe": 20000
}, - {
- "id": 0,
- "name": "powr",
- "title": "Power Ledger(POWR)",
- "xnb": 10000,
- "xnbd": 0,
- "xnbz": 10000,
- "jia": 1,
- "zhehe": 10000
}
]
}
}
}
https://bitrota.com/Api/Crypto/doWithdraw
MyWithdrawals
header Parameters
TOKEN | string Example: 5649c7f17db8343a5159473f548f4594 Set token from login api |
ID | integer Example: 39 Set id from login api |
Content-Type | string Example: application/x-www-form-urlencoded |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "coin": "tbtc",
- "num": "0.001",
- "addr": "1123423423423525353453456346534645645745746747475",
- "paypassword": "funding"
}
https://bitrota.com/Api/Crypto/MyDeposits
MyWithdrawals
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
HTTP API should cover the following:
- Ticker (last done, bid, ask, 24h volume, 24h high, 24h low).
- OrderBook (list of asks and list of bids at least 100 levels).
- Trades (X number of trades executed)
https://bitrota.com/Api/Crypto/MyWithdrawals
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/fiatDeposit
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/fiatDepositHistory
MyFiat
header Parameters
TOKEN | string Example: {{TOKEN}} Set token from login api |
ID | string Example: {{ID}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/fiatoutlog
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/markAsPaid
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/cancelFiatOut
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/viewFiatOrder
MyFiat
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
https://bitrota.com/Api/Crypto/doFiatWithdrawal
MyFiat
query Parameters
num | integer Example: num=6400 |
paypassword | string Example: paypassword=funding |
type | integer Example: type=13 |
coinname | string Example: coinname=usd |
header Parameters
TOKEN | string Example: {{token}} Set token from login api |
ID | string Example: {{id}} Set id from login api |
Responses
Response samples
- 200
{- "status": 1,
- "data": [
- {
- "id": "636",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "d98fc845d28b1bff80b165c9009f1f49",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567078200",
- "endtime": null,
- "status": "1"
}, - {
- "id": "635",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "1acc85f0401a2c6d591a651715912cd4",
- "shifted_to_main": "0",
- "num": "0.01010000",
- "mum": "0.01009899",
- "fee": "0.00000101",
- "sort": null,
- "addtime": "1567078033",
- "endtime": null,
- "status": "1"
}, - {
- "id": "634",
- "userid": "38",
- "username": "shree@codono.com",
- "coinname": "btc",
- "type": "0",
- "txid": "8efe997ee60aad7497ff15b35530caa6",
- "shifted_to_main": "0",
- "num": "0.01000000",
- "mum": "0.00999900",
- "fee": "0.00000100",
- "sort": null,
- "addtime": "1567077824",
- "endtime": null,
- "status": "1"
}
]
}
makeUpdate
Deposit or withdraw from User account
header Parameters
TOKEN | string Example: 5f2b5cdbe5194f10b3241568fe4e2b24 In simple auth pass secret , in advance pass generated token |
APIKEY | string Example: bf55fcff5d1cbeebf5f00e08e23357fb |
Request Body schema: multipart/form-data
member_id | integer mapping userid |
wallet_item_id | integer coin_id |
coin_amount | integer amount |
Transaction_type | string deposit/withdrawal |
TXID | integer Transaction id from other system |
TXID_datetime | integer timestamp else it will use unix timestamp |
Responses
tradelog
Receive Trade logs
header Parameters
TOKEN | string Example: 5f2b5cdbe5194f10b3241568fe4e2b24 In simple auth pass secret , in advance pass generated token |
APIKEY | string Example: bf55fcff5d1cbeebf5f00e08e23357fb |
Request Body schema: multipart/form-data
MY_ID | integer For own record |
CODONO_TXID | integer id for trade_log |
Datetime | integer timestamp |
Responses
simulateTrade
Create Trade orders [First buy then sell or viceversa]
header Parameters
TOKEN | string Example: 5f2b5cdbe5194f10b3241568fe4e2b24 In simple auth pass secret , in advance pass generated token |
APIKEY | string Example: bf55fcff5d1cbeebf5f00e08e23357fb |
Request Body schema: multipart/form-data
orderid | integer External orderid |
market | string market name on exchange |
num | number quantity |
price | integer price |
type | integer buy=1, sell=2 |
ordertime | integer external timestamp |
delay | integer mili secs [10^6] |
Responses
multipleOrders
Method when called Creates Multiple orders, and if there are pending orders and amount isnt sufficient then it cancels also
header Parameters
TOKEN | string Example: 5f2b5cdbe5194f10b3241568fe4e2b24 In simple auth pass secret , in advance pass generated token |
APIKEY | string Example: bf55fcff5d1cbeebf5f00e08e23357fb |
Request Body schema: multipart/form-data
market | string system market pair |
type | integer buy=1, sell=2 |
Datetime | integer external timestamp |
orders_json | number [["price,"qty],["price,"qty],["price,"qty]] |
TXID | integer externalid |
uid | integer |
Responses
user
Deposit or withdraw from User account
header Parameters
TOKEN | string Example: 5f2b5cdbe5194f10b3241568fe4e2b24 In simple auth pass secret , in advance pass generated token |
APIKEY | string Example: bf55fcff5d1cbeebf5f00e08e23357fb |
Request Body schema: multipart/form-data
user_id | integer userid to update or add |
username | string username |
string add only | |
idcardauth | integer update or add |
last_update | integer add/update |
password | string password [md5] |
paypassword | string paypassword [md5] |
truename | string full name |
Responses
Response samples
- 200
{"status":1,"action":"add","last_update":"1617897112","token":"c4dd6bc4362fdd9ae8de188e6fc7318f","data":{"user_id":"380","username":"blackhawk","email":"someone@black.hawk","idcardauth":"1","last_update":"1617897112","password":"5f4dcc3b5aa765d61d8327deb882cf99","truename":"steve jobs"}}