/api/v1/meYour account
Wallet balance, account id, username, and join date.
Use one private API key to check your balance, view live products, place wallet orders, fetch order history, and read account totals from any reseller panel or website.
Live mode sends real API requests. Keep your key private because order requests can spend wallet balance.
Create your API key from the API Key panel in the Telegram bot. A revoked key stops immediately; a new key still reads the same wallet and old order history.
X-API-Key: WAR_example_not_a_real_key
Six endpoints are available for account, products, orders, history, and stats. Examples use `P_1` service IDs and `WAR_...` API keys.
/api/v1/meWallet balance, account id, username, and join date.
/api/v1/productsActive products, live stock, flat price, and volume tiers.
/api/v1/orderDebits wallet and returns delivery details in one atomic transaction.
/api/v1/ordersNewest orders first. Uses `limit` and `offset` pagination.
/api/v1/order/{id}Returns only the authenticated user's order; other users get 404.
/api/v1/statsWallet balance, lifetime spend, API order count, and API item count.
Every endpoint includes request, success response, common errors, and response fields.
/api/v1/meRead the authenticated user's profile and wallet balance.
curl "$BASE/api/v1/me" -H "X-API-Key: $KEY"{
"success": true,
"user": {
"id": 1000000000,
"username": "buyer",
"joined_date": "2026-08-29 12:00:00",
"wallet_balance": 42.75
}
}| Field | Type | Notes |
|---|---|---|
user.id | number | Your account id. |
user.wallet_balance | number | Available USDT wallet balance. |
/api/v1/productsRead active products. Check `orderable` and `stock` before placing an order.
curl "$BASE/api/v1/products" -H "X-API-Key: $KEY"{
"success": true,
"products": [
{
"service_id": "P_1",
"product_id": 1,
"name": "Gemini Pro 18 Month",
"duration": "18M",
"price": 0.40,
"stock": 651,
"in_stock": true,
"orderable": true,
"pricing": "volume",
"volume_pricing": [
{ "min_qty": 1, "max_qty": 10, "price": 0.40 },
{ "min_qty": 11, "max_qty": 49, "price": 0.38 },
{ "min_qty": 50, "max_qty": null, "price": 0.36 }
],
"description": "Instant delivery product",
"note": ""
}
]
}| Field | Type | Notes |
|---|---|---|
service_id | string | Use this in `POST /api/v1/order`. |
price | number | Unit price at quantity 1. Bulk order may use a lower volume tier. |
volume_pricing | array | Each tier has min quantity, optional max quantity, and unit price. |
orderable | boolean | False for manual requirement products or out-of-stock products. |
/api/v1/orderCreates an instant order. This endpoint can spend wallet balance.
| Body field | Type | Required | Notes |
|---|---|---|---|
service_id | string | Yes | From products list, for example `P_1`. |
quantity | number | Yes | Whole number from 1 to 10000. |
curl -X POST "$BASE/api/v1/order" \
-H "X-API-Key: $KEY" \
-H "Content-Type: application/json" \
-d '{"service_id":"P_1","quantity":2}'{
"success": true,
"order": {
"order_id": "ORD1234ABCD",
"service_id": "P_1",
"product_id": 1,
"product_name": "Gemini Pro 18 Month",
"quantity": 2,
"total_amount": 0.70,
"payment_method": "API",
"status": "Confirmed",
"order_date": "2026-08-29 12:00:00",
"delivery_details": [
{ "email": "one@example.com", "password": "pass1" },
{ "email": "two@example.com", "password": "pass2" }
]
},
"unit_price": 0.35,
"remaining_stock": 649
}/api/v1/ordersList order history for the authenticated user. This list does not include delivery details.
| Query | Type | Default | Notes |
|---|---|---|---|
limit | number | 25 | Allowed range 1 to 100. |
offset | number | 0 | Skip this many newest orders. |
curl "$BASE/api/v1/orders?limit=25&offset=0" \
-H "X-API-Key: $KEY"{
"success": true,
"orders": [
{
"order_id": "ORD1234ABCD",
"service_id": "P_1",
"product_id": 1,
"product_name": "Gemini Pro 18 Month",
"quantity": 2,
"total_amount": 0.70,
"payment_method": "API",
"status": "Confirmed",
"order_date": "2026-08-29 12:00:00"
}
],
"limit": 25,
"offset": 0
}/api/v1/order/{id}Fetch one owned order with delivery details. Other users' orders return 404.
curl "$BASE/api/v1/order/ORD1234ABCD" \
-H "X-API-Key: $KEY"{
"success": true,
"order": {
"order_id": "ORD1234ABCD",
"service_id": "P_1",
"product_name": "Gemini Pro 18 Month",
"quantity": 2,
"total_amount": 0.70,
"status": "Confirmed",
"delivery_details": [
{ "email": "one@example.com", "password": "pass1" }
]
}
}/api/v1/statsAccount totals. All purchases count together for lifetime totals; API-specific totals are also included.
curl "$BASE/api/v1/stats" -H "X-API-Key: $KEY"{
"success": true,
"stats": {
"wallet_balance": 42.75,
"total_orders": 137,
"total_spent": 391.05,
"api_orders": 18,
"api_items": 240
}
}Use `$BASE` as the live API domain and `$KEY` as the private user API key.
The API uses FastAPI-style errors. Normal auth/order errors return `detail`; validation errors return a `detail` array.
{
"detail": "Missing X-API-Key header."
}{
"detail": {
"error": "insufficient_balance",
"wallet_balance": 2.0,
"required_amount": 6.05
}
}