API v2
api — reference
Dasturchilar uchun REST API. POST yoki GET so'rovlari orqali xizmatlar ro'yxatini oling, buyurtma bering va statusini kuzatib boring.
01
API Base
| HTTP Method | POST or GET |
|---|---|
| API url | https://6ad3a954a9152.myxvest2.ru/api/v2 |
| Bot | @ |
02
Service list
| Parameters | Description |
|---|---|
| key | Your API key |
| action | services |
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
03
Add order
$ type >
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
| runs (optional) | Runs to deliver |
| interval (optional) | Interval in minutes |
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
| answer_number | Answer number of the poll |
{
"order": 23501
}
04
Order status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
{
"charge": "0.27819",
"status": "Partial",
"currency": "UZS"
}
05
All orders
| Parameters | Description |
|---|---|
| key | Your API key |
| action | orders |
[
{
"customer": "125632728",
"service": "15",
"order": "6291",
"status": "Completed",
"charge": "2627.622",
"currency": "UZS"
},
{
"customer": "125632728",
"service": "15",
"order": "8643",
"status": "In progress",
"charge": "2627.622",
"currency": "UZS"
}
]
06
Multiple orders status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs separated by comma (1,65,885,56,46,56) |
{
"1": { "charge": "0.27819", "status": "Partial", "currency": "UZS" },
"10": { "error": "Incorrect order ID" },
"100": { "charge": "1.44219", "status": "In progress", "currency": "UZS" }
}
07
Create refill
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
{
"refill": "1"
}
08
Get refill status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
{
"status": "Completed"
}
09
User balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
{
"balance": "2182.66",
"currency": "UZS"
}