Skip to content
ZH
EnglishAlbanianالعربيةArmenianAzerbaijaniBelarusianBosnian中文FrançaisGeorgianDeutschBahasa IndonesiaItaliano日本語한국어PunjabiРусскийSerbianEspañolTiếng Việt
注册
DEVELOPERS / API V2

规划您的 THEPANEL API 集成

使用 THEPANEL 的 API 文档进行集成。在构建您的工作流程之前,请查看服务类型、请求参数、订单状态方法和 JSON 示例。

API 端点
https://thepanel.top/api/v2
POSTapplication/x-www-form-urlencodedJSON

身份验证

请在 key 参数中发送 API 密钥,并在账户中管理密钥。

打开账户 ↗

Service list

action=services
参数说明
keyYour API key
actionservices

响应示例

[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
        "refill": true,
        "cancel": true
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500",
        "refill": false,
        "cancel": true
    }
]

Add order

action=add
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
quantityNeeded quantity
runs (optional)Runs to deliver
interval (optional)Interval in minutes
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
commentsComments list separated by \r\n or \n
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
quantityNeeded quantity
hashtagHashtag to scrape usernames from
参数说明
keyYour API key
actionadd
serviceService ID
usernameUsername
minQuantity min
maxQuantity max
posts (optional)Use this parameter if you want to limit the number of new (future) posts that will be parsed and for which orders will be created. If posts parameter is not set, the subscription will be created for an unlimited number of posts.
old_posts (optional)Number of existing posts that will be parsed and for which orders will be created, can be used if this option is available for the service.
delayDelay in minutes. Possible values: 0, 5, 10, 15, 20, 30, 40, 50, 60, 90, 120, 150, 180, 210, 240, 270, 300, 360, 420, 480, 540, 600
expiry (optional)Expiry date. Format d/m/Y
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
commentsComments list separated by \r\n or \n
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
quantityNeeded quantity
answer_numberAnswer number of the poll
参数说明
keyYour API key
actionadd
serviceService ID
linkLink to page
quantityNeeded quantity
groupsGroups list separated by \r\n or \n

响应示例

{
    "order": 23501
}

Order status

action=status
参数说明
keyYour API key
actionstatus
orderOrder ID

响应示例

{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}

Multiple orders status

action=status
参数说明
keyYour API key
actionstatus
ordersOrder IDs (separated by a comma, up to 100 IDs)

响应示例

{
    "1": {
        "charge": "0.27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157",
        "currency": "USD"
    },
    "10": {
        "error": "Incorrect order ID"
    },
    "100": {
        "charge": "1.44219",
        "start_count": "234",
        "status": "In progress",
        "remains": "10",
        "currency": "USD"
    }
}

Create refill

action=refill
参数说明
keyYour API key
actionrefill
orderOrder ID

响应示例

{
    "refill": "1"
}

Create multiple refill

action=refill
参数说明
keyYour API key
actionrefill
ordersOrder IDs (separated by a comma, up to 100 IDs)

响应示例

[
    {
        "order": 1,
        "refill": 1
    },
    {
        "order": 2,
        "refill": 2
    },
    {
        "order": 3,
        "refill": {
            "error": "Incorrect order ID"
        }
    }
]

Get refill status

action=refill_status
参数说明
keyYour API key
actionrefill_status
refillRefill ID

响应示例

{
    "status": "Completed"
}

Get multiple refill status

action=refill_status
参数说明
keyYour API key
actionrefill_status
refillsRefill IDs (separated by a comma, up to 100 IDs)

响应示例

[
    {
        "refill": 1,
        "status": "Completed"
    },
    {
        "refill": 2,
        "status": "Rejected"
    },
    {
        "refill": 3,
        "status": {
            "error": "Refill not found"
        }
    }
]

Create cancel

action=cancel
参数说明
keyYour API key
actioncancel
ordersOrder IDs (separated by a comma, up to 100 IDs)

响应示例

[
    {
        "order": 9,
        "cancel": {
            "error": "Incorrect order ID"
        }
    },
    {
        "order": 2,
        "cancel": 1
    }
]

User balance

action=balance
参数说明
keyYour API key
actionbalance

响应示例

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

请求示例

curl -X POST 'https://thepanel.top/api/v2'   --data-urlencode 'key=YOUR_API_KEY'   --data-urlencode 'action=balance'

规划您的 THEPANEL API 集成

请将本页面的文档作为支持的方法、请求参数和响应格式的参考。在将服务 ID 映射到您自己的应用程序之前,请查看当前的服务目录。

构建可靠的订单工作流程

在发送订单之前,请验证服务类型、链接格式和数量限制。存储返回的订单 ID,并使用文档中的状态方法来跟踪其进度。明确处理错误,并在原始结果不确定时避免自动重新提交请求。

保护您的访问凭据

请将 API 凭据保存在您的服务器上,不要将其暴露在公共浏览器代码、共享截图和支持消息中。请使用实际的 API 响应,而不是对服务可用性或交付情况进行假设。有关常规下单指南,请咨询常见问题解答。