SMMパネル API v2
標準的なSMMパネル API v2です。この形式に対応したツールやパネルはAPIキーで接続できます。
- エンドポイント
- https://4xpanel.com/api/v2
- メソッド
- POST. フォームフィールド(またはJSON)をPOSTで送ります。応答はJSONです。エラーは {"error": "..."} の形で返ります。
- APIキー
- 初回のチャージが追加された後、APIキーページで作成します。
- 上限
- キーごとに1分あたり300リクエスト。statusは一度に最大100件の注文IDを受け付けます。
services
サービス一覧
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | services |
応答例
[{"service":1,"name":"Video views","type":"Default","category":"TikTok - Views","rate":"0.0500","min":"100","max":"1000000","refill":true,"cancel":false}]add
注文する
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | add |
| service | サービスID |
| link | リンク |
| quantity | 数量(パッケージとカスタムコメントを除く) |
| comments | カスタムコメント、1行に1件(カスタムコメントサービス) |
応答例
{"order":23501}status
注文ステータス
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | status |
| order | 注文ID |
応答例
{"charge":"0.2500","start_count":"3572","status":"Partial","remains":"157","currency":"USD"}status(複数)
最大100件の注文のステータス
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | status |
| orders | カンマ区切りの注文ID |
応答例
refill
リフィルを申請
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | refill |
| order | 注文ID |
応答例
{"refill":"1"}refill_status
リフィルステータス
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | refill_status |
| refill | リフィルID |
応答例
{"status":"Completed"}balance
ウォレット残高
| パラメーター | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | balance |
応答例
{"balance":"100.84","currency":"USD"}注文ステータス
Pending, In progress, Completed, Partial, Canceled
リフィルステータス
Pending, In progress, Completed, Rejected
エラー
| エラー | 説明 |
|---|---|
| Invalid API key | キーが間違っているか再発行済み、またはまだチャージが追加されていない |
| Incorrect service ID | そのIDの販売中サービスがない |
| Incorrect link | リンクが完全なウェブアドレスではない |
| Quantity out of range | 最小数量未満、または最大数量超過 |
| Not enough funds | ウォレットの残高が料金に足りない |
| Too many requests | 1分間に300リクエストを超過 |
| Refill not available | サービスにリフィルがない、注文が終わっていない、期間が終了した、または前回のリフィル申請から24時間未満 |
| Incorrect order ID | そのIDのあなたの注文がない |
| Incorrect refill ID | そのIDのあなたのリフィルがない |
| Incorrect comments | 空、10,000行を超えている、または500文字を超える行がある |
| Incorrect request | 不明なaction |
| Bad request | リクエストボディを読み取れなかった |