
Url :
https://bitex24.com/api/v1/robo/sendLoginSms
Method :
GET
Headers :
{
Accept : application/json,
lang : fa
}
Parameters :
{
mobile : [required , string , must start with 09*********]
}Example Response :
{
"success": true,
"data": [],
"message": "پیامک ارسال شد"
}
Url :
https://bitex24.com/api/v1/robo/sendLoginRequest
Method :
Post
Headers :
{
Accept : application/json,
lang : fa
}
Parameters :
{
phone : [required , string , must start with 09*********],
password : [required , string]
}Example Response :
{
"access_token": "eyJ0eXAiOiJKV1QiL4326GciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8x
6666MC4wLjE6ODAwMFwvYXBpXC92MVwvcm9ib1wvc2VuZExvZ2luUmVxdWVzdC
IsImlhdCI6MTYyNTExNTA4MSwiZXhwIjoxNjI1MTI1ODgxLCJuYmYiOjE2MjUx
MTUwODEsImp0aSI6IkV6RnI1UXZyeVBydmZ3MHYiLCJzdWIiOjMsInBydiI6Ij
IzYmQ1Yzg5NDlmNjAw8790oillNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.ydQIT
Bc7bh_nF2345671h4FJ17HpyCdaAkF-5Qb_I1g",
"token_type": "bearer",
"expires_in": 10800
}
Url :
https://bitex24.com/api/v1/robo/trade/userPtpData
Method :
Get
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
base_type : [required , string]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
base_type :
[toman,btc,usdt]
Example Response :
{
"success": true,
"data": {
"coinBalance": "1.00063006", // coin balance selected : bitcoin or ...
"baseBalance": 748001000, // base balance selected : toman or ...
"open_orders": [
{
"id": 923861,
"type": "buy",
"is_for_sale": false,
"count": "0.03000000",
"base_price": 800000000,
"filled_percent": 0
},
{
"id": 923860,
"type": "sale",
"is_for_sale": true,
"count": "0.03000000",
"base_price": 800000000,
"filled_percent": 0
},
...
]
},
"message": ""
}
Url :
https://bitex24.com/api/v1/robo/trade/buy/{BASE}
BASE : [toman , bitcoin , tether]
Method :
POST
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
count : [required , float or integer],
base_price : [required , float or integer]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
Example Response :
{
"success": true,
"data": "",
"message": "درخواست با موفقیت ثبت شد"
}
Url :
https://bitex24.com/api/v1/robo/trade/sale/{BASE}
BASE : [toman , bitcoin , tether]
Method :
POST
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
count : [required , float or integer],
base_price : [required , float or integer]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
Example Response :
{
"success": true,
"data": "",
"message": "درخواست با موفقیت ثبت شد"
}
Url :
https://bitex24.com/api/v1/robo/trade/fastBuy/{BASE}
BASE : [toman , bitcoin , tether]
Method :
POST
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
amount : [required , float or integer]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
Example Response :
{
"success": true,
"data": "",
"message": "درخواست با موفقیت ثبت شد"
}
Url :
https://bitex24.com/api/v1/robo/trade/fastSale/{BASE}
BASE : [toman , bitcoin , tether]
Method :
POST
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
amount : [required , float or integer]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
Example Response :
{
"success": true,
"data": "",
"message": "درخواست با موفقیت ثبت شد"
}
Url :
https://bitex24.com/api/v1/robo/trade/cancel/{TYPE}/{BASE}
TYPE : [buy , sale]
BASE : [toman , bitcoin , tether]
Method :
POST
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
order_id : [required , integer]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
Example Response :
{
"success": true,
"data": [],
"message": "سفارش با موفقیت لغو گردید"
}
Url :
https://bitex24.com/api/v1/robo/trade/orderBook/index
Method :
GET
Headers :
{
Accept : application/json,
lang : fa,
AUTHORIZATIONS : Bearer {ACCESS_TOKEN}
}
Parameters :
{
coin_name : [required , string],
order_type : [required , string],
base_type : [required , string],
limit : [optional , default : 10 , range 1 : 20]
}
coin_name :
[bitcoin,bitcoincash,ethereum,tether,ripple,tron,litecoin,dogecoin,bnb,stellar,tezos,cardano,dot]
order_type :
[buy,sale]
base_type :
[toman,tether,bitcoin]
Example Response :
{
"success": true,
"data": [
{
"base_price": 1583981000,
"count": "0.10300000"
},
{
"base_price": 1583973000,
"count": "0.09700000"
},
...
],
"message": ""
}