代理商 API
标准 SMM 面板 API v2。免费创建账户即可获取你的 API 密钥。
服务列表
action=services| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | services |
响应示例
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"dripfeed": false
}
]
添加订单
action=add| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | add |
| service | 服务 ID |
| link | 页面链接 |
| quantity | 所需数量 |
| runs (optional) | 交付批次(分批投放) |
| interval (optional) | 间隔分钟数 |
| comments (custom comments) | 每行一条评论 |
响应示例
{
"order": 23501
}
订单状态
action=status| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | status |
| order | 订单 ID |
响应示例
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
多个订单状态
action=status| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | status |
| orders | 订单 ID,用逗号分隔(最多 100 个) |
响应示例
{
"1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"10": { "error": "Incorrect order ID" }
}
创建补量
action=refill| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | refill |
| order | 订单 ID(或填 "orders" 最多查询 100 个) |
响应示例
{
"refill": "1"
}
补量状态
action=refill_status| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | refill_status |
| refill | 补量 ID(或填 "refills" 最多查询 100 个) |
响应示例
{
"status": "Completed"
}
取消订单
action=cancel| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | cancel |
| orders | 订单 ID,用逗号分隔(最多 100 个) |
响应示例
[
{ "order": 9, "cancel": { "error": "Incorrect order ID" } },
{ "order": 2, "cancel": 1 }
]
余额
action=balance| 参数 | 描述 |
|---|---|
| key | 你的 API 密钥 |
| action | balance |
响应示例
{
"balance": "100.84292",
"currency": "USD"
}
示例(PHP)
$ch = curl_init("https://smmgonow.com/api/v2");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
"key" => "YOUR_API_KEY",
"action" => "add",
"service" => 1,
"link" => "https://instagram.com/yourprofile",
"quantity" => 1000,
]),
]);
$result = json_decode(curl_exec($ch), true);