API v2

STAR SMM Panel API

SMM API v2 มาตรฐาน เพิ่ม URL และคีย์ของคุณในแผงที่ใช้อยู่ แล้วบริการ ออร์เดอร์ และสถานะจะเชื่อมต่อได้ทันที

Base URL
https://star-smm-panel.com/api/v2
คำขอ
แนะนำ POST (ใช้ GET ได้) · form (application/x-www-form-urlencoded) หรือ JSON
การยืนยันตัวตน
พารามิเตอร์ key ในทุกคำขอ
การตอบกลับ
JSON ข้อผิดพลาดอยู่ในรูป {"error": "message"}
สกุลเงิน
USD (deducted from your balance)
จำกัดอัตราการเรียก
300 ครั้ง/นาทีต่อคีย์ · ค้นหา 60 ครั้ง/นาที
ยอดเงินคงเหลือ
services, deposit, deposit_status และ balance ใช้ได้ก่อนการเติมเงินครั้งแรก (ตั้งค่าแผง เติมเงิน) ส่วนอื่นทั้งหมดใช้ได้เมื่อคุณเติมเงินแล้ว

เชื่อมต่อแผงที่คุณใช้อยู่

แผงใดก็ตามที่ใช้ SMM API v2 มาตรฐาน (Perfect Panel และอื่นๆ) สามารถเพิ่มเราเป็นผู้ให้บริการได้

  1. 01

    เพิ่มผู้ให้บริการ

    Admin > Providers > Add API URL: https://star-smm-panel.com/api/v2, API key: คีย์ของคุณ

  2. 02

    นำเข้าบริการ

    โหลดรายการบริการของเรา เลือกบริการ และตั้งราคาขายของคุณ ID บริการของเราไม่เปลี่ยน

  3. 03

    เติมยอดเงิน

    ออร์เดอร์ชำระจากยอดเงินคงเหลือของคุณที่นี่ เติมเงินได้ที่ แดชบอร์ด > เติมเงิน

ตัวอย่างโค้ด: สั่งซื้อ

สั่งบริการ #40 (Instagram Followers [South Korea]) จำนวน 1,000 แทนที่ YOUR_API_KEY ด้วยคีย์ของคุณ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=add \
  -d service=40 \
  -d link=https://www.instagram.com/yourbrand/ \
  -d quantity=1000
action=services

รายการบริการ

บริการทั้งหมดที่สั่งได้ rate คือ USD ต่อ 1,000 ID บริการไม่เปลี่ยน จึงจับคู่ในแผงของคุณได้ทันที

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"services"

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=services

การตอบกลับ

[
  {
    "service": 40,
    "name": "Instagram Followers [South Korea]",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "4.52408",
    "min": "100",
    "max": "100000",
    "refill": false,
    "cancel": true
  },
  {
    "service": 44,
    "name": "Instagram Followers [United States]",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "0.96032",
    "min": "100",
    "max": "100000",
    "refill": false,
    "cancel": true
  },
  …
]
action=add

สั่งซื้อ

ค่าบริการจะหักจากยอดเงินคงเหลือและส่ง ID ออร์เดอร์กลับมา บัญชีส่วนตัวและลิงก์ที่เปิดไม่ได้จะถูกคัดออกอัตโนมัติระหว่างดำเนินการ และจำนวนที่ไม่ได้ส่งจะคืนเข้ายอดเงินคงเหลือ

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"add"
serviceจำเป็นID บริการ (service จาก services)
linkจำเป็นลิงก์โปรไฟล์ (ผู้ติดตาม การเข้าชมโปรไฟล์) ลิงก์คอมเมนต์ (ไลก์คอมเมนต์: ลิงก์โพสต์?comment_id=ID คอมเมนต์) หรือลิงก์โพสต์/รีล (อื่นๆ)
quantityจำเป็นจำนวน ขั้นต่ำ 100 สูงสุดแล้วแต่บริการ (ไม่ต้องใส่สำหรับ Custom Comments)
commentsไม่บังคับเฉพาะ Custom Comments: คอมเมนต์คั่นด้วย \n จำนวนบรรทัดคือจำนวนที่สั่ง

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=add \
  -d service=40 \
  -d link=https://www.instagram.com/yourbrand/ \
  -d quantity=1000

การตอบกลับ

{
  "order": 23501
}

สำหรับบริการ Custom Comments (เช่น #104) ให้ส่ง comments (บรรทัดละหนึ่งรายการ) แทน quantity จำนวนบรรทัดคือจำนวนที่สั่ง

action=status

สถานะออร์เดอร์

ความคืบหน้าของหนึ่งออร์เดอร์ charge คือจำนวนเงินที่ใช้จริง (หลังคืนเงิน) remains คือจำนวนที่เหลือ progress คือเปอร์เซ็นต์ที่เสร็จ และ delivered คือจำนวนที่ส่งแล้ว อัปเดตทุกนาที

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"status"
orderจำเป็นID ออร์เดอร์

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=status \
  -d order=23501

การตอบกลับ

{
  "charge": "4.52",
  "start_count": "1520",
  "status": "In progress",
  "remains": "240",
  "progress": "76",
  "delivered": "760",
  "currency": "USD"
}
action=status

สถานะหลายออร์เดอร์

สูงสุด 100 คั่นด้วยจุลภาค แต่ละออร์เดอร์ได้ผลลัพธ์แยกกัน ID ที่ไม่พบจะได้ข้อผิดพลาดในตำแหน่งของตัวเอง

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"status"
ordersจำเป็นID ออร์เดอร์คั่นด้วยจุลภาค (สูงสุด 100)

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=status \
  -d orders=23501,23502,99999

การตอบกลับ

{
  "23501": {
    "charge": "4.52",
    "start_count": "1520",
    "status": "Completed",
    "remains": "0",
    "progress": "100",
    "delivered": "1000",
    "currency": "USD"
  },
  "23502": {
    "charge": "2.71",
    "start_count": "870",
    "status": "Partial",
    "remains": "400",
    "progress": "60",
    "delivered": "600",
    "currency": "USD"
  },
  "99999": {
    "error": "Incorrect order ID"
  }
}
action=cancel

ยกเลิก (หยุด) ออร์เดอร์

หยุดออร์เดอร์ที่กำลังดำเนินการ ก่อนเริ่ม: คืนเงินเต็มจำนวน ระหว่างดำเนินการ: คืนเงินจำนวนที่ไม่ได้ส่ง และออร์เดอร์จะจบเป็น Canceled หรือ Partial ออร์เดอร์ที่เสร็จแล้วยกเลิกไม่ได้

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"cancel"
ordersจำเป็นID ออร์เดอร์คั่นด้วยจุลภาค (สูงสุด 100 หากมีรายการเดียวใช้ order ได้)

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=cancel \
  -d orders=23501,23502

การตอบกลับ

[
  {
    "order": 23501,
    "cancel": 1
  },
  {
    "order": 23502,
    "cancel": {
      "error": "Order is already completed or canceled"
    }
  }
]
action=deposit

สร้างรายการเติมเงิน

Creates a USDT (TRC20) top-up. Send exactly amount (6 decimals) to address and it's credited automatically (plus bonus if eligible), usually within 1 to 2 minutes. Minimum 40 USD, maximum 5000 USD, one pending top-up at a time, valid until expires_at.

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"deposit"
amountจำเป็นจำนวนเงินเป็น USD (40 ถึง 5000)

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=deposit \
  -d amount=300

การตอบกลับ

{
  "deposit": "K7Q2M9XD",
  "status": "Pending",
  "currency": "USDT",
  "network": "TRC20",
  "address": "TXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "amount": "300.776583",
  "bonus": "90.23",
  "credited": "0.00",
  "txid": null,
  "created_at": "2026-10-07T06:41:14.203Z",
  "expires_at": "2026-10-07T07:41:14.202Z"
}
action=deposit_status

สถานะการเติมเงิน

สถานะของการเติมเงิน Completed หมายถึง credited และ bonus ถูกเพิ่มเข้ายอดเงินคงเหลือแล้ว Pending · Completed · Expired · Canceled · Rejected

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"deposit_status"
depositจำเป็นรหัสเติมเงิน (deposit ในการตอบกลับของ deposit เช่น K7Q2M9XD)

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=deposit_status \
  -d deposit=K7Q2M9XD

การตอบกลับ

{
  "deposit": "K7Q2M9XD",
  "status": "Completed",
  "currency": "USDT",
  "network": "TRC20",
  "address": "TXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "amount": "300.776583",
  "bonus": "90.23",
  "credited": "300.776583",
  "txid": "4c1f…e93a",
  "created_at": "2026-10-07T06:41:14.203Z",
  "expires_at": "2026-10-07T07:41:14.202Z"
}
action=balance

ยอดเงินคงเหลือ

ยอดเงินคงเหลือปัจจุบันเป็น USD

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"balance"

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=balance

การตอบกลับ

{
  "balance": "1250.40",
  "currency": "USD"
}
action=profile

ค้นหาบัญชี

จำนวนผู้ติดตาม กำลังติดตาม และโพสต์ปัจจุบันของบัญชี Instagram ใช้ตรวจสอบก่อนสั่งซื้อหรือบันทึกยอดเริ่มต้น

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"profile"
usernameจำเป็นชื่อผู้ใช้, @username หรือลิงก์โปรไฟล์

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=profile \
  -d username=yourbrand

การตอบกลับ

{
  "username": "yourbrand",
  "full_name": null,
  "followers": 12840,
  "following": 312,
  "posts": 154,
  "is_private": false,
  "is_verified": false,
  "charge": "0.00",
  "currency": "USD"
}
action=post

ค้นหาโพสต์

จำนวนไลก์ คอมเมนต์ และการแชร์ปัจจุบันของโพสต์หรือรีล views มีเฉพาะรีลเท่านั้น

พารามิเตอร์จำเป็นคำอธิบาย
keyจำเป็นคีย์ API ของคุณ
actionจำเป็น"post"
linkจำเป็นลิงก์โพสต์หรือรีล

คำขอ

curl -X POST https://star-smm-panel.com/api/v2 \
  -d key=YOUR_API_KEY \
  -d action=post \
  -d link=https://www.instagram.com/reel/C9xYz12AbCd/

การตอบกลับ

{
  "link": "https://www.instagram.com/reel/C9xYz12AbCd/",
  "shortcode": "C9xYz12AbCd",
  "type": "reel",
  "owner": null,
  "likes": 1986,
  "comments": 68,
  "views": 63085,
  "shares": 56,
  "charge": "0.00",
  "currency": "USD"
}

ค่าสถานะออร์เดอร์

Pendingได้รับแล้ว กำลังจะเริ่ม
Processingกำลังเตรียมการ
In progressกำลังส่ง
Completedเสร็จสิ้น
Partialส่งบางส่วน ส่วนที่เหลือคืนเข้ายอดเงินคงเหลือ
Canceledยกเลิกแล้ว คืนเงินเต็มจำนวนเข้ายอดเงินคงเหลือ

ข้อผิดพลาด

ข้อผิดพลาดจะส่งมาเป็น {"error": "…"} เฉพาะข้อผิดพลาดคีย์และการจำกัดอัตราเท่านั้นที่ใช้ HTTP 401/429 ที่เหลือส่งกลับ 200

errorHTTPสาเหตุ
The API is available after your first top-up …200เรียกใช้สิ่งอื่นนอกจาก services, deposit, deposit_status หรือ balance ก่อนการเติมเงินครั้งแรก
Invalid API key401ไม่มีคีย์หรือคีย์ผิด (รวมถึงคีย์เก่าหลังสร้างใหม่)
Too many requests429เกิน 300 ครั้งต่อนาทีต่อคีย์
Too many lookups429ค้นหาเกิน 60 ครั้งต่อนาที
Incorrect request200ไม่มี action หรือไม่รู้จัก action
Incorrect service ID200service ไม่ใช่ตัวเลข
This service is not available.200บริการนี้ไม่ได้เปิดขาย
Please enter a valid link.200link ว่างหรือยาวเกินไป
Quantity must be between 100 and …200quantity อยู่นอกช่วง min~max ของบริการ
Please enter at least one comment.200Custom Comments ที่ไม่มี comments
Not enough funds on balance.200ยอดเงินคงเหลือไม่พอ (ต้องเติมเงิน)
Incorrect order ID200ไม่ใช่ออร์เดอร์ของคุณหรือไม่พบ ID
Order is already completed or canceled200cancel: ออร์เดอร์เสร็จสิ้นแล้ว
This order can't be canceled now200cancel: ระบบส่งไม่สามารถหยุดได้ในตอนนี้
Minimum deposit is 40 USDT.200deposit: below the minimum
You already have a pending deposit. …200deposit: มีการเติมเงินที่รอดำเนินการอยู่แล้ว (ดู deposit ในการตอบกลับ)
Incorrect deposit ID200deposit_status: ไม่ใช่ของคุณหรือไม่พบรหัส
Incorrect username / Incorrect post link200รูปแบบเป้าหมายการค้นหาไม่ถูกต้อง
Account not found / Post not found200ไม่พบเป้าหมายการค้นหา