Radical

Radical — Provider API

سازگار با SmartPanel / PerfectPanel · v2
https://smmradical.com/api/v2

وب‌سرویس ارائه‌دهنده

سازگار با SmartPanel و PerfectPanel. پارامترهای key و action را به /api/v2 بفرستید.

راه‌اندازی PerfectPanel

https://smmradical.com/api/v2
  1. Providers → Add Provider
  2. آدرس API را وارد کنید (باید به /api/v2 ختم شود)
  3. کلید API را از ربات کپی کنید
  4. ذخیره و سپس Sync services

احراز هویت

FieldWhereExample
keyquery · form · JSON?key=YOUR_API_KEY
X-Api-KeyHTTP headerX-Api-Key: YOUR_API_KEY

GETPOST action: services

Returns a JSON array. All values are strings.

FieldTypeReq
keystringyes
actionstringservices
curl 'https://smmradical.com/api/v2?key=YOUR_API_KEY&action=services'
[
  {
    "service": "1",
    "name": "Telegram Channel Members",
    "type": "Default",
    "category": "Telegram",
    "rate": "0.9000",
    "min": "100",
    "max": "100000",
    "refill": "0",
    "cancel": "1",
    "dripfeed": "0",
    "desc": "...",
    "description": "...",
    "brand": "Telegram"
  }
]

GETPOST action: balance

curl 'https://smmradical.com/api/v2?key=YOUR_API_KEY&action=balance'
{"balance":"125.4300","currency":"USD"}

GETPOST action: add

هزینه = نرخ × تعداد / 1000

FieldReq
serviceyes
linkyes
quantityyes
curl -X POST 'https://smmradical.com/api/v2' \
  -d 'key=YOUR_API_KEY' -d 'action=add' -d 'service=1' \
  -d 'link=https://t.me/+abc' -d 'quantity=1000'
{"order":4815}

GETPOST action: status

One or many orders (up to 100).

curl 'https://smmradical.com/api/v2?key=YOUR_API_KEY&action=status&order=4815'
{"charge":"0.9000","start_count":"0","status":"In progress","remains":"350","currency":"USD"}

GETPOST action: cancel

Unfilled remainder is refunded.

curl 'https://smmradical.com/api/v2?key=YOUR_API_KEY&action=cancel&orders=4815,4816'
{"4815":{"order":4815,"cancel":true}}

وضعیت‌ها

Pending
accepted, not started
Processing
queued
In progress
delivering
Completed
fully delivered
Partial
auto-refunded
Canceled
auto-refunded

خطاها

HTTP 200 + {"error":"..."}

ErrorWhen
Invalid API keymissing or unknown key
Invalid actionunknown action
incorrect datamissing field
incorrect serviceunknown service
incorrect quantityout of range
not enough funds on balancebalance < charge
Incorrect order IDorder not found
not supportedrefill not implemented
internal errorretry safely

عیب‌یابی

Diagnostic echo URL:

https://smmradical.com/api/v2/echo

Key aliases: key, apikey, api_key, token, X-Api-Key, Authorization Bearer.
Action aliases: action, type, method, op.