API 文件
文件風格與常見 SMM 面板保持一致。V2/V3 除服務列表返回欄位外,其它行為一致。
如需取得 APIKEY,請前往 帳號設定 → API 金鑰 進行產生。
Connect With API
| HTTP Method | POST |
| API URL | |
| Response format | JSON |
| Content-Type | application/x-www-form-urlencoded (推薦)或 application/json |
API 金鑰在帳號設定 → API 金鑰中產生。
同一帳號在同一站點(主站/子站)兩次產生間隔為 20 分鐘。
金鑰僅產生時完整顯示一次,請立即儲存。
同一帳號在同一站點(主站/子站)兩次產生間隔為 20 分鐘。
金鑰僅產生時完整顯示一次,請立即儲存。
Service list
action = services
| Parameters | Description |
|---|---|
| key | Your API key |
| action | services |
[
{
"service": "11",
"name": "Followers",
"type": "Default",
"category": "Instagram",
"rate": "8.5000",
"min": "10",
"max": "10000",
"refill": true,
"cancel": true
}
]curl 範例
Add order
action = add
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID(來自 <code>services</code> 返回) |
| link | Link to page |
| quantity | Needed quantity |
| runs | Runs to deliver(optional) |
| interval | Interval in minutes(optional) |
| comments | Custom comments(optional,支援 <code>\n</code> 多行) |
| username | optional |
{
"order": "b76VJizQKZ"
}curl 範例
Order status
action = status(single)
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID(僅支援隨機單號,如 <code>b76VJizQKZ</code>) |
{
"charge": "0.2782",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "CNY"
}curl 範例(單個)
action = status(multiple)
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs separated by comma(僅支援隨機單號;up to 100 IDs) |
{
"b76VJizQKZ": {
"charge": "0.2782",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "CNY"
},
"a1B2c3D4e5": {
"error": "Incorrect order ID"
}
}curl 範例(多個)
Create refill
action = refill
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID(僅支援隨機單號) |
說明:該介面會建立「補單工單」(管理員後台可見),由管理員在工單內決定是否向貨源發起補單。
返回
返回
refill: 1 表示「已受理並建立工單」。
{
"refill": 1
}curl 範例
Get refill status
action = refill_status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
{
"status": "Completed"
}curl 範例
Create cancel
action = cancel
| Parameters | Description |
|---|---|
| key | Your API key |
| action | cancel |
| orders | Order IDs separated by comma(僅支援隨機單號,up to 100 IDs) |
說明:該介面會建立「取消工單」(管理員後台可見),由管理員在工單內決定是否向貨源發起取消。
返回
返回
cancel: 1 表示「已受理並建立工單」,並非直接代表貨源已取消成功。
[
{
"order": "b76VJizQKZ",
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": "a1B2c3D4e5",
"cancel": 1
}
]curl 範例
User balance
action = balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
{
"balance": "100.8429",
"currency": "CNY"
}curl 範例