Skip to content
AR
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 الخاص بك

استخدم الوثائق الموجودة في هذه الصفحة كمرجع للطرق المدعومة، معاملات الطلب وتنسيقات الاستجابة. راجع كتالوج الخدمات الحالي قبل ربط معرفات الخدمات بتطبيقك الخاص.

بناء سير عمل طلب موثوق

تحقق من نوع الخدمة، وتنسيق الرابط، وحدود الكمية قبل إرسال الطلب. قم بتخزين معرف الطلب المستلم واستخدم طرق الحالة الموثقة لمتابعة تقدمه. تعامل مع الأخطاء بشكل صريح وتجنب إعادة إرسال الطلب تلقائياً عندما تكون النتيجة الأصلية غير مؤكدة.

حافظ على سرية بيانات الاعتماد

احتفظ ببيانات اعتماد API على خادمك وبعيداً عن كود المتصفح العام، ولقطات الشاشة المشتركة، ورسائل الدعم. استخدم استجابات API الفعلية بدلاً من الافتراضات حول توافر الخدمة أو التسليم. استشر الأسئلة الشائعة للحصول على إرشادات عامة حول الطلب.