Skip to content
HY
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-ին: