AccsZone API v1.0 (mock)
Base URL https://www.acctbuy.com/api/v1. Send your key in the X-API-Key header. Responses use { "success": true, "data": …, "meta": … } or { "success": false, "error_code", "message" }.
| Method | Path | Description |
|---|---|---|
GET | /categories | List categories (20 / page) |
GET | /categories/{id}/subcategories | Subcategories of a category |
GET | /listings | Browse: category_id, subcategory_id, search, sort, direction, include=description |
GET | /listings/{slug} | Listing detail with description and supplier |
GET | /user/profile | Profile |
PUT | /user/profile | Update profile |
GET | /user/balance | Balance |
POST | /purchase | Buy: ad_id, quantity, promo_code, client_reference |
GET | /orders | Order history (per_page ≤ 50) |
GET | /orders/{id} | Order with accounts |
POST | /promo/validate | Validate a promo code |
Example
curl https://www.acctbuy.com/api/v1/listings?search=facebook \ -H "X-API-Key: YOUR_API_KEY"