Shopping Cart
Your cart is empty.
API Documentation (v2)
7Panel REST API v2 (GET / POST, JSON responses). Authenticate with your API key from the Account page.
POST or GET
HTTP Method
https://7panel.net/api/v2
API Url
Get on the Account Page
API Key
Response Format
JSON
How to write API requests GET / POST
- Use endpoint https://7panel.net/api/v2 for all actions.
- Always send key and action parameters.
- Parameter names must match exactly (for example: refill_status).
- For multiple IDs use comma separated values: 1,2,3.
GET example
https://7panel.net/api/v2?key=YOUR_API_KEY&action=services
POST example (form-data / x-www-form-urlencoded)
https://7panel.net/api/v2?key=YOUR_API_KEY&action=add&service=1&link=https://example.com/post/123&quantity=500
Service list GET
| Parameters | Description |
|---|---|
| key | Your API key |
| action | services |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=services
Example response
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
Add order POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity (for Custom Comments services, equals number of comment lines if omitted) |
| comments (optional) | Custom comments — one comment per line (required for Custom Comments services) |
| runs (optional) | Runs to deliver |
| interval (optional) | Interval in minutes |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=add&service=Service_ID&link=Link_to_page&quantity=Needed_quantity
Example response
{
"order": 23501
}
Mass order POST
Place up to 10,000 orders in one request. Orders are saved in bulk, then sent to providers in background batches (same pipeline as single orders).
| Parameters | Description |
|---|---|
| key | Your API key |
| action | mass_order |
| orders | JSON array of order objects (see below). Send as JSON body or as a JSON string field. |
Each item in orders:
| Field | Description |
|---|---|
| service or service_id | Service ID |
| link | Link to page |
| quantity | Quantity (or omit for Custom Comments when comments is set) |
| comments (optional) | Custom comments — one per line |
POST example (JSON body)
POST https://7panel.net/api/v2
Content-Type: application/json
{
"key": "YOUR_API_KEY",
"action": "mass_order",
"orders": [
{"service": 1, "link": "https://example.com/post/123", "quantity": 500},
{"service": 2, "link": "https://example.com/post/456", "quantity": 1000}
]
}
Example response
{
"success": true,
"success_count": 2,
"failed_count": 0,
"order_ids": [23501, 23502],
"results": [
"Service 1: Order #23501 created successfully",
"Service 2: Order #23502 created successfully"
]
}
For large batches, order_ids lists every created order ID; results contains validation errors and may omit per-order success lines when the batch is very large.
Order status POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=status&order=Order_ID
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple orders status POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=status&orders=Order_ID_1,Order_ID_2,Order_ID_3
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
Create refill POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=refill&order=Order_ID
Example response
{
"refill": "1"
}
Create multiple refill POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=refill&orders=Order_ID_1,Order_ID_2,Order_ID_3
Example response
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
Get refill status POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=refill_status&refill=refill_ID
Example response
{
"status": "Completed"
}
Get multiple refill status POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refills | Refill IDs (separated by a comma, up to 100 IDs) |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=refill_status&refills=Refill_ID_1,Refill_ID_2,Refill_ID_3
Example response
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
Create cancel POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | cancel |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=cancel&orders=Order_ID_1,Order_ID_2,Order_ID_3
Example response
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
User balance POST
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
https://7panel.net/api/v2?key=YOUR_API_KEY&action=balance
Example response
{
"balance": "100.84292",
"currency": "USD"
}