API
Thanks to our API service, you can use our services quickly and cost-effectively.
Quick start
API URL
https://zemiax.shop/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.
Example of PHP code
PHP
$payload = [
"key" => "<your_api_key>",
"action" => "services",
];
$ch = curl_init("https://zemiax.shop/api/v2");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
$response = curl_exec($ch);
curl_close($ch);
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>"
}
]
Balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": "<current_balance>",
"currency": "<account_currency>"
}
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 |
| orders (optional) | Multiple order IDs separated by commas |
Example response
{
"refill": "<refill_id>"
}
Refill status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
| refills (optional) | Multiple refill IDs separated by commas |
Example response
{
"status": "<refill_status>"
}
Cancel order
| Parameters | Description |
|---|---|
| key | Your API key |
| action | cancel |
| order | Order ID |
| orders (optional) | Multiple order IDs separated by commas |
Example response
{
"cancel": "<request_status>"
}