EM EM Online Store API v1.0
Production REST Interface

Automate Digital Orders & Real-Time Stock Pipelines

Integrate external Telegram bots, reseller storefronts, and automated credential harvesters directly with EM Online Store using Bearer API keys, atomic SQLite stock locking, and idempotent settlement.

BASE URL  https://emonlinestore.com/api/v1
Auth Header: Authorization: Bearer em_live_... Rate Limit: 120 req / 60s

API Key Vault

Checking session...
Account Guest (Not signed in)
Wallet Balance — USDT
Active Primary Key None

ElevenLabs Creator — Automated Product & Stock Blueprint

View Listing on Market

Live reference for purchasing ElevenLabs Creator — 3 Months (100k Credits) units programmatically or pushing freshly verified accounts straight into the instant-delivery vault.

ElevenLabs Creator — 3 Months (100k Credits)
Seller: @bummuku · Delivery Format: Email:Password:Recovery
Product ID: #1
Unit Price: 8.00 USDT
Live Vault Stock: 0
# 1. Check live ElevenLabs product stock & price
curl -s "https://emonlinestore.com/api/v1/products?brand=elevenlabs"

# 2. Instant programmatic purchase (atomic stock pop + Idempotency-Key)
curl -X POST "https://emonlinestore.com/api/v1/order" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: ord-elevenlabs-0001" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": 1}'

# 3. Seller / Harvester: append verified ElevenLabs accounts into stock vault
curl -X POST "https://emonlinestore.com/api/v1/stock/add" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": 1,
    "mode": "append",
    "deduplicate": true,
    "items": ["[email protected]:StrongPass#1:[email protected]"]
  }'

Live API Request Tester

Execute real read-only probes against production endpoints using your active session or pasted API key.

Ready · Uses Bearer key from Vault box above if provided.
HTTP JSON Response IDLE
{
  "hint": "Click 'Send Live Request' to inspect the live response."
}

Endpoint Reference

All responses include "ok": true, "success": true on HTTP 2xx and structured "error" + "code" fields on 4xx/5xx.

GET /api/v1/balance (alias /api/v1/me) scope: read

Returns caller wallet balance in USDT, reseller tier, fee percentage, and Telegram verification status.

{
  "ok": true,
  "user_id": 2,
  "username": "bummuku",
  "balance_usdt": 25.0,
  "currency": "USDT",
  "reseller_tier": "diamond",
  "seller_fee_pct": 0.0,
  "tg_linked": true
}
GET /api/v1/products & /api/v1/products/{product_id} public / read

Lists active marketplace products with real-time stock counts. Filter via query parameters:

ParameterTypeDescription
brandstringFilter by brand slug, e.g. elevenlabs, chatgpt, nordvpn.
sellerstringFilter by seller username (e.g. bummuku) or numeric user ID.
qstringCase-insensitive keyword search across title, description, and brand.
in_stockintegerPass 1 to return only products with in_stock > 0.
POST /api/v1/order scope: buy · Idempotency-Key

Atomically deducts wallet USDT balance, pops unique credentials from the product vault, and returns delivered lines immediately.

Body FieldTypeDescription
product_idinteger (required)Target product / listing ID (e.g. 1 for ElevenLabs Creator).
quantityinteger (default 1)Number of unique units to purchase (1–100).
auto_confirmboolean (default false)If true, settles escrow payout to seller immediately upon instant credential delivery.
GET /api/v1/orders & /api/v1/orders/{order_id} scope: read

Retrieves paginated purchase history or a specific order (DSK-XXXXXX), including previously delivered credentials and 6-digit escrow confirmation code.

POST /api/v1/orders/{order_id}/confirm scope: buy

Confirms satisfactory delivery of an escrow-protected order and releases funds to the seller's wallet.

POST /api/v1/stock/add scope: seller · Idempotency-Key

Appends or replaces automated delivery credentials for a seller's product. Automatically deduplicates lines and triggers Telegram back-in-stock alerts to waitlisted buyers.

Body FieldTypeDescription
product_idinteger (required)Your listing ID (e.g. 1).
itemsstring[]Array of credential lines (e.g. ["email:pass:recovery"]). Also accepts newline string text.
modestring"append" (default) or "replace".
deduplicatebooleantrue (default) skips lines already present in the unsold queue.
PATCH /api/v1/seller/products/{product_id} scope: seller

Updates price, title, description, instructions, or status ("active" / "paused"). Create new products via POST /api/v1/seller/products.

DELETE /api/v1/seller/products/{product_id}/stock scope: seller

Inspect unsold stock via GET /api/v1/seller/products/{product_id}/stock or purge unsold stock via DELETE (or POST /api/v1/stock/clear).

Rate Limits, Idempotency & HTTP Status Codes

HTTP CodeMachine CodeMeaning & Recovery Action
200 / 201okRequest succeeded; mutation committed to SQLite WAL.
401invalid_api_keyMissing or revoked key. Pass Authorization: Bearer em_live_....
402insufficient_balanceTop up USDT (BEP-20 / Polygon / Binance Pay) at /wallet.
409out_of_stockRequested quantity exceeds live vault stock, or Idempotency-Key payload mismatch.
429rate_limitedSliding limit (120 req / 60s) reached. Back off for Retry-After seconds.