Trang chủ
HTTP Method
POST
API URL
https://viplikesub.net/api/smm/v2
Định dạng
application/x-www-form-urlencoded
Response
JSON
Xác thực: truyền API key qua form field key, query string ?key=..., hoặc header X-API-Token: <your_key>. Lấy API key trong trang Hồ sơ → API Token.
POST

/api/smm/v2

action=services

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 fieldMô tả
keyrequiredAPI key của user
actionrequiredservices
Response
[
  {
    "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).

POST

/api/smm/v2

action=add

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 fieldMô tả
keyrequiredAPI key
actionrequiredadd
servicerequiredServerServiceId lấy từ action=services
linkrequiredLink bài viết / trang đích
quantityrequiredSố lượng cần (phải nằm trong min/max)
notesoptionalBắt buộc với dịch vụ comment. Mỗi dòng là 1 comment.
streamMinutesoptionalSố phút xem, dùng cho dịch vụ live/streaming.
reactionoptionalLoại cảm xúc: 0=Like, 1=Tym, 2=Haha, 3=Wow, 4=Buồn, 5=Tức giận.
Với dịch vụ comment, nếu số dòng trong notes ít hơn quantity, hệ thống sẽ tự lặp comment để đủ số lượng.
Response
{
  "order": "ORD-20260524-000123"
}
POST

/api/smm/v2

action=status

Kiểm tra trạng thái 1 đơn.

Form fieldMô tả
keyrequiredAPI key
actionrequiredstatus
orderrequiredMã đơn trả về từ action=add
Response
{
  "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.

POST

/api/smm/v2

action=status (nhiều đơn)

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 fieldMô tả
keyrequiredAPI key
actionrequiredstatus
ordersrequiredDanh sách mã đơn, phân tách bằng dấu phẩy
Response
{
  "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" }
}
POST

/api/smm/v2

action=balance

Lấy số dư tài khoản hiện tại.

Form fieldMô tả
keyrequiredAPI key
actionrequiredbalance
Response
{
  "balance": "1250000",
  "currency": "VND"
}

Ví dụ tích hợp

cURL
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
<?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-...']
Node.js (fetch)
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());