API Documentation
Use the DAWEBLAB SMM API to automate your orders. All responses are JSON.
Overview
| HTTP method | POST |
|---|---|
| API URL | https://smm.daweblab.com/api/v2 |
| Response format | JSON |
| API key | Sign in and open your Account page to get your key. |
Send every request as POST with the field key (your API key) and action. Always call the API over https://; a request made over http is redirected and loses its POST data.
POST Service list
| Parameter | Description |
|---|---|
key | Your API key |
action | services |
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "0.90",
"min": "50",
"max": "10000",
"desc": "Start: instant, speed: 1k/day"
}
]
POST Add order
| Parameter | Description |
|---|---|
key | Your API key |
action | add |
service | Service ID |
link | Link to the page, post or profile |
quantity | Amount to order (between the service min and max) |
runs (optional) | Drip-feed: number of runs |
interval (optional) | Drip-feed: minutes between runs |
comments (custom comments) | One comment per line |
username (subscriptions / mentions) | Target username |
posts, delay, min, max, expiry (subscriptions) | Number of posts, delay in minutes, min/max quantity per post, and expiry date |
{
"order": 23501
}
POST Order status
| Parameter | Description |
|---|---|
key | Your API key |
action | status |
order | Order ID |
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Possible statuses: Pending, In progress, Processing, Completed, Partial, Canceled.
POST Refill
| Parameter | Description |
|---|---|
key | Your API key |
action | refill |
order | Order ID |
{
"refill": 7
}
Refill status — use the refill ID returned above.
| Parameter | Description |
|---|---|
action | refill_status |
refill | Refill ID |
{
"status": "Completed"
}
Refill statuses: Pending, Refilling, Completed, Rejected, Error. A refill can be requested once every 24 hours while the order is inside its refill period.
POST User balance
| Parameter | Description |
|---|---|
key | Your API key |
action | balance |
{
"balance": "100.84292",
"currency": "USD"
}
Errors
When something goes wrong the API answers with an error field:
{
"error": "Incorrect request."
}
| Message | Meaning |
|---|---|
| Invalid API Key. | The key is missing or wrong |
| The account is inactive. | The account is suspended |
| Incorrect request. | Unknown action or missing fields |
| Incorrect Service ID. | The service does not exist |
| Link field is required. | Send the link field |
| Order quantity field is required. | Send the quantity field |
| The quantity specified must be greater than the minimum quantity. | Below the minimum |
| The quantity specified must be less than the maximum quantity. | Above the maximum |
| You don't have sufficient balance to place this order. | Add funds first |
| You cannot start a new order with the same link that is already in progress. | Wait for the running order to finish |
| No order was placed with this ORDER ID. | The order ID is wrong or is not yours |
| Refill is not available for this order. | The order has no refill or its refill period has ended |
Code examples
cURLcurl -X POST https://smm.daweblab.com/api/v2 \ -d "key=YOUR_API_KEY" \ -d "action=add" \ -d "service=1" \ -d "link=https://instagram.com/username" \ -d "quantity=100"PHP
<?php
$ch = curl_init('https://smm.daweblab.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'balance',
]),
]);
echo curl_exec($ch);
Python
import requests
r = requests.post("https://smm.daweblab.com/api/v2", data={
"key": "YOUR_API_KEY",
"action": "status",
"order": 23501,
})
print(r.json())