SMM 面板开发者 API:服务、订单、状态和余额
smmopen API 采用通用的 SMM 面板 v2 格式。每个请求都是向同一个接口发送 POST,用 action 的值指定要做什么。
基本信息
- 接口地址
- POST https://smmopen.com/api/v2
- 格式
- 表单(application/x-www-form-urlencoded)或 JSON
- 密钥
- 在 key 字段中填入你的 API 密钥。在面板的设置中创建
- 返回
- JSON。失败时,原因在 error 字段中返回
- 限制
- 每个密钥每分钟 300 次请求
services服务列表
返回每项服务的 ID、名称、类别、每 1K 价格、最小和最大数量,以及是否含补量。
| key | API 密钥 |
|---|---|
| action | services |
返回示例
[
{
"service": 28232,
"name": "Instagram Followers, Plus",
"type": "Default",
"category": "Instagram Followers",
"rate": "1.8500",
"min": 50,
"max": 90000,
"refill": true,
"cancel": true
}
]add新增订单
发送服务 ID、链接和数量;费用从余额中扣除,并返回订单编号。
| key | API 密钥 |
|---|---|
| action | add |
| service | 服务 ID |
| link | 公开链接 |
| quantity | 数量 |
返回示例
{
"order": "OP-7K2M9QX"
}status订单状态
返回一个订单编号(order)或最多 100 个以逗号分隔的编号(orders)对应的费用、开始数量、状态和剩余数量。
| key | API 密钥 |
|---|---|
| action | status |
| order | 订单编号 |
| orders | 多个订单编号 |
返回示例
{
"charge": "1.8500",
"start_count": 0,
"status": "Pending",
"remains": 1000,
"currency": "USD"
}balance余额
你当前的余额和币种。
| key | API 密钥 |
|---|---|
| action | balance |
返回示例
{
"balance": "120.0000",
"currency": "USD"
}cancel取消
取消尚未开始的订单,费用退回你的余额。
| key | API 密钥 |
|---|---|
| action | cancel |
| orders | 订单编号(以逗号分隔,最多 100 个) |
返回示例
[
{
"order": "OP-7K2M9QX",
"cancel": 1
}
]refill申请补量
为期限内已完成或部分完成的 Plus 或 Pro 订单申请补量。
| key | API 密钥 |
|---|---|
| action | refill |
| order | 订单编号 |
返回示例
{
"refill": "RF-3XQ8M2K"
}错误名称
- Invalid API key
- 密钥错误,或已被替换
- Invalid service
- 没有该 ID 的服务
- Invalid link
- 不是以 https:// 开头的公开地址
- Quantity out of range
- 数量超出该服务的范围
- Not enough funds on balance
- 余额太低
- Refill is not available for this order
- Lite 档位,或补量期限已过
- Too many requests
- 已达限制。请稍后再试