| Tartget | Quantity | Price | Status | Progress | Time |
|---|
When you deposit more than a certain amount, you get a bonus on your account:
| Network | Amount | Tx hash | Time |
|---|
| Amount | Description | Time |
|---|
Post json to endpoint with content-type 'application/json'.
Json data:
{"action":"balance"} // Balance
{"action":"orders"} // Orders
{"action":"payments"} // Payments
{"action":"order", "email": "billgates@microsoft.com", "quantity": 10000} // Place order
Legacy JSON API is kept for compatibility with old clients. Keep your API key private.
All requests are POST and return JSON.
POSTapplication/json__ENDPOINT__{"action":"balance"}
balanceReturns current balance in USD.
{"balance": 125.50}
ordersReturns orders list with status and progress.
Order fields: id (public), email, created, price, status, progress.
{"action":"orders","page":1,"per_page":10}
{
"orders": [
{
"id": "A7E17A3E",
"email": "user@example.com",
"created": "2026-01-22 10:00:00",
"price": 10.00,
"status": "in progress",
"progress": 37
}
],
"page": 1,
"per_page": 10,
"total": 42
}
paymentsReturns payments list.
Payment fields: amount, created, optional email/order_id, optional coupon code.
Positive amount = deposit, negative amount = order.
{"action":"payments","page":1,"per_page":10}
{
"payments": [
{
"amount": 50.00,
"created": "2026-01-22 10:00:00"
},
{
"amount": -10.00,
"created": "2026-01-22 10:05:00",
"email": "user@example.com",
"order_id": "A7E17A3E"
}
],
"page": 1,
"per_page": 10,
"total": 128
}
Orders and payments accept page/per_page (1..100). If omitted, the API returns the last page with per_page=100. Response always includes page, per_page and total.
orderCreates an order and debits balance.
Order params: email, quantity (500-50000). Price = quantity / 1000.
{"action":"order","email":"user@example.com","quantity":10000}
{"order":"A7E17A3E"}
All created fields are UTC in format YYYY-MM-DD HH:MM:SS.
Errors are returned as JSON with the error field.
{"error":"Invalid key."} — Invalid key{"error":"Invalid params."} — Invalid params{"error":"Invalid email."} — Invalid email{"error":"Invalid quantity. Range is 500-50000."} — Invalid quantity, Range is 500-50000.{"error":"Insufficient balance."} — Insufficient balance{"error":"Unknown action."} — Unknown action$apikey = "__APIKEY__";
$endpoint = "__ENDPOINT__";
// Query without CURL library
function query_no_curl($endpoint, $body) {
$encoded = json_encode($body);
$options = ['http' => ['header' => "Content-type: application/json",'method' => 'POST','content' => $encoded]];
$context = stream_context_create($options);
$result = file_get_contents($endpoint, false, $context);
if ($result === false) {
return ["error" => "Connection error"];
}
return json_decode($result, true);
}
// Query using CURL library
function query_curl($endpoint, $body) {
$encoded = json_encode($body);
$ch = curl_init($endpoint);
curl_setopt($ch, CURLOPT_POSTFIELDS, $encoded);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
if (!$result) return ["error" => "Connection error"];
curl_close($ch);
return json_decode($result, true);
}
// Balance
$body = ["action" => "balance"];
$result = query_no_curl($endpoint, $body);
// Orders
$body = ["action" => "orders"];
$result = query_no_curl($endpoint, $body);
// Payments
$body = ["action" => "payments"];
$result = query_no_curl($endpoint, $body);
// Place order
$body = ["action" => "order", "email" => "billgates@microsoft.com", "quantity" => 10000];
$result = query_no_curl($endpoint, $body);
import requests
import json
apikey = "__APIKEY__"
endpoint = "__ENDPOINT__"
# Balance
body = {'action': 'balance'}
result = requests.post(endpoint, json=body)
# Orders
body = {'action': 'orders'}
result = requests.post(endpoint, json=body)
# Payments
body = {'action': 'payments'}
result = requests.post(endpoint, json=body)
# Place order
body = {'action': 'order', 'email': 'billgates@microsoft.com', 'quantity': 10000}
result = requests.post(endpoint, json=body)
# Balance
curl -X POST __ENDPOINT__ \
-H 'Content-Type: application/json' \
-d '{"action":"balance"}'
# Orders
curl -X POST __ENDPOINT__ \
-H 'Content-Type: application/json' \
-d '{"action":"orders"}'
# Payments
curl -X POST __ENDPOINT__ \
-H 'Content-Type: application/json' \
-d '{"action":"payments"}'
# Place order
curl -X POST __ENDPOINT__ \
-H 'Content-Type: application/json' \
-d '{"action":"order", "email":"billgates@microsoft.com", "quantity":10000}'