API Documentation
Welcome to MDMNiq API v2. You can use our API to integrate our services directly into your own SMM Panel or custom application. We follow the standard SMM Panel API protocol, making it compatible with most panel scripts (SmartPanel, PerfectPanel, etc).
API URL: https://mdmniq.com/api/v2
Authentication
All requests must be sent via HTTP POST. You must include your API Key in every request body.
| Parameter | Description |
|---|---|
| key | Your private API Key (Found in Dashboard -> Settings) |
| action | The action you want to perform (e.g., 'services', 'add') |
Service List
POST
action: 'services'
Get a list of all available services.
Response Example
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "Instagram",
"rate": "0.90",
"min": "100",
"max": "10000"
}
]
Add Order
POST
action: 'add'
Parameters
| Parameter | Description |
|---|---|
| service | Service ID |
| link | Link to target (post/profile) |
| quantity | Quantity needed |
Response Example
{
"order": 12345
}
Create Ticket (Support API)
POST
action: 'ticket'
Parameters
| Parameter | Description |
|---|---|
| subject | Ticket Subject (e.g. Order #123) |
| message | Detailed description of the issue |
Response Example
{
"success": true,
"ticket": 55
}
Code Examples
PHP
$api_url = 'https://mdmniq.com/api/v2';
$api_key = 'YOUR_API_KEY';
$data = [
'key' => $api_key,
'action' => 'add',
'service' => 1,
'link' => 'http://instagram.com/profile',
'quantity' => 1000
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
url = 'https://mdmniq.com/api/v2'
payload = {
'key': 'YOUR_API_KEY',
'action': 'add',
'service': 1,
'link': 'http://instagram.com/profile',
'quantity': 1000
}
r = requests.post(url, data=payload)
print(r.json())