API v2

Endpoint chuẩn SMM panel, tương thích spec phổ biến (smmcost / perfectpanel / smmraja…). Mọi action gửi đến cùng URL với tham số action.

HTTP Method

HTTP MethodPOST

Response format

Response formatJSON

Api URL

Api URLhttps://www.hacklike17.xyz/api/v2

Api key

Lấy API key tại trang quản lý tài khoản. Có 3 cách gửi key:

  • Tham số key trong body / query (khuyến nghị — chuẩn SMM panel).
  • Header Authorization: Bearer <API_KEY>.
  • Header X-API-Key: <API_KEY>.

Service list

ParametersDescription
keyYour API key
actionservices

Response example

[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
        "refill": true,
        "cancel": true
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500",
        "refill": false,
        "cancel": true
    }
]

Add order

Default

ParametersDescription
keyYour API key
actionadd
serviceService ID
linkLink to page
quantityNeeded quantity

Example response

{
    "order": 23501
}

— Custom Comments

serviceService ID
linkLink to page
commentsEach comment on a new line

— Comment Likes

serviceService ID
linkComment link
quantityNeeded quantity

— Poll

serviceService ID
linkLink to page
quantityNeeded quantity
answer_numberAnswer number to vote for

Order status

ParametersDescription
keyYour API key
actionstatus
orderOrder ID

Example response

{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "VND"
}

Status có thể là: Scheduled, Pending, In progress, Processing, Completed, Partial, Canceled, Refunded.

Multiple orders status

ParametersDescription
keyYour API key
actionstatus
ordersOrder IDs separated by comma (up to 100 IDs)

Example response

{
    "1": {
        "charge": "0.27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157",
        "currency": "VND"
    },
    "10": {
        "error": "Incorrect order ID."
    },
    "100": {
        "charge": "1.44219",
        "start_count": "234",
        "status": "In progress",
        "remains": "10",
        "currency": "VND"
    }
}

Create refill

ParametersDescription
keyYour API key
actionrefill
orderOrder ID

Example response

{
    "refill": "1"
}

Create multiple refill

ParametersDescription
keyYour API key
actionrefill
ordersOrder IDs separated by comma (up to 100 IDs)

Example response

[
    {
        "order": 1,
        "refill": "1"
    },
    {
        "order": 2,
        "refill": "2"
    },
    {
        "order": 3,
        "refill": {
            "error": "Incorrect order ID."
        }
    }
]

Get refill status

ParametersDescription
keyYour API key
actionrefill_status
refillRefill ID

Example response

{
    "status": "Completed"
}

Status có thể là: Pending, In progress, Completed, Rejected, Failed.

Get multiple refill status

ParametersDescription
keyYour API key
actionrefill_status
refillsRefill IDs separated by comma (up to 100 IDs)

Example response

[
    {
        "refill": "1",
        "status": "Completed"
    },
    {
        "refill": "2",
        "status": "Rejected"
    },
    {
        "refill": "3",
        "status": {
            "error": "Incorrect refill ID."
        }
    }
]

Cancel orders

ParametersDescription
keyYour API key
actioncancel
ordersOrder IDs separated by comma (up to 100 IDs)

Example response

[
    {
        "order": 9,
        "cancel": {
            "error": "Incorrect order ID."
        }
    },
    {
        "order": 2,
        "cancel": 1
    }
]

User balance

ParametersDescription
keyYour API key
actionbalance

Example response

{
    "balance": "100.84292",
    "currency": "VND"
}

Errors

HTTPMessageKhi nào
400{"error": "Incorrect action."}Tham số action không hợp lệ
400{"error": "..."}Số dư không đủ / link sai / quantity ngoài khoảng
401{"error": "Thiếu API key."} hoặc "API key không hợp lệ..."Thiếu / sai key, tài khoản bị khoá
404{"error": "Incorrect order ID."}Order/Refill không thuộc về API key
429Vượt rate limit 120 req/phút theo API key