SMMOrigins API 允许您通过向我们的服务器发送简单的请求来与我们的网站进行交互。此服务完全免费。
您可以通过编程方式自动下单、跟踪配送状态、查询当前余额,并访问我们所有服务的完整信息。非常适合运营自有面板的代理商、管理多个客户的机构,以及构建自定义解决方案的开发者。
| HTTP 方法 | POST |
| API 地址 | https://smmorigins.com/api/v2 |
| API 密钥 | 在您的账户页面获取 API 密钥 |
| 响应格式 | JSON |
| PHP 代码示例 | https://smmorigins.com/example.txt |
使用此方法为任何有效服务下新订单。
| 参数 | 说明 |
|---|---|
| api_token | 您的 API 令牌 |
| action | 方法名称 |
| service | 服务 ID |
| link | 页面链接 |
| quantity | 所需数量 |
| custom_data | 可选 - 仅适用于自定义评论、提及以及其他相关服务。 评论列表使用 \r\n 或 \n 分隔 |
| comment_mode | 可选 - 仅当您的面板支持带段落的评论(单个评论中包含多行)时需要使用。 如果您的评论都是单行评论,请留空,并按照上述说明发送 custom_data。如果您的面板支持段落评论,请发送 comment_mode=paragraphs,并将 custom_data 作为 JSON 数组发送,每个评论对应一个项目,例如:["第一条评论\n\n第二段","另一条评论"]此功能仅适用于服务列表中 paragraphs 为 true 的服务。 |
成功响应:
{
"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"
}