Tài liệu tích hợp theo chuẩn SMM panel. Dùng một endpoint duy nhất, truyền action để chọn thao tác.
key, query string ?key=..., hoặc header X-API-Token: <your_key>. Lấy API key trong trang Hồ sơ → API Token.
Lấy danh sách dịch vụ kèm giá đã áp dụng theo role/giá riêng của user. Trường service trong response chính là ServerServiceId dùng để đặt đơn.
| Form field | Mô tả | |
|---|---|---|
key | required | API key của user |
action | required | services |
[
{
"service": "9d3f1c2e-4b8a-4d52-8e7b-2a3b4c5d6e7f",
"name": "Facebook - Like bài viết",
"type": "Default",
"category": "Facebook",
"rate": "150",
"min": 50,
"max": 100000,
"refill": false,
"cancel": false
}
]
rate là giá VND cho 1000 đơn vị (theo chuẩn SMM).
Tạo đơn mới. Đơn thường chỉ cần key, action, service, link, quantity. Đơn comment dùng thêm notes, đơn live/stream dùng streamMinutes, đơn reaction dùng reaction.
| Form field | Mô tả | |
|---|---|---|
key | required | API key |
action | required | add |
service | required | ServerServiceId lấy từ action=services |
link | required | Link bài viết / trang đích |
quantity | required | Số lượng cần (phải nằm trong min/max) |
notes | optional | Bắt buộc với dịch vụ comment. Mỗi dòng là 1 comment. |
streamMinutes | optional | Số phút xem, dùng cho dịch vụ live/streaming. |
reaction | optional | Loại cảm xúc: 0=Like, 1=Tym, 2=Haha, 3=Wow, 4=Buồn, 5=Tức giận. |
notes ít hơn quantity, hệ thống sẽ tự lặp comment để đủ số lượng.{
"order": "ORD-20260524-000123"
}
Kiểm tra trạng thái 1 đơn.
| Form field | Mô tả | |
|---|---|---|
key | required | API key |
action | required | status |
order | required | Mã đơn trả về từ action=add |
{
"charge": "15000",
"start_count": 3572,
"status": "In progress",
"remains": 157,
"currency": "VND",
"reactions": 120,
"comments": 18,
"shares": 5,
"views": 2400,
"live": 35
}
status: Pending, Processing, In progress, Completed, Partial, Canceled.
Kiểm tra trạng thái nhiều đơn cùng lúc (tối đa 100). Dùng orders thay cho order.
| Form field | Mô tả | |
|---|---|---|
key | required | API key |
action | required | status |
orders | required | Danh sách mã đơn, phân tách bằng dấu phẩy |
{
"ORD-001": {
"charge": "15000",
"start_count": 3572,
"status": "Partial",
"remains": 157,
"currency": "VND",
"reactions": 120,
"comments": 18,
"shares": 5,
"views": 2400,
"live": 35
},
"ORD-002": { "error": "Incorrect order ID" }
}
Lấy số dư tài khoản hiện tại.
| Form field | Mô tả | |
|---|---|---|
key | required | API key |
action | required | balance |
{
"balance": "1250000",
"currency": "VND"
}
curl -X POST https://viplikesub.net/api/smm/v2 \
-d "key=YOUR_API_KEY" \
-d "action=add" \
-d "service=9d3f1c2e-4b8a-4d52-8e7b-2a3b4c5d6e7f" \
-d "link=https://facebook.com/post/12345" \
-d "quantity=1000" \
-d "streamMinutes=0" \
-d "reaction=0"
# Nếu là dịch vụ comment:
curl -X POST https://viplikesub.net/api/smm/v2 \
-d "key=YOUR_API_KEY" \
-d "action=add" \
-d "service=9d3f1c2e-4b8a-4d52-8e7b-2a3b4c5d6e7f" \
-d "link=https://facebook.com/post/12345" \
-d "quantity=3" \
--data-urlencode "notes=Comment 1
Comment 2
Comment 3"
<?php
$ch = curl_init('https://viplikesub.net/api/smm/v2');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'add',
'service' => '9d3f1c2e-4b8a-4d52-8e7b-2a3b4c5d6e7f',
'link' => 'https://facebook.com/post/12345',
'quantity' => 1000,
'streamMinutes' => 0,
'reaction' => 0,
// 'notes' => "Comment 1\nComment 2\nComment 3", // bắt buộc nếu là dịch vụ comment
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($response); // ['order' => 'ORD-...']
const res = await fetch('https://viplikesub.net/api/smm/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: 'YOUR_API_KEY',
action: 'add',
service: '9d3f1c2e-4b8a-4d52-8e7b-2a3b4c5d6e7f',
link: 'https://facebook.com/post/12345',
quantity: '1000',
streamMinutes: '0',
reaction: '0',
// notes: 'Comment 1\nComment 2\nComment 3' // bắt buộc nếu là dịch vụ comment
})
});
console.log(await res.json());