SMM 패널 API v2 문서

SMM 패널에서 널리 쓰는 API v2와 같은 요청 형식이에요. API 키는 콘솔의 API 화면에서 만들고, 첫 충전이 반영된 계정에서 쓸 수 있어요.

HTTP 방식POST (GET)
API 주소https://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"
}

오류 응답

요청이 처리되지 않으면 error 칸 하나로 이유를 돌려줘요.

{ "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;