GlobalSMM has an alternative API for comfortable integration with few CMS.
If you have questions about the API, please contact support.
Make your appeal in English, or Russian.
API Base URL | https://global-smm.ru/api/adapter/default/index |
HTTP Method | POST |
Response format | JSON/XML |
API Key | View in your settings |
Parameters | Description |
---|---|
key | Your API key |
action | services |
Example response:
[ { "service": 136, "name": "Сохранения публикации [50к] (закладки, избранное).", "type": "Default", "category": "Статистика", "rate": 4, "min": 100, "max": 50000 }, { "service": 217, "name": "Охват публикаций [20k]", "type": "Default", "category": "Статистика", "rate": 7, "min": 250, "max": 20000 }, ]
Parameters | Description |
---|---|
key | Your API key |
action | add |
service | Service ID |
link | Link of order object |
quantity | Needed quantity |
Example response:
{ "order": 414674 }
Available statuses:
remains
are equivalent to the order quantity before returning the full amount - perhaps some part of the order was completed.
Parameters | Description |
---|---|
key | Your API key |
action | status |
order | Order ID |
Example response:
{ "charge": 16, "start_count": null, "status": "In progress", "remains": null, "currency": "RUB" }
Parameters | Description |
---|---|
key | Your API key |
action | status |
orders | Order IDs separated by comma |
Example response:
{ "414674": { "charge": 16, "start_count": null, "status": "In progress", "remains": null, "currency": "RUB" }, "414654": { "error": "Order 414654 not found" } }
Parameters | Description |
---|---|
key | Your API key |
action | balance |
Example response:
{ "balance": 32, "currency": "RUB" }