← الرئيسية

توثيق API

واجهة برمجية كاملة متوافقة مع معايير SMM panels — للموزّعين والمطوّرين

معلومات عامة

HTTP MethodPOST
API URL/api/v2
FormatJSON / form-urlencoded
API Keyاحصل عليه من صفحة الحساب
services

List of services

إرجاع قائمة كاملة بجميع الخدمات المتاحة مع أسعارها وحدود الكمية.

PARAMETERS
ParameterDescription
key*مفتاح API الخاص بك
action*القيمة الثابتة: services
EXAMPLE RESPONSE
[
  {
    "service": 101,
    "name": "Instagram Followers — Real",
    "type": "Default",
    "category": "Instagram",
    "rate": "0.50",
    "min": "100",
    "max": "100000",
    "refill": true,
    "cancel": true
  }
]

مثال PHP

<?php
$api = new Api();
$api->set_api_url('/api/v2');
$api->set_api_key('YOUR_API_KEY');

$services = $api->services();
$balance  = $api->balance();
$order    = $api->order(['service' => 101, 'link' => 'https://...', 'quantity' => 1000]);
$status   = $api->status($order['order']);
?>
تواصل معنا