API v2

Connect your panel to Boststar

A simple API compatible with every standard SMM panel. Resell our services on your own site and let orders flow automatically.

POST https://boststar.com/api/v2
HTTPPOST
ResponseJSON
CurrencyUSD
Your API key Sign in to get your personal API key.
Create account

Service list

action=services
ParameterDescription
key Your API key
action services
Example response
[
  {
    "service": 1,
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram",
    "rate": "0.90",
    "min": "50",
    "max": "10000",
    "dripfeed": false,
    "refill": true,
    "cancel": false
  }
]

Add order

action=add
ParameterDescription
key Your API key
action add
service Service ID
link Link to page
quantity Needed quantity
Example response
{
  "order": 23501
}

Order status

action=status
ParameterDescription
key Your API key
action status
order Order ID
Example response
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}
Possible statuses: PendingIn progressProcessingCompletedPartialCanceled

Multiple orders status

action=status
ParameterDescription
key Your API key
action status
orders Order IDs separated by comma (up to 100)
Example response
{
  "1": {
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
  },
  "10": {
    "error": "Incorrect order ID"
  }
}

Create refill

action=refill

Only for services with "refill": true, after the order is completed, once every 24 hours.

ParameterDescription
key Your API key
action refill
order Order ID
Example response
{
  "refill": 1
}
ParameterDescription
key Your API key
action refill
orders Order IDs separated by comma (up to 100)
Example response
[
  { "order": 1, "refill": 1 },
  { "order": 2, "refill": { "error": "Incorrect order ID" } }
]

Refill status

action=refill_status
ParameterDescription
key Your API key
action refill_status
refill Refill ID
Example response
{
  "status": "Completed"
}
ParameterDescription
key Your API key
action refill_status
refills Refill IDs separated by comma (up to 100)
Example response
[
  { "refill": 1, "status": "Completed" },
  { "refill": 2, "status": "In progress" },
  { "refill": 3, "status": { "error": "Refill not found" } }
]
Possible statuses: PendingIn progressCompletedRejected

Cancel orders

action=cancel

Only for services with "cancel": true. The charge is refunded to your balance once the order is canceled.

ParameterDescription
key Your API key
action cancel
orders Order IDs separated by comma (up to 100)
Example response
[
  { "order": 9, "cancel": 1 },
  { "order": 10, "cancel": { "error": "Incorrect order ID" } }
]

User balance

action=balance
ParameterDescription
key Your API key
action balance
Example response
{
  "balance": "100.84292",
  "currency": "USD"
}

Errors

When something goes wrong, the response contains an error key:

JSON
{
  "error": "Invalid API Key."
}

PHP example

<div class="bs-api__code"> <div class="bs-api__code-head"><span>PHP</span><button type="button" class="bs-api__copy" aria-label="Copy"><i class="far fa-copy"></i></button></div> <pre dir="ltr"><code><?php function boststar($data) { $data["key"] = "YOUR_API_KEY"; $ch = curl_init("https://boststar.com/api/v2"); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $res = curl_exec($ch); curl_close($ch); return json_decode($res, true); } $services = boststar(["action" => "services"]); $order = boststar(["action" => "add", "service" => 1, "link" => "https://instagram.com/username", "quantity" => 100]); $status = boststar(["action" => "status", "order" => $order["order"]]); $balance = boststar(["action" => "balance"]);</code></pre> </div>
cURL
curl -X POST https://boststar.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=balance"