SMMOrigins API 允许您通过向我们的服务器发送简单的请求来与我们的网站进行交互。此服务完全免费。
您可以通过编程方式自动下单、跟踪配送状态、查询当前余额,并访问我们所有服务/套餐的完整信息。非常适合运营自有面板的代理商、管理多个客户的机构,以及构建自定义解决方案的开发者。
| HTTP 方法 | POST |
| API 地址 | https://smmorigins.com/api/v2 |
| API 密钥 | 在您的账户页面获取 API 密钥 |
| 响应格式 | JSON |
| PHP 代码示例 | https://smmorigins.com/example.txt |
使用此方法为任何有效套餐下新订单。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
| package | 套餐 ID |
| link | 页面链接 |
| quantity | 所需数量 |
| custom_data | 可选,仅用于自定义评论、提及及其他相关套餐。 每项以 '\n', '\n\r' 分隔 |
成功响应:
{
"order":"23501"
}
使用此方法查询您任意订单的状态。
查询订单状态时,请勿过于频繁请求,否则我们可能需要限制您的请求。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
| order | 订单 ID |
成功响应:
{
"status": "Completed",
"start_counter": "600",
"remains": "600"
}
如果订单状态仍为"待处理",则可以通过 API 自动取消(取消并退款需要 10-20 分钟)。一旦订单状态变为"处理中"或其他任何状态,将无法再通过 API 自动取消。
对于处于其他状态的订单,我们仍可能手动取消,但您需要通过提交工单申请取消。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
| orders | 订单 ID,以逗号分隔,最多 100 个 |
响应示例:
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
这将返回您账户可用的所有有效套餐及其价格和参数。其中包含自动设置或确定价格所需的全部信息。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
响应示例:
[
{
"id": 101,
"service_id": 1,
"name": "Real & Active Followers - Best Server",
"rate": "250.00",
"min": "100",
"max": "100000",
"service": "Instagram Followers",
"type": "default",
"refill": false,
"cancel": true,
"desc": "0-3 Hours Start | Full Link | 20 Days Refill\r\nLink Format:\r\nhttps://www.instagram.com/official_social_sale/"
},
{
"id": 107,
"service_id": 1,
"name": "Indian Mixed Followers",
"rate": "150.00",
"min": "200",
"max": "10000",
"service": "Instagram Followers",
"type": "default",
"refill": false,
"cancel": true,
"desc": "0-12 Hours Start | Full Link |\r\nLink Format:\r\nhttps://www.instagram.com/official_social_sale/"
},
{
"id": 30067,
"service_id": 1,
"name": "Instagram Followers - Worldwide",
"rate": "103.00",
"min": "100",
"max": "10000",
"service": "Instagram Followers",
"type": "default",
"refill": false,
"cancel": true,
"desc": "10k/day\r\nMax - 55k\r\n8 Hours Start"
}
]
用于获取您账户中可用余额的数量。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
响应示例:
{
"balance": "100.78",
"currency": "USD"
}