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" }.

MethodPathDescription
GET/categoriesList categories (20 / page)
GET/categories/{id}/subcategoriesSubcategories of a category
GET/listingsBrowse: category_id, subcategory_id, search, sort, direction, include=description
GET/listings/{slug}Listing detail with description and supplier
GET/user/profileProfile
PUT/user/profileUpdate profile
GET/user/balanceBalance
POST/purchaseBuy: ad_id, quantity, promo_code, client_reference
GET/ordersOrder history (per_page ≤ 50)
GET/orders/{id}Order with accounts
POST/promo/validateValidate a promo code

Example

curl https://www.acctbuy.com/api/v1/listings?search=facebook \
  -H "X-API-Key: YOUR_API_KEY"