API 详情

Panel.Socialesale API 允许您通过向我们的服务器发送简单的请求来与我们的网站进行交互。此服务完全免费。

您可以通过编程方式自动下单、跟踪配送状态、查询当前余额,并访问我们所有服务的完整信息。非常适合运营自有面板的代理商、管理多个客户的机构,以及构建自定义解决方案的开发者。

HTTP 方法 POST
API 地址 https://panel.socialesale.com/api/v2
API 密钥 在您的账户页面获取 API 密钥
响应格式 JSON
PHP 代码示例 https://panel.socialesale.com/example.txt
添加订单

使用此方法为任何有效服务下新订单。

参数 说明
api_token 您的 API 令牌
action 方法名称
service 服务 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 方法名称
order 订单 ID,以逗号分隔,最多 100 个

响应示例:

[
  {
    "order": 721,
    "cancel": 1,
    "message": "We are now attempting to cancel your order..."
  },
  {
    "order": 722,
    "errors": ["This order cannot be cancelled because its current status is COMPLETED."]
  }
]
服务列表

这将返回您账户可用的所有有效服务及其价格和参数。其中包含自动设置或确定价格所需的全部信息。

参数 说明
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",
      "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",
      "cancel": false,
      "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",
      "cancel": true,
      "desc": "10k/day\r\nMax - 55k\r\n8 Hours Start"
  }
]
当前余额

用于获取您账户中可用余额的数量。

参数 说明
api_token 您的 API 令牌
action 方法名称

响应示例:

{
  "balance": "100.78",
  "currency": "USD"
}