API 2.0

HTTP Method POST
API URL https://getsocialking.com/api/v2
Response Format JSON

Method:add

Parameters Descriptions
key Your API key
action add
service ID of service
link Link to page
quantity Needed quantity
comments optional, needed for custom comments, mentions and other relaed packages only.
each separated by '\n', '\n\r'

Success Response:

{
  "order":"23501"
}

Method:status

Parameters Descriptions
key Your API key
action status
order Order ID

Success Response:

{
    "charge": "0.00000",
    "start_count": "0",
    "status": "Cancelled",
    "remains": "10",
    "currency": "USD"
}

Method:balance

Parameters Descriptions
key Your API key
action balance

Example Response:

{
  "balance": "100.78",
  "currency": "USD"
}

Method:services

Parameters Descriptions
key Your API key
action services

Example Response:

[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000"
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500"
    }
]
Example of PHP Code