Подключение API PR Motion

API URLhttps://api.prmotion.me/v1
Response formatJSON
Service list
GET POST
PARAMETERSDESCRIPTION
keyYour API key
actionservices
Example Response
[
    {
        "service": 80,
        "name": "Fast Views 📸",
        "type": "Default",
        "category": "Instagram",
        "rate": "0.06",
        "min": 1000,
        "max": 1000000
    },
    {
        "service": 84,
        "name": "Top Likes 🔝",
        "type": "Default",
        "category": "Instagram",
        "rate": "1.14",
        "min": 50,
        "max": 1000
    },
]
                    
User balance
GET POST
PARAMETERSDESCRIPTION
keyYour API key
actionbalance
currency (optional)RUB
Example Response
{
    "balance": "113.34691",
    "currency": "USD"
}
Order status
GET POST
PARAMETERSDESCRIPTION
keyYour API key
actionstatus
orderOrder ID
Example Response
{
"start_count": "3572",
"status": "Partial",
"currency": "USD"
}
Multiple orders status
GET POST
PARAMETERSDESCRIPTION
keyYour API key
actionstatus
ordersOrder IDs separated by comma
Example Response
{
    "1": {
        "start_count": "3572",
        "status": "Partial",
        "currency": "USD"
    },
    "10": {
        "error": "Incorrect order ID"
    },
    "100": {
        "start_count": "234",
        "status": "In progress",
        "currency": "USD"
    }
}

Add order

POST
PARAMETERSDESCRIPTION
keyYour API key
actionadd
serviceService ID
currency (optional, RUB by default)Currency for order (RUB, USD)
linkLink to page
quantityNeeded quantity
runs (optional)Runs to deliver
interval (optional)Interval in minutes
Example Response
{
    "order": 23501
}