Skip to content

API documentation

Integrate our catalog and ordering into your own panel, bot or app with a simple HTTP API.

Overview

Base URL
https://zmxpanel.com/api/v1
HTTP method
POST (form-encoded or JSON)
Response format
JSON
Currency
INR (money values are returned as strings)

Authentication

Send your API key as the key parameter on every request. Invalid keys return HTTP 401.

Rate limits

60 requests per minute per key. Exceeding it returns HTTP 429 with a Retry-After header.

Errors

Errors are JSON like {"error":"message"} with a matching HTTP status code.

Your API key

Sign in to see and manage your API key.

Sign in

Endpoints

POSTService list

Returns every service currently available to your account, with your rates (INR per 1000, or per package).

POSThttps://zmxpanel.com/api/v1/services

Parameters

NameRequiredDescription
keyYesYour API key.

Example response

200 OK
[
  {
    "service": 1,
    "name": "Telegram Channel Members",
    "type": "Default",
    "category": "Telegram",
    "rate": "12.3456",
    "min": "50",
    "max": "100000",
    "refill": true,
    "cancel": false
  }
]

Error response

Error
{
  "error": "Invalid API key"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/services" \
  -d "key=YOUR_API_KEY"
POSTAdd order

Places a new order. The charge is deducted from your balance. Send an optional Idempotency-Key header to safely retry without creating duplicate orders.

POSThttps://zmxpanel.com/api/v1/order

Optional header: Idempotency-Key: <unique string>

Parameters

NameRequiredDescription
keyYesYour API key.
serviceYesService ID.
linkYesPublic link to the profile or post.
quantityNoQuantity. Not used for package or custom-comments services.
runsNoDrip-feed: number of runs (drip-feed services only).
intervalNoDrip-feed: minutes between runs.
commentsNoComments, one per line (custom-comments services only).
usernameNoComment Likes services: username of the comment author.
answer_numberNoPoll services: answer to vote for (1 = first).
hashtagNoMentions Hashtag services: the hashtag.
keywordsNoSEO services: keywords, one per line.
username / min / max / postsNoSubscription services (no link): channel username, min and max per post, number of new posts (1-500).
old_posts / delay / expiryNoSubscriptions, optional: existing posts to include (0-100), delay in minutes (0, 5, 10, 15, 20, 30 ... 600), stop date (YYYY-MM-DD).

Example response

200 OK
{
  "order": 23501
}

Error response

Error
{
  "error": "Not enough funds"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/order" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d "key=YOUR_API_KEY" \
  -d "service=1" \
  -d "link=https://t.me/example" \
  -d "quantity=1000"
POSTOrder status

Returns the status of one order, several orders (comma separated, up to 100), or your paginated order history when orders is omitted.

POSThttps://zmxpanel.com/api/v1/order-status

Parameters

NameRequiredDescription
keyYesYour API key.
ordersNoOne order ID or up to 100 comma-separated IDs. Omit to list your history.
pageNoHistory only: page number.
limitNoHistory only: page size, max 100.
statusNoHistory only: filter by status.

Example response

200 OK
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "INR"
}

// multiple IDs return a map keyed by order ID:
{
  "1": { "charge": "0.27819", "start_count": "3572", "status": "Completed", "remains": "0", "currency": "INR" },
  "2": { "error": "Incorrect order ID" }
}

Error response

Error
{
  "error": "Incorrect order ID"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/order-status" \
  -d "key=YOUR_API_KEY" \
  -d "orders=23501"
POSTCreate refill

Requests a refill for an eligible completed order.

POSThttps://zmxpanel.com/api/v1/refill

Parameters

NameRequiredDescription
keyYesYour API key.
orderYesOrder ID.

Example response

200 OK
{
  "refill": "1"
}

Error response

Error
{
  "error": "Refill not available for this order"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/refill" \
  -d "key=YOUR_API_KEY" \
  -d "order=23501"
POSTRefill status

Returns the status of a refill request.

POSThttps://zmxpanel.com/api/v1/refill-status

Parameters

NameRequiredDescription
keyYesYour API key.
refillYesRefill ID.

Example response

200 OK
{
  "status": "Completed"
}

Error response

Error
{
  "error": "Refill not found"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/refill-status" \
  -d "key=YOUR_API_KEY" \
  -d "refill=1"
POSTCancel orders

Cancels one or more orders (comma separated) when the service supports cancellation. Canceled orders are refunded.

POSThttps://zmxpanel.com/api/v1/cancel

Parameters

NameRequiredDescription
keyYesYour API key.
ordersYesComma-separated order IDs.

Example response

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

Error response

Error
{
  "error": "Invalid API key"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/cancel" \
  -d "key=YOUR_API_KEY" \
  -d "orders=2,9"
POSTBalance

Returns your current balance. The currency is always INR.

POSThttps://zmxpanel.com/api/v1/balance

Parameters

NameRequiredDescription
keyYesYour API key.

Example response

200 OK
{
  "balance": "100.84292",
  "currency": "INR"
}

Error response

Error
{
  "error": "Invalid API key"
}

Code samples

curl -X POST "https://zmxpanel.com/api/v1/balance" \
  -d "key=YOUR_API_KEY"