API documentation
Overview
https://leoprovider.com/api/v1 - Send the parameters as form fields (
key,action, …); GET also works for testing, but use POST in production. - IDs are the same numbers you see in the panel – order IDs, service IDs, refill IDs – and the service list is the one from Services, with your own rates.
- Orders placed through the API are marked with a
</>icon in your Orders list; everything else (refill, cancel, speed up) behaves exactly like the buttons in the panel.
Service list
action=servicesAll services you can order, with your rate per 1000, min / max, and what each one supports. A scheduled price change shows as next_price / next_price_at.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | services |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=services"[
{
"service": "5",
"name": "Instagram Followers – Real | 30 days refill",
"category": "Instagram Followers",
"rate": "1.02",
"min": "100",
"max": "50000",
"type": "default",
"desc": "Link: profile URL or username",
"dripfeed": 1,
"refill": 1,
"cancel": 1,
"speed": 0,
"next_price": null,
"next_price_at": null
},
{
"service": "12",
"name": "TikTok Views – Fast",
"category": "TikTok Views",
"rate": "0.035",
"min": "1000",
"max": "1000000",
"type": "default",
"desc": "Link: video URL",
"dripfeed": 0,
"refill": 0,
"cancel": 1,
"speed": 1
}
]Place an order
action=addThe answer is the new order ID. The charge is taken from your balance at once; if something is wrong (bad link, quantity outside min / max, not enough balance) nothing is charged and the answer is an error.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | add |
service required | Service ID (from the service list) |
link required | The link to deliver to – profile, post or video URL as the service describes |
quantity required | How much to deliver, within the service min / max |
speed optional | Delivery speed per hour – only for services with speed: 1 (custom speed); capped at the service maximum. Leave it out for the normal speed. |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=add" \
-d "service=5" \
-d "link=https://instagram.com/username" \
-d "quantity=1000"{
"status": "success",
"order": 40321
}Services with dripfeed: 1 can deliver in portions: quantity is delivered runs times, one portion every interval minutes (total = quantity × runs).
| Parameter | Description |
|---|---|
key required | Your API key |
action required | add |
service required | Service ID (from the service list) |
link required | The link to deliver to – profile, post or video URL as the service describes |
quantity required | Quantity per run |
runs required | Number of runs |
interval required | Minutes between runs: 5, 10, 15, 30, 60 or 90 |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=add" \
-d "service=5" \
-d "link=https://instagram.com/username" \
-d "quantity=200" \
-d "runs=10" \
-d "interval=30"{
"status": "success",
"order": 40322
}Services of type custom_comments take the text to post instead of a quantity – one comment per line; the quantity is the number of lines.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | add |
service required | Service ID (from the service list) |
link required | The link to deliver to – profile, post or video URL as the service describes |
comments required | The comments, separated by line breaks (\n) |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=add" \
-d "service=21" \
-d "link=https://instagram.com/p/abc123" \
-d "comments=Great shot!%0AAmazing colours%0ALove it"{
"status": "success",
"order": 40323
}Order status
action=statusStatus values: Pending, Processing, In progress, Completed, Partial, Canceled, Refunded. remains is what is still to be delivered; start_count the count before delivery began.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | status |
order required | Order ID |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=status" \
-d "order=40321"{
"order": "40321",
"status": "In progress",
"charge": "1.0200",
"start_count": "12540",
"remains": "610"
}Multiple orders
action=statusUp to 100 orders per request – the answer is keyed by order ID; an unknown ID gets an error string instead of an object.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | status |
orders required | Order IDs separated by comma (array data) |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=status" \
-d "orders=40321,40322,999999"{
"40321": {
"order": "40321",
"status": "Completed",
"charge": "1.0200",
"start_count": "12540",
"remains": "0"
},
"40322": {
"order": "40322",
"status": "Pending",
"charge": "2.0400",
"start_count": "0",
"remains": "2000"
},
"999999": "Incorrect order ID"
}Refill
action=refillAsks for a refill of a completed order on a service with refill: 1, inside the service's refill period. The answer is a refill ID to follow with refill_status. Several orders at once: orders=1,2,3 – one result per order.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | refill |
order required | Order ID – or orders (comma-separated list) |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=refill" \
-d "order=40321"{
"refill": "1204"
}
// orders=40321,40300
[
{ "order": 40321, "refill": "1204" },
{ "order": 40300, "error": "Refill period expired (30 days)" }
]Refill status
action=refill_statusStatus values: Pending, In progress, Completed, Partial, Rejected, Canceled, Error. Several refills: refills=1,2.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | refill_status |
refill required | Refill ID – or refills (comma-separated list) |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=refill_status" \
-d "refill=1204"{
"status": "Completed"
}Cancel
action=cancelSends a cancel request for a running order on a service with cancel: 1. The delivered part is kept and charged; the rest is refunded to your balance once the provider confirms (the order then shows as Partial or Canceled).
| Parameter | Description |
|---|---|
key required | Your API key |
action required | cancel |
order required | Order ID |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=cancel" \
-d "order=40322"{
"status": "success",
"order": "40322",
"cancel": "requested"
}Speed up
action=speed_upAsks the provider to prioritise a pending or in-progress order (services that support it). Repeating the request is harmless – the answer says already.
| Parameter | Description |
|---|---|
key required | Your API key |
action required | speed_up |
order required | Order ID – or orders (comma-separated list) |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=speed_up" \
-d "order=40322"{
"order": 40322,
"speed_up": "requested"
}Balance
action=balance| Parameter | Description |
|---|---|
key required | Your API key |
action required | balance |
curl -X POST https://leoprovider.com/api/v1 \
-d "key=YOUR_API_KEY" \
-d "action=balance"{
"status": "success",
"balance": "1797.80",
"currency": "USD"
}Errors
Every error has the same shape – an `error` key with a readable message and HTTP 200, so check for that key before reading the rest of the answer.
{
"error": "Not enough funds on balance"
}API is disabled for this user or user not found… | Wrong or missing key, or the account is inactive. |
This action is invalid | Unknown action. |
Service ID does not exists | The service is unknown or not available to you. |
Bad Link · Quantity is required · Min/Max … | The order was not placed: fix the parameter and send it again. |
Not enough funds on balance | Top up in Add funds; nothing was charged. |
Incorrect order ID · Incorrect refill ID | The ID does not exist or belongs to another account. |
This services does not support Dripfeed feature! | Leave runs / interval out for this service. |