API

Thanks to our API service, you can use our services quickly and cost-effectively.

HTTP Method POST
API URL https://zemiax.com/api/v2
Response format JSON

Service list

Parameters Description
key Your API key
action services
Example response
[
  {
    "service": "<service_id>",
    "name": "<service_name>",
    "type": "<service_type>",
    "category": "<category_name>",
    "rate": "<current_rate>",
    "min": "<minimum_quantity>",
    "max": "<maximum_quantity>",
    "refill": "<true_or_false>",
    "cancel": "<true_or_false>"
  }
]

Add order

Parameters Description
key Your API key
action add
service Service ID
link Link to page
quantity Needed quantity
runs (optional) Runs to deliver
interval (optional) Interval in minutes
Example response
{
  "order": "<order_id>"
}

Order status

Parameters Description
key Your API key
action status
order Order ID
Example response
{
  "charge": "<charged_amount>",
  "start_count": "<start_count>",
  "status": "<order_status>",
  "remains": "<remaining_quantity>",
  "currency": "<account_currency>"
}

Multiple orders status

Parameters Description
key Your API key
action status
orders Order IDs separated by commas
Example response
{
  "<order_id>": {
    "charge": "<charged_amount>",
    "status": "<order_status>",
    "remains": "<remaining_quantity>"
  }
}

Create refill

Parameters Description
key Your API key
action refill
order Order ID
Example response
{
  "refill": "<refill_id>"
}

Create multiple refill

Parameters Description
key Your API key
action refill
orders Order IDs separated by commas
Example response
{
  "<order_id>": {
    "refill": "<refill_id>"
  }
}

Get refill status

Parameters Description
key Your API key
action refill_status
refill Refill ID
Example response
{
  "status": "<refill_status>"
}

Get multiple refill status

Parameters Description
key Your API key
action refill_status
refills Refill IDs separated by commas
Example response
{
  "<refill_id>": {
    "status": "<refill_status>"
  }
}

Create cancel

Parameters Description
key Your API key
action cancel
order Order ID
orders (optional) Use orders for multiple order IDs separated by commas
Example response
{
  "cancel": "<request_status>"
}

User balance

Parameters Description
key Your API key
action balance
Example response
{
  "balance": "<current_balance>",
  "currency": "<account_currency>"
}
Example of PHP code
PHP
$payload = [
    "key" => "<your_api_key>",
    "action" => "services",
];

$ch = curl_init("https://zemiax.com/api/v2");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
$response = curl_exec($ch);

Quick start

API URL
https://zemiax.com/api/v2
Service list
key=YOUR_KEY&action=services
Add order
key=YOUR_KEY&action=add&service=<service_id>&link=<public_link>&quantity=<quantity>

Your client key

Authentication required

Sign in to reveal your client key and run authenticated requests from the same panel account.