Sign in

API documentation

Build on ZadiLog — automate browsing, buying and order tracking

Getting started

The ZadiLog API is a plain REST API paid from your wallet balance. Create a key in Account → API keys, then send it on every request. Rate limit: 60 requests per minute per key. All prices are in USD.

curl /api/v1/profile \
  -H "X-API-Key: zad_live_your_key_here"
Base URL for every endpoint: /api/v1
Responses are JSON: { "status": "success", "data": ... } or { "status": "error", "code", "message" }
Authentication

Send your key as the X-API-Key header (or Authorization: Bearer zad_live_...). Keys start with zad_live_. Keep keys secret — anyone holding a key can spend from your wallet. Revoke a key any time from your account.

GET /api/v1/profile
X-API-Key: zad_live_...

→ { "status": "success", "data": {
    "user_id": 12, "name": "Ada O.", "username": "ada",
    "email": "ada@example.com", "wallet_balance": 42.50,
    "currency": "USD", "status": "active" } }
Products

List and inspect the live catalogue with real-time stock.

GET /api/v1/products?search=chatgpt&category=ai-tools&in_stock=1&page=1&limit=50
GET /api/v1/products?id=7

→ { "id": 7, "title": "ChatGPT Plus — Private (30 days)",
    "price": 20.00, "currency": "USD", "stock": 18,
    "in_stock": true, "rating": 4.9, "reviews": 128 }
Buy & Orders

Buying is atomic: stock is reserved, the wallet is charged and delivery data is returned in the same response. If anything fails, nothing is charged.

POST /api/v1/buy
{ "product_id": 7, "quantity": 1 }

→ { "status": "success", "data": {
    "purchase_id": 31, "order_reference": "ZD-1031",
    "total_price": 20.00, "status": "delivered",
    "delivery_items": ["Email: ... | Password: ..."] } }

GET /api/v1/orders            → your order history
GET /api/v1/orders?id=31       → one order with delivery_data
Wallet

Your balance is returned by GET /api/v1/profile as wallet_balance. Fund the wallet from the website (Wallet → Add funds); API purchases draw from the same balance. Error codes: UNAUTHORIZED (401), INSUFFICIENT_FUNDS (402), OUT_OF_STOCK (400), RATE_LIMITED (429).

Need a key?

Generate one in your account and start building in minutes.

Manage API keys