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