HstockPlus

あなたのAPIキー

読み込み中...

APIエンドポイント

https://hstockplus.com/api/v2

すべてのAPIリクエストは、このエンドポイントにHTTP POSTで送信する必要があります。

サービス一覧

利用可能なすべてのサービスを取得。

ParameterDescription
keyYour API key
actionservices

リクエスト例:

curl -X POST https://hstockplus.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=services"

レスポンス例:

[
  {
    "service": 1,
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram",
    "rate": "0.50",
    "min": 100,
    "max": 10000,
    "refill": true,
    "cancel": false
  },
  {
    "service": 2,
    "name": "Instagram Comments",
    "type": "Custom Comments",
    "category": "Instagram",
    "rate": "5.00",
    "min": 10,
    "max": 1000,
    "refill": false,
    "cancel": false
  }
]

注文を追加

Place a standard order with link and quantity.

ParameterDescriptionRequired
keyYour API keyYes
actionaddYes
serviceService IDYes
linkURL or link to the contentYes
quantityQuantity to orderYes

リクエスト例:

curl -X POST https://hstockplus.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=add" \
  -d "service=1" \
  -d "link=https://instagram.com/username" \
  -d "quantity=1000"

レスポンス例:

{
  "order": 23501
}

注文ステータス

注文のステータスを取得。

ParameterDescription
keyYour API key
actionstatus
orderOrder ID

リクエスト例:

curl -X POST https://hstockplus.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=status" \
  -d "order=23501"

レスポンス例:

{
  "status": "In progress",
  "charge": "5.00",
  "start_count": 1000,
  "remains": 500,
  "currency": "USD"
}

可能なステータス:

PendingIn progressCompletedPartialCanceled

残高

現在の残高を取得。

ParameterDescription
keyYour API key
actionbalance

リクエスト例:

curl -X POST https://hstockplus.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=balance"

レスポンス例:

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

エラーレスポンス

発生する可能性のある一般的なエラーレスポンス。

{"error": "Invalid API key"}
{"error": "Invalid action"}
{"error": "Service ID is required"}
{"error": "Insufficient balance"}
{"error": "Order not found"}

ヘルプが必要ですか?お問い合わせ: support@hstockplus.com