SMM Panel API v2.0
Giao diện lập trình ứng dụng mạnh mẽ để tích hợp dịch vụ SMM vào hệ thống của bạn
Thông tin cơ bản
| HTTP Method | POST |
| API URL |
https://hethongsub.com/api/v2
|
| API Key |
Vui lòng đăng nhập để xem API Key
|
| Response format | JSON |
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "services" |
Example Response
[
{
"service": 1,
"name": "Facebook views",
"type": "Default",
"category": "Facebook",
"rate": "2.5",
"min": "200",
"max": "10000",
"refill": true
},
{
"service": 2,
"name": "Tiktok views",
"type": "Default",
"category": "Tiktok",
"rate": "4",
"min": "10",
"max": "1500",
"refill": false
}
]
Type: Default, Package, Custom Comments, Custom Comments Package, Mentions Hashtag, Subscriptions, SEO
Rate: Giá của số lượng 1.000 (Dịch vụ Default, Custom Comments, Mentions Hashtag, SEO) - Đơn vị: USD
Rate: Giá của số lượng 1 (Dịch vụ Package, Subscriptions, Custom Comments Package) - Đơn vị: USD
Error Response:
{
"error": "Invalid API key"
}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "add" |
| service | Service ID |
| link | Link to page |
| comments | Comments (Only for Custom Comments service) |
| quantity | Quantity to be delivered |
| reaction | Reaction type (Optional, for Facebook reactions) |
| days | Days (Optional, for dripfeed services) |
| post | Post ID (Optional) |
| view_time | View time in seconds (Optional, for view services) |
Example Response
{
"status": "success",
"msg": "Đơn hàng đã được tạo thành công",
"order": "23501"
}
Error Response Examples:
{
"status": "error",
"msg": "Invalid API key",
"error": "Invalid API key"
}
{
"status": "error",
"msg": "Số dư không đủ, vui lòng nạp thêm",
"error": "neworder.error.insufficient_balance"
}
Note: Tất cả error responses đều có format {"status": "error", "msg": "...", "error": "..."}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "status" |
| order | Order ID |
Example Response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Completed",
"remains": "157",
"currency": "USD"
}
Status: Pending, Processing, In progress, Completed, Partial, Canceled
Error Response:
{
"error": "Incorrect order ID"
}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "status" |
| orders | Order IDs separated by comma |
Example Response
{
"123": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"456": {
"error": "Incorrect order ID"
},
"789": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "cancel" |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
Example Response
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "balance" |
Example Response
{
"balance": "100.84292",
"currency": "USD"
}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "refill" |
| order | Order ID |
Example Response
{
"refill": "23501"
}
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "refill" |
| orders | Order IDs separated by comma |
Example Response
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "refill_status" |
| refill | Refill ID |
Example Response
[
{
"refill": "23501",
"status": "Completed"
}
]
Parameters
| Parameter | Description |
|---|---|
| key | Your API key |
| action | "refill_status" |
| refills | Refill IDs (separated by a comma, up to 100 IDs) |
Example Response
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]