| طريقة HTTP | POST |
| رابط API | https://smm-top.com/api/v2 |
| صيغة الرد | JSON |
| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | services |
مثال على الرد
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true
},{"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false
}]مثال على الرد
{
"order": 23501
}| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | status |
| order | رقم الطلب |
مثال على الرد
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | status |
| orders | أرقام الطلبات مفصولة بفواصل |
مثال على الرد
{
"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"
}}| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | refill |
| order | رقم الطلب |
مثال على الرد
{
"refill": "1"
}| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | refill_status |
| refill | معرّف إعادة التعبئة |
مثال على الرد
{
"status": "Completed"
}| المعلمات | الوصف |
|---|---|
| key | مفتاح API الخاص بك |
| action | balance |
مثال على الرد
{
"balance": "100.84292",
"currency": "USD"
}مثال على كود PHP