Reseller API
Buy accounts from your own software using your Accountz.net wallet balance.
Authentication
Create a key on the API Keys page (sign-in required) and send it as a Bearer token with every request. Keys start with sk_.
- Base URL
https://accountz.net/api/v1- Format
- JSON — send
Accept: application/json - Currency
- All prices and balances are in Bangladeshi Taka (BDT)
Authorization: Bearer sk_your_api_key
GET/products
Active products with price and current stock. Live-supplied products report stock as 1 (available) or 0.
{
"products": [
{ "id": 1, "name": "Gmail for Facebook OTP", "category": "Gmail", "price": "8.0000", "stock": 154 }
]
}
GET/balance
{ "balance": "1250.50", "currency": "BDT" }
POST/orders
Charges your balance and returns the delivered credentials immediately. Your account discount, if any, is applied automatically.
| Field | Type | Description |
|---|---|---|
product_id | integer | Required. ID from /products. |
quantity | integer | Required. 1–500 (live-supplied products allow up to 10). |
Response 201 Created:
{
"order_id": 1042,
"product": "Gmail for Facebook OTP",
"quantity": 2,
"total_price": "16.00",
"status": "completed",
"credentials": ["first@gmail.com", "second@gmail.com"]
}
Email accounts are returned as the address only; use the Gmail/Hotmail OTP tools on the website to read verification codes.
GET/orders
Your API orders, newest first, 50 per page. Use ?page=2 for more. Standard pagination fields (data, current_page, last_page, total) are included.
GET/orders/{order_id}
Re-download the credentials of an earlier order.
{
"order_id": 1042,
"product": "Gmail for Facebook OTP",
"quantity": 2,
"total_price": "16.00",
"status": "completed",
"source": "api",
"created_at": "2026-10-25T08:30:00.000000Z",
"credentials": ["first@gmail.com", "second@gmail.com"]
}
Errors & limits
Errors return a JSON body with a message field.
| Status | Meaning |
|---|---|
401 | Missing or invalid API key. |
403 | Account suspended. |
404 | Order not found. |
422 | Validation failed, insufficient balance, not enough stock, or ordering restricted. |
429 | Rate limit exceeded — 120 requests per minute per account. |
503 | Scheduled maintenance. Retry later. |