Skip to content
BE
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

Аўтэнтыфікацыя

Перадавайце ключ API у параметры key. Кіруйце ім у сваім акаўнце.

Адкрыць акаўнт ↗

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, а не здагадкі аб наяўнасці паслуг або дастаўцы. Для агульных парад па заказах звяртайцеся да FAQ.