API Documentation

Integrate our SMM panel services into your own platform using our REST API.

REST API v2

API Overview

Base endpoint and connection details
POST https://muzamilsmm.online/api/v2
HTTP Method POST
Return Format JSON

1. Service List

Get all available services with pricing
ParameterValue / Explanation
keyYour API Key
actionservices

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

2. New Order

Place a new order via API
ParameterExplanation
keyYour API Key
actionadd
serviceService ID
linkLink to the page
quantityQuantity to order
runs (optional)Runs to deliver
interval (optional)Interval in minutes

Sample Response

{
    "order": 23501
}

3. Order Status

Check the status of an existing order
ParameterExplanation
keyYour API Key
actionstatus
orderOrder ID

Sample Response

{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}

4. User Balance

Check account balance via API
ParameterExplanation
keyYour API Key
actionbalance

Sample Response

{
    "balance": "100.84292",
    "currency": "USD"
}

5. Sample PHP Integration Code

Full working PHP cURL integration code & downloadable file

PHP API Integration Class

api_key = $api_key;
    }

    private function connect($data) {
        $data['key'] = $this->api_key;
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $this->api_url);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        $result = curl_exec($ch);
        curl_close($ch);
        return json_decode($result, true);
    }

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

$api = new FarhanSMMAPI('YOUR_API_KEY_HERE');
print_r($api->balance());
?>
Download / View Sample PHP File (example.txt)