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所需数量

成功响应:

{
  "order":"23501"
}
订单状态

使用此方法查询您任意订单的状态。

查询订单状态时,请勿过于频繁请求,否则我们可能需要限制您的请求。

参数 说明
api_token 您的 API 令牌
action 方法名称
order 订单 ID

Drip Feed 订单:请使用 add 返回的订单 ID。status 描述整个订单。运行期间返回 In Progress。start_counter 是第一批开始时的数值,remains 是尚未交付的数量(未开始的批次加上已开始批次中仍未完成的部分)。订单结束时返回 Completed、Partial 或 Cancelled,此时 remains 为最终未交付的数量。

取消:状态为 Cancelling 的订单尚未最终确定。请持续检查其状态,直到变为 Cancelled 或 Partial,并且仅根据这一最终结果向您的客户退款。

成功响应:

{
  "status": "Completed",
  "start_counter": "600",
  "remains": "600"
}
取消订单

如果"开始计数"仍为空,则可以通过 API 自动取消订单(取消并退款需要 10-20 分钟)。一旦"开始计数"已更新,说明订单已开始处理,将无法再通过 API 自动取消。

对于已经开始处理的订单,我们仍可能手动取消,但您需要通过提交工单申请取消。

参数 说明
api_token 您的 API 令牌
action 方法名称
order 订单 ID,以逗号分隔,最多 100 个

Drip Feed 订单:取消请求始终会被接受。如果没有活动的批次,订单会立即最终确定,从未开始的批次将退款。如果有活动的批次,订单会显示 Cancelling,直到该批次完成,然后以 Cancelled(未交付任何内容)或 Partial 结束。请使用 status 读取最终的 remains。

响应示例:

[
  {
    "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."]
  }
]
创建补单

可以为一个订单或多个订单同时申请补单。只有设置了 "refill": true 的服务支持补单,且订单完成后仅在有限时间内提供补单服务。

参数 说明
api_token您的 API 令牌
action方法名称
order订单 ID
orders订单 ID,以逗号分隔,最多 100 个

响应示例:

{
  "refill": "1"
}
[
  {
    "order": 1,
    "refill": 1
  },
  {
    "order": 2,
    "refill": {
      "error": "Incorrect order ID"
    }
  }
]
补单状态

查询一个或多个补单的状态。Statuses: Pending, In progress, Completed, Rejected.

参数 说明
api_token您的 API 令牌
action方法名称
refill补单 ID
refills补单 ID(用逗号分隔,最多 100 个)

响应示例:

{
  "status": "Completed"
}
[
  {
    "refill": 1,
    "status": "Completed"
  },
  {
    "refill": 2,
    "status": {
      "error": "Refill not found"
    }
  }
]
服务列表

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

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

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

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

响应示例:

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