API v2 Documentation
Load the service list, place orders and check their status from your own panel or script. The format matches most SMM panels.
Basics
- Address
https://panelclo.com/api/v2- Method
POST- Format
- Form fields or JSON. Answers are always JSON.
- Key
- Every call carries your API key in a field named key.
- Limits
- 300 requests per minute per key. After 30 wrong keys in 10 minutes, the network is paused for a while.
Your key is on the API page of your dashboard. Open API key
Service listaction=services
Lists all services: number, name, category, rate per 1,000, smallest and largest order, plus refill and cancel flags.
| Field | Meaning |
|---|---|
key | Your API key |
action | services |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=servicesResponse
[
{
"service": 159,
"name": "YouTube Views, Quick",
"type": "Default",
"category": "YouTube Views",
"rate": "0.4290",
"min": 500,
"max": 1000000,
"refill": false,
"cancel": true
}
]New orderaction=add
Creates an order, charges your balance and answers with the new order number.
| Field | Meaning |
|---|---|
key | Your API key |
action | add |
service | Service number |
link | Public link to the profile or post |
quantity | Quantity within the service range |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=add \
-d service=159 \
-d link=https://www.youtube.com/watch?v=aBcD1234EfG \
-d quantity=1000Response
{
"order": "48213907"
}Order statusaction=status
Returns the charge, start count, status and remaining amount of one order. The status is Pending, In progress, Completed, Partial or Canceled.
| Field | Meaning |
|---|---|
key | Your API key |
action | status |
order | Order number |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=status \
-d order=48213907Response
{
"charge": "0.4290",
"start_count": 0,
"status": "Pending",
"remains": 1000,
"currency": "USD"
}Status of several ordersaction=status
Send up to 100 order numbers separated by commas. The answer is keyed by order number.
| Field | Meaning |
|---|---|
key | Your API key |
action | status |
orders | Comma separated list of order numbers |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=status \
-d orders=48213907,51190264Response
{
"48213907": {
"charge": "0.4290",
"start_count": 0,
"status": "Pending",
"remains": 1000,
"currency": "USD"
},
"51190264": {
"error": "Incorrect order ID"
}
}Balanceaction=balance
Returns your balance in US dollars.
| Field | Meaning |
|---|---|
key | Your API key |
action | balance |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=balanceResponse
{
"balance": "42.5000",
"currency": "USD"
}Refillaction=refill
Asks for a refill of a completed order on a refill option, within its refill period. Returns the refill request number.
| Field | Meaning |
|---|---|
key | Your API key |
action | refill |
order | Order number |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=refill \
-d order=48213907Response
{
"refill": "R-K7M2QX"
}Cancelaction=cancel
Cancels pending orders and returns the charge to your balance. Up to 100 order numbers separated by commas.
| Field | Meaning |
|---|---|
key | Your API key |
action | cancel |
orders | Comma separated list of order numbers |
Request
curl -X POST https://panelclo.com/api/v2 \
-d key=YOUR_API_KEY \
-d action=cancel \
-d orders=48213907Response
[
{
"order": "48213907",
"cancel": 1
}
]Errors
Errors come back as JSON with an error field.
Invalid API key- The key is wrong or was replaced by a new one.
Invalid service- There is no service with that number.
Invalid link- The link is not a full http(s) address.
Quantity out of range- The quantity is below the minimum or above the maximum.
Not enough funds on balance- Top up and send the order again.
Incorrect order ID- There is no order with that number on your account.
Too many requests- Wait a minute and try again.
The examples use service #159 at $0.429 per 1,000. Order numbers and the balance in the examples are sample values.