Go to Homepage

API Documentation

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

API Protocol Description

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

Balance request

https://premieraccs.com/api/getbalance?token=$token

Parameters:

Result:

{
  "1": {
    "id": 1,
    "name": "Full Name",
    "balance": "1011.88",
    "discount": "1.00"
  }
}
  

Get list of all services

https://premieraccs.com/api/getservice?token=$token

Parameters:

Result

{
"1": {
"id": 1,
"title": "Tiktok",
"name": "tiktok"
},
"2": {
"id": 2,
"title": "Facebook",
"name": "facebook"
    }
}    
    

Get service informations

https://premieraccs.com/api/getstock?token=$token&service=$service

Parameters:

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"
    }
}  
    

Make Purchase

Parameters:

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"
      }
    }  
  

Possible Errors

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"
  }  
    

Conclusion

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

Email

WhatsApp