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번 |
서비스 목록
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | services |
응답 예시
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.1234",
"min": "10",
"max": "100000",
"refill": true,
"cancel": false
}
]주문 넣기
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | add |
service | 서비스 ID |
link | 주문할 페이지 링크 |
quantity | 수량 (서비스 최소~최대 안) |
응답 예시
{
"order": 100231
}주문 상태
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | status |
order | 주문 ID |
응답 예시
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}여러 주문 상태
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | status |
orders | 주문 ID를 쉼표로 (최대 100개) |
응답 예시
{
"100231": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"100232": { "error": "Incorrect order ID" }
}리필 신청
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | refill |
order | 주문 ID (여러 개는 orders) |
응답 예시
{
"refill": "1"
}리필 상태
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | refill_status |
refill | 리필 ID (여러 개는 refills) |
응답 예시
{
"status": "Completed"
}주문 취소
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | cancel |
orders | 주문 ID를 쉼표로 (최대 100개) |
응답 예시
[
{ "order": 100231, "cancel": 1 },
{ "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]잔액
| 파라미터 | 설명 |
|---|---|
key | API 키 |
action | balance |
응답 예시
{
"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;