API Docs

HTTP Method POST
API URL http://api.geminsta.com/v2/
API Key Your key
Response format JSON
Parameters Description
key API Key
action services
Example response
[
    {"service":1,"name":"Instagram Likes","min":30,"max":200000,"rate":0.7,"type":"default","category":"instagram","duration":"60-120 min","description":"Mostly inactive accounts, some real and active accounts"},
    {"service":2,"name":"Instagram Followers","min":30,"max":200000,"rate":1,"type":"default","category":"instagram","duration":"60-120 min","description":"Mostly Active and real accounts, some inactive accounts"},
    {"service":3,"name":"Instagram Views","min":30,"max":200000,"rate":0.7,"type":"default","category":"instagram","duration":"60-120 min","description":"No other info"},
    {"service":4,"name":"Instagram Comments","min":1,"max":100,"rate":10,"type":"default","category":"instagram","duration":"8-24 hours","description":"100% real accounts"},
    {"service":5,"name":"Telegram member","min":30,"max":100,"rate":0.7,"type":"default","category":"telegram","duration":"3-6 hours","description":"Mostly inactive accounts, some real and active accounts"}
]
Parameters Description
key API Key
action add
service Service ID
link Link
quantity Needed quantity
comments (if service=4) Comment list separated by \n
Example response
{
    "price":3000,
    "balance":"7141080",
    "order":"LABCDEFGH_1611169678",
    "start_count":"1",
    "status":"success"
}
Parameters Description
key API Key
action status
order Order ID
Example response
{
    "result":"success",
    "status":"In progress",
    "type":"like",
    "address":"https:\/\/www.instagram.com\/p\/",
    "order":"LABCDEFGH_1611169813",
    "start_count":"1",
    "remains":"2535",
    "quantity":"2500"
}

Status: Pending, Processing, In progress, Completed, Partial, Canceled

Parameters Description
key API Key
action status
orders Order IDs separated by comma (Ex: 1,2,3)
Example response
{
    "1": {
        "charge": "27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157"
    },
    "2": {
        "error": "Incorrect order ID"
    },
    "3": {
        "charge": "44219",
        "start_count": "234",
        "status": "In progress",
        "remains": "10"
    }
}
Parameters Description
key API Key
action balance
Example response
{
    "balance":"71.41",
    "status":"success",
    "currency":"USD"
}
class Api {
    // API URL
    public $api_url = 'http://api.geminsta.com/v2/'; // API URL
    public $api_key = ''; // API key

    /**
     *
     * Add Order
     *
     */
    public function add_order($data) {
        $post = array_merge(array('key' => $this->api_key, 'action' => 'add'), $data);
        $result = $this->connect($post);
        return json_decode($result);
    }

    /**
     *
     * Order status
     *
     */
    public function status($order_id) {
        $result = $this->connect(array(
            'key'    => $this->api_key,
            'action' => 'status',
            'order'  => $order_id
        ));
        return json_decode($result);
    }

    /**
     *
     * All services
     *
     */
    public function services() {
        $result = $this->connect(array(
            'key'     => $this->api_key,
            'action'  => 'services',
        ));
        return json_decode($result);
    }

    /**
     *
     * Balance
     *
     */
    public function balance() {
        $result = $this->connect(array(
            'key'     => $this->api_key,
            'action'  => 'balance',
        ));
        return json_decode($result);
    }

    /**
     *
     * Connect to panel
     *
     */
    private function connect($post) {
        $_post = Array();
        if (is_array($post)) {
            foreach ($post as $name => $value) {
                $_post[] = $name.'='.urlencode($value);
            }
        }

        $ch = curl_init($this->api_url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
        if (is_array($post)) {
            curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
        }
        curl_setopt($ch, CURLOPT_USERAGENT, 'GemInsta Api');
        $result = curl_exec($ch);

        if (curl_errno($ch) != 0 && empty($result)) {
            $result = false;
        }
        curl_close($ch);
        return $result;
    }

}

// Examples
$api = new Api();

# return all services
$services = $api->services();
print_r($services);

# return user balance
//$balance = $api->balance();
//print_r($balance);

# order instagram likes
//$order = $api->add_order(array('service' => 1, 'link' => 'https://www.instagram.com/p/CKMBam3FbYB/', 'quantity' => 100));
//print_r($order);
//die();

# order instagram followers
//$order = $api->add_order(array('service' => 2, 'link' => 'https://www.instagram.com/google', 'quantity' => 100));
//print_r($order);
//die();

# order instagram views
//$order = $api->add_order(array('service' => 3, 'link' => 'https://www.instagram.com/p/CJbcsXOloEm/', 'quantity' => 100));
//print_r($order);
//die();

# order instagram Custom Comments
//$order = $api->add_order(array('service' => 4, 'link' => 'https://www.instagram.com/p/CKMBam3FbYB/', 'comments' => "1st\n2nd\n3rd\n4thn5th"));
//print_r($order);
//die();

# order telegram members
//$order = $api->add_order(array('service' => 5, 'link' => 'google', 'quantity' => 100));
//print_r($order);
//die();
# return status, charge, remains, start count, order_id
//$status = $api->status('FABCDEFGH_1611166418');
//print_r($status);