Base URL
http://localhost:3000/api/v2. Every path has the /api/v2 prefix.
Which API for what
Authentication
An endpoint may requirebearerAuth, apiKeyAuth, accept both, or be public — every reference page shows which. For integrations use a shop key:
Idempotency-Key and Turnstile.
Response conventions
Success:{ success: true, data, message? }. Error: { success: false, statusCode, error, code?, details?, timestamp, path }. Always check the success field. Codes and retries: Errors and limits.
Identifiers
Resource ids (shopId, serverId, orderId, …) are MongoDB ObjectIds — 24 hex chars (^[0-9a-fA-F]{24}$). An invalid format returns 400.
Pagination and limits
Lists acceptpage (from 1) and limit. A paginated response contains data, total, page, pages, hasNext and hasPrev. limit is clamped to a safe maximum (usually 100; stats lists have their own lower caps). Example:
Next
API with a key
Create a key and send your first request.
Storefront API
Public shop data for your website.