API
Connect your panel or system and automate your orders.
Errors
{"error": "Invalid API key"}
{"error": "Incorrect request"}
{"error": "Incorrect service ID"}
{"error": "Not enough funds on balance"}
{"error": "Incorrect order ID"}
services Service list
| Parameter | Description |
|---|---|
key | Your API key |
action | services |
Example response
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "4.80",
"min": "100",
"max": "10000",
"dripfeed": false,
"refill": true,
"cancel": true
}
]
add Add order
| Parameter | Description |
|---|---|
key | Your API key |
action | add |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
runs | Runs (optional, drip-feed) |
interval | Interval in minutes (optional, drip-feed) |
service | Service ID |
link | Profile or post link |
service | Service ID |
link | Profile or post link |
comments | Comments, one per line (comment services) |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
usernames | Usernames list, one per line |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
usernames | Usernames list, one per line |
hashtags | Hashtags list, one per line |
service | Service ID |
link | Profile or post link |
usernames | Usernames list, one per line |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
hashtag | Hashtag to scrape usernames from |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
username | URL to scrape followers from |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
media | Media URL to scrape likers from |
service | Service ID |
link | Profile or post link |
quantity | Quantity |
username | Username of the comment owner |
service | Service ID |
username | Username |
min | Minimum quantity per post |
max | Maximum quantity per post |
posts | (optional) Limit of new (future) posts. Without it, the subscription is unlimited |
old_posts | (optional) Number of existing posts to include |
delay | Delay in minutes: 0, 5, 10, 15, 20, 30, 40, 50, 60, 90, 120, 150, 180, 210, 240, 270, 300, 360, 420, 480, 540, 600 |
expiry | (optional) Expiry date, format d/m/Y |
Example response
{
"order": 23501
}
status Order status
| Parameter | Description |
|---|---|
key | Your API key |
action | status |
order | Order ID |
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "R$"
}
status Multiple orders status
| Parameter | Description |
|---|---|
key | Your API key |
action | status |
orders | Order IDs separated by a comma (up to 100) |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "R$"
},
"10": {
"error": "Incorrect order ID"
}
}
refill Create refill
| Parameter | Description |
|---|---|
key | Your API key |
action | refill |
order | Order ID |
Example response
{
"refill": "1"
}
refill Refill multiple orders
| Parameter | Description |
|---|---|
key | Your API key |
action | refill |
orders | Order IDs separated by a comma (up to 100) |
Example response
[
{
"order": 1,
"refill": 1
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
refill_status Get refill status
| Parameter | Description |
|---|---|
key | Your API key |
action | refill_status |
refill | Refill ID |
Example response
{
"status": "Completed"
}
refill_status Multiple refills status
| Parameter | Description |
|---|---|
key | Your API key |
action | refill_status |
refills | Refill IDs separated by a comma (up to 100) |
Example response
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
cancel Cancel orders
| Parameter | Description |
|---|---|
key | Your API key |
action | cancel |
orders | Order IDs separated by a comma (up to 100) |
Example response
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
balance Balance
| Parameter | Description |
|---|---|
key | Your API key |
action | balance |
Example response
{
"balance": "100.84292",
"currency": "R$"
}
PHP code example
<?php
class Api
{
/** API URL */
public $api_url = 'https://sheepsmm.com/api/v2';
/** Your API key */
public $api_key = '';
/** Add order */
public function order($data)
{
$post = array_merge(['key' => $this->api_key, 'action' => 'add'], $data);
return json_decode((string)$this->connect($post));
}
/** Get order status */
public function status($order_id)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'status', 'order' => $order_id]));
}
/** Get orders status */
public function multiStatus($order_ids)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'status', 'orders' => implode(",", (array)$order_ids)]));
}
/** Get services */
public function services()
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'services']));
}
/** Refill order */
public function refill(int $orderId)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'refill', 'order' => $orderId]));
}
/** Refill orders */
public function multiRefill(array $orderIds)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'refill', 'orders' => implode(',', $orderIds)]), true);
}
/** Get refill status */
public function refillStatus(int $refillId)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'refill_status', 'refill' => $refillId]));
}
/** Get refill statuses */
public function multiRefillStatus(array $refillIds)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'refill_status', 'refills' => implode(',', $refillIds)]), true);
}
/** Cancel orders */
public function cancel(array $orderIds)
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'cancel', 'orders' => implode(',', $orderIds)]), true);
}
/** Get balance */
public function balance()
{
return json_decode($this->connect(['key' => $this->api_key, 'action' => 'balance']));
}
private function connect($post)
{
$ch = curl_init($this->api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$result = curl_exec($ch);
if (curl_errno($ch) != 0 && empty($result)) {
$result = false;
}
curl_close($ch);
return $result;
}
}
// Examples
$api = new Api();
$services = $api->services(); # all services
$balance = $api->balance(); # balance
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'quantity' => 100]); # Default
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'quantity' => 100, 'runs' => 10, 'interval' => 60]); # Drip-feed
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'comments' => "good pic\ngreat photo"]); # Custom Comments
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test']); # Package
$order = $api->order(['service' => 1, 'username' => 'username', 'min' => 100, 'max' => 110, 'delay' => 30, 'expiry' => '11/11/2030']); # Subscriptions
$status = $api->status($order->order); # status, charge, remains, start count, currency
$statuses = $api->multiStatus([1, 2, 3]);
$refill = (array) $api->multiRefill([1, 2]);
$refillIds = array_column($refill, 'refill');
if ($refillIds) {
$refillStatuses = $api->multiRefillStatus($refillIds);
}