U

User

@user

Standard

Wallet Balance

₱0.00

Top Up

Select a track

0:00
0:00

Developer API

Automate your orders easily with our standard SMM V2 API.

API Endpoint URL
https://boostlysmm.com/api/v2

Send all requests via HTTP POST

Your API Key
LOGIN_TO_GET_YOUR_KEY
POST

Service List

POST

Add Order

POST

Order Status

POST

Bulk Order Status

POST

Cancel Orders

POST

Refill Order

POST

Refill Status

POST

User Balance

PHP Code Example

Copy-paste ready SMMApi class with all V2 actions.

<?php

class SMMApi
{
    public $api_url = 'https://boostlysmm.com/api/v2';
    public $api_key = 'LOGIN_TO_GET_YOUR_KEY';

    public function services() {
        return json_decode($this->connect(['action' => 'services']));
    }

    public function balance() {
        return json_decode($this->connect(['action' => 'balance']));
    }

    public function order($data) {
        return json_decode($this->connect(array_merge(['action' => 'add'], $data)));
    }

    public function status($order_id) {
        return json_decode($this->connect(['action' => 'status', 'order' => $order_id]));
    }

    public function multiStatus($order_ids) { // comma-separated string or array
        $ids = is_array($order_ids) ? implode(',', $order_ids) : $order_ids;
        return json_decode($this->connect(['action' => 'orders', 'orders' => $ids]));
    }

    public function cancel($order_ids) {
        $ids = is_array($order_ids) ? implode(',', $order_ids) : $order_ids;
        return json_decode($this->connect(['action' => 'cancel', 'orders' => $ids]));
    }

    public function refill($order_id) {
        return json_decode($this->connect(['action' => 'refill', 'order' => $order_id]));
    }

    public function refillStatus($refill_id) {
        return json_decode($this->connect(['action' => 'refill_status', 'refill' => $refill_id]));
    }

    private function connect($data) {
        $post = array_merge(['key' => $this->api_key], $data);
        $ch = curl_init($this->api_url);
        curl_setopt_array($ch, [
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_POST           => true,
            CURLOPT_POSTFIELDS     => http_build_query($post),
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_FOLLOWLOCATION => true,
            CURLOPT_TIMEOUT        => 30,
        ]);
        $result = curl_exec($ch);
        curl_close($ch);
        return $result;
    }
}

// ── Example Usage ──────────────────────────────────────────────────────────────
$api = new SMMApi();

// Get all services
$services = $api->services();

// Check balance
$balance = $api->balance();
// echo $balance->balance . ' ' . $balance->currency;

// Place an order
$order = $api->order(['service' => 1, 'link' => 'https://instagram.com/username', 'quantity' => 500]);
// echo 'Order ID: ' . $order->order;

// Single order status
$status = $api->status($order->order);
// echo $status->status;

// Bulk order status
$bulk = $api->multiStatus([101, 102, 103]);

// Cancel orders
$cancel = $api->cancel([101, 102]);

// Request refill
$refill = $api->refill($order->order);
// echo 'Refill ID: ' . $refill->refill;

// Refill status
$rs = $api->refillStatus($refill->refill);
// echo $rs->status;

?>
Owner