SMMパネル API v2 ドキュメント

SMMパネルで広く使用されているAPI v2と同じリクエスト形式。コンソールのAPIページでAPIキーを作成。初回入金後に利用可能になります。

HTTPメソッドPOST (GET)
API URLhttps://bropanel2.com/api/v2
リクエスト形式application/x-www-form-urlencoded, JSON
レスポンス形式JSON
リクエスト制限キーあたり1分間に120リクエスト

サービス一覧

パラメータ説明
keyAPIキー
actionservices

レスポンス例

[
  {
    "service": 1,
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "0.1234",
    "min": "10",
    "max": "100000",
    "refill": true,
    "cancel": false
  }
]

注文する

パラメータ説明
keyAPIキー
actionadd
serviceサービスID
link注文ページリンク
quantity数量(サービスの最小~最大範囲内)

レスポンス例

{
  "order": 100231
}

注文ステータス

パラメータ説明
keyAPIキー
actionstatus
order注文ID

レスポンス例

{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}

複数注文ステータス

パラメータ説明
keyAPIキー
actionstatus
orders注文ID(カンマ区切り、最大100件)

レスポンス例

{
  "100231": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
  "100232": { "error": "Incorrect order ID" }
}

リフィルをリクエスト

パラメータ説明
keyAPIキー
actionrefill
order注文ID(複数指定可: orders)

レスポンス例

{
  "refill": "1"
}

リフィルステータス

パラメータ説明
keyAPIキー
actionrefill_status
refillリフィルID (複数可: refills)

レスポンス例

{
  "status": "Completed"
}

注文をキャンセル

パラメータ説明
keyAPIキー
actioncancel
orders注文ID(カンマ区切り、最大100件)

レスポンス例

[
  { "order": 100231, "cancel": 1 },
  { "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]

残高

パラメータ説明
keyAPIキー
actionbalance

レスポンス例

{
  "balance": "100.84292",
  "currency": "USD"
}

エラーレスポンス

リクエストが失敗した場合、理由がsingle error fieldで返されます。

{ "error": "Invalid API key" }
{ "error": "Incorrect service ID" }
{ "error": "Quantity is out of the service range" }
{ "error": "Not enough funds on balance" }

PHP例

<?php
$post = ['key' => 'YOUR_API_KEY', 'action' => 'add', 'service' => 1,
         'link' => 'https://instagram.com/yourname', 'quantity' => 1000];
$ch = curl_init('https://bropanel2.com/api/v2');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = json_decode(curl_exec($ch));
echo $result->order;