API
Connect your panel, bot or website to SMMSKY
HTTP Method
POSTAPI URL
https://smmsky.in/api/v2API Key
Login to view API KEYResponse format
JSONService list
| Parameters | Description |
|---|---|
| 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"
}
]Add order
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| url | Link to page |
| quantity | Needed quantity |
| comments (optional) | Comments list, one per line (custom comments only) |
| order_refference (optional) / runs (optional) | Runs to deliver (drip-feed, optional) |
| interval (optional) | Interval in minutes (drip-feed, optional) |
Example response
{
"order": 23501
}Example error
{
"error": "incorrect service type"
}Order status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}Multiple orders status
| Parameters | Description |
|---|---|
| key | Your API key |
| status | status |
| orders | Order IDs separated by comma (up to 100) |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}Create refill
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
Example response
{
"status": "Success",
"message": "Your order successfully added for refill. Thank you for patience."
}Create cancel
| Parameters | Description |
|---|---|
| key | Your API key |
| action | cancel |
| order | Order ID |
Example response
{
"status": "Success",
"message": "Your order was successfully marked for cancellation. Thank you for patience."
}User balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": "100.84",
"currency": "USD"
}Example of PHP code
<?php
// Simple SMMSKY API client (PHP + cURL)
class SmmskyApi {
public $url = 'API_URL';
public $key = 'YOUR_API_KEY';
private function call(array $data) {
$data['key'] = $this->key;
$ch = curl_init($this->url);
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($data),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
]);
$res = curl_exec($ch);
curl_close($ch);
return json_decode($res, true);
}
public function services() { return $this->call(['action' => 'services']); }
public function order(array $o) { return $this->call(['action' => 'add'] + $o); }
public function status($id) { return $this->call(['action' => 'status', 'order' => $id]); }
public function multiStatus(array $i) { return $this->call(['action' => 'status', 'orders' => implode(',', $i)]); }
public function refill($id) { return $this->call(['action' => 'refill', 'order' => $id]); }
public function cancel($id) { return $this->call(['action' => 'cancel', 'order' => $id]); }
public function balance() { return $this->call(['action' => 'balance']); }
}
$api = new SmmskyApi();
print_r($api->balance());
print_r($api->order(['service' => 1, 'link' => 'https://instagram.com/username', 'quantity' => 100]));