API is a protocol of interaction between your software and our activation server. The API is needed in order to automate the process of purchasing social media acccounts on your side to work with the API, you must use your API key, you can get it by going to the profile page. Our software is fully compatible with competitor sites
All requests should go to http://premieraccs.com/api/ POST or GET request. All requests must have an API key in the form of the token parameter
https://premieraccs.com/api/getbalance?token=$token
Parameters:
$token: Your API key
Result:
{ "1": { "id": 1, "name": "Full Name", "balance": "1011.88", "discount": "1.00" } }
https://premieraccs.com/api/getservice?token=$token
Parameters:
$token: Your API key
Result
{ "1": { "id": 1, "title": "Tiktok", "name": "tiktok" }, "2": { "id": 2, "title": "Facebook", "name": "facebook" } }
https://premieraccs.com/api/getstock?token=$token&service=$service
Parameters:
$token: Your API key
$service:Instagram:instagram, Facebook:facebook
Result
{ "1": { "id": 1, "service": "instagram", "year": "2017", "stock": "1", "cost": 2604.8, "discount": "1.00" }, "2": { "id": 2, "service": "instagram", "year": "2019", "stock": "5", "cost": 2131.2000000000003, "discount": "1.00" } }
Parameters:
$token: Your API key
$service:instagram,facebook
$year:2017,2018
$quantity:1,2,3
Result
{ "1": { "id": 1, "service": "instagram", "year": "2017", "stock": "1", "cost": 2604.8, "discount": "1.00" }, "2": { "id": 2, "service": "instagram", "year": "2019", "stock": "5", "cost": 2131.2000000000003, "discount": "1.00" } }
In case of an error, the API will return appropriate HTTP status codes along with error messages in the response body. Please refer to the following error codes:
{ "error": "Invalid Request" }
{ "error": "Insufficient Balance" }
{ "error": "Invalid API Key" }
{ "error": "Insufficient Stock" }
This API documentation provides an overview of the available endpoints, authentication methods and error handling. It should serve as a comprehensive guide to help you integrate our API into your applications. If you have any further questions or need assistance, please contact our support team via