توثيق واجهة API للوحة SMM

نقطة اتصال واحدة وطلبات POST بصيغة النماذج واستجابات JSON. متوافقة مع برامج عملاء لوحات SMM القياسية.

POST https://smmresellershub.com/api/v2

تذهب كل الطلبات إلى نقطة الاتصال الوحيدة هذه. يحدد المعامل action ما سيحدث، ويوثّق key هويتك. يحصل كل حساب على مفتاح تلقائيًا عند التسجيل.

الإجراءات المتاحة

الإجراء وظيفته المعاملات المطلوبة
services Returns every active service with your pricing already applied. `dripfeed` is true when the service accepts `runs` and `interval` on the add action. key, action
add Creates an order and charges your balance. Returns the order ID you use for status, refill and cancel. key, action, service, link, quantity
status Check one order with `order`, or up to 100 at once with a comma-separated `orders` list. key, action
refill Available on completed orders where the service offers a refill guarantee. Returns a refill ID — keep it, that is what refill_status takes. key, action
refill_status Checks a refill you created earlier, using the refill ID returned by the refill action. key, action
cancel Cancels orders that have not completed yet. Always returns an array, even for a single ID. Cancelled orders are refunded to your balance. key, action, orders
balance Returns your current balance and its currency. key, action

مثال: تقديم طلب

curl -X POST https://smmresellershub.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=add" \
  -d "service=3" \
  -d "link=https://instagram.com/yourprofile" \
  -d "quantity=1000"

الاستجابة

{
  "order": 1024
}

التعامل مع عدة معرّفات

تقبل status و refill و refill_status و cancel قائمة معرّفات مفصولة بفواصل حتى 100 معرّفًا. عند إرسال قائمة، يُبلَّغ عن خطأ المعرّف الفاشل داخل صفه بدل إفشال الطلب كله، فلا يكلفك معرّف سيئ واحد الدفعة بأكملها.

[
  { "order": 1024, "cancel": 1 },
  { "order": 1025, "cancel": { "error": "Incorrect order ID" } }
]

الأخطاء

تُرجع الإخفاقات HTTP 4xx مع مفتاح "error". ويعني HTTP 200 النجاح دائمًا.

حدود المعدل

تُقيَّد الطلبات لكل مفتاح. تجاوز الحد يُرجع HTTP 429.

اللوحات الفرعية

تطابق الصيغة واجهات API القياسية للوحات SMM، فتعمل معظم نصوص اللوحات الفرعية دون تغيير.

احصل على مفتاح API

أنشئ حسابًا مجانيًا ويُصدَر مفتاحك فورًا، مع المرجع الكامل في لوحة التحكم.