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

Planirajte vašu THEPANEL API integraciju

Integrišite THEPANEL koristeći njegovu API dokumentaciju. Pregledajte tipove usluga, parametre zahteva, metode statusa porudžbina i JSON primere.

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'

Planirajte vašu THEPANEL API integraciju

Koristite dokumentaciju na ovoj stranici kao referencu za podržane metode, parametre zahteva i formate odgovora. Pregledajte trenutni katalog usluga pre mapiranja ID-eva usluga u vašu aplikaciju.

Izgradite pouzdan proces poručivanja

Validirajte tip usluge, format linka i limite količine pre slanja porudžbine. Sačuvajte vraćeni ID porudžbine i koristite dokumentovane metode statusa za praćenje njenog napretka. Eksplicitno obrađujte greške i izbegavajte automatsko ponovno slanje zahteva kada je prvobitni ishod neizvestan.

Čuvajte pristupne kredencijale privatnim

Čuvajte API kredencijale na svom serveru, van javnog koda pretraživača, deljenih snimaka ekrana i poruka podršci. Koristite stvarne API odgovore umesto pretpostavki o dostupnosti usluge ili isporuci. Konsultujte Često postavljana pitanja za opšte smernice o poručivanju.