リセラーAPI
標準的なSMMパネルAPI v2。無料アカウントを作成してAPIキーを取得しましょう。
サービス一覧
action=services| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | services |
レスポンス例
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"dripfeed": false
}
]
注文を追加
action=add| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | add |
| service | サービスID |
| link | ページへのリンク |
| quantity | 必要数量 |
| runs (optional) | 納品回数(ドリップフィード) |
| interval (optional) | 間隔(分単位) |
| comments (custom comments) | 1行に1コメント |
レスポンス例
{
"order": 23501
}
注文ステータス
action=status| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | status |
| order | 注文ID |
レスポンス例
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
複数注文のステータス
action=status| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | status |
| orders | カンマ区切りの注文ID(最大100件) |
レスポンス例
{
"1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"10": { "error": "Incorrect order ID" }
}
リフィルを作成
action=refill| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | refill |
| order | 注文ID("orders"を指定すると最大100件) |
レスポンス例
{
"refill": "1"
}
リフィルのステータス
action=refill_status| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | refill_status |
| refill | リフィルID("refills"を指定すると最大100件) |
レスポンス例
{
"status": "Completed"
}
注文をキャンセル
action=cancel| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | cancel |
| orders | カンマ区切りの注文ID(最大100件) |
レスポンス例
[
{ "order": 9, "cancel": { "error": "Incorrect order ID" } },
{ "order": 2, "cancel": 1 }
]
残高
action=balance| パラメータ | 説明 |
|---|---|
| key | あなたのAPIキー |
| action | balance |
レスポンス例
{
"balance": "100.84292",
"currency": "USD"
}
例(PHP)
$ch = curl_init("https://smmgonow.com/api/v2");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
"key" => "YOUR_API_KEY",
"action" => "add",
"service" => 1,
"link" => "https://instagram.com/yourprofile",
"quantity" => 1000,
]),
]);
$result = json_decode(curl_exec($ch), true);