REST API v1
API Documentation
Standard SMM Panel API format. All requests are sent via POST method.
Endpoint: https://smm.onurcbozdag.com/api.php
POST
action=services
Returns a list of all active services.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"services" |
Example Response
[{"service":1,"name":"Instagram Followers","category":"Instagram","rate":"5.0000","min":100,"max":5000,"type":"Default"},...]
POST
action=add
Creates a new order and returns the order ID.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"add" |
service |
integer |
Service ID |
link |
string |
Target URL |
quantity |
integer |
Quantity |
Example Response
{"order":12345}
POST
action=status
Queries the status of a single order.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"status" |
order |
integer |
Order ID |
Example Response
{"charge":"5.00","start_count":0,"status":"Pending","remains":1000,"currency":"TRY"}
POST
action=multipleStatus
Gets the status of multiple orders in a single query.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"multipleStatus" |
orders |
string |
Comma-separated order IDs: "1,2,3" |
Example Response
{"1":{"charge":"5.00","status":"Completed","remains":0},"2":{"charge":"3.00","status":"Pending","remains":500}}
POST
action=balance
Queries the account balance.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"balance" |
Example Response
{"balance":"125.50","currency":"TRY"}
POST
action=cancel
Cancels a pending order and issues a refund.
Parameters
| Parameter | Type | Description |
key |
string |
Your API key |
action |
string |
"cancel" |
order |
integer |
Order ID |
Example Response
{"cancel":12345}
Error Responses
Invalid API key
Invalid or missing API key
Service not found
Service not found or inactive
Insufficient balance
Insufficient balance
Missing parameters
Required parameter missing
Order not found
Order not found
Invalid action
Invalid action value
All errors return in {"error":"message"} format.