Getting Started
The VOID Trader platform exposes two APIs. Most integrations use both.
Base URLs
Title
Description
Title
API | Base URL | Protocol |
|---|---|---|
Manager REST API | HTTPS / JSON | |
Streaming API | gRPC-web |
REST paths already include the /api/v1 prefix, so the base URL is the origin only (no /api/v1 suffix).
Authentication
Both APIs are keyed and scoped to your organisation. You never see another tenant's data.
- REST: a manager API key, sent as a bearer token. Authorization: Bearer mk__An owner issues and revokes these on the API keys page in the manager console.
- Streaming: a partner key, sent in the authorization metadata header on each stream. authorization: Bearer psk__An owner issues and revokes these on the Partner keys page in the manager console. Scope is stream:read. See the Streaming API guide.
Keys are shown once at creation and stored only as a hash. Store them in a secret manager.
Response envelope (REST)
Every REST response is a typed envelope:
JSON
// success
{ "ok": true, "data": { ... } }
// failure
{ "ok": false, "error": { "code": "NOT_FOUND", "message": "..." } }
Read error.code (not the prose message) for control flow. BAD_REQUEST responses may include a per-field "fields" map.
Quick check
CURL
curl https://api.voidtrading.io/api/v1/tenant \
-H "Authorization: Bearer mk_your_key_here"
A 200 with your tenant profile confirms the base URL and key are correct.
Next steps
- Browse the REST sections (Accounts, Positions, Reports, ...).
- Read the Streaming API guide to subscribe to live positions, orders, equity, quotes, and ledger events.
Was this section helpful?
On this page
- Getting Started