Test before live
Develop against a paper environment before a key can touch a live account.
The planned API will support scoped keys for personal dashboards, alerts, account data, and guarded orders. API access is not live yet.
const response = await fetch(
"/v1/api/quote/HBL",
{ headers: { Authorization: "Bearer tij_test_..." } }
);
// planned scope: read:market{ "environment": "test", "symbol": "HBL" }
Every key starts with no permissions. Choose its environment, data access, order access, and limits.
Develop against a paper environment before a key can touch a live account.
Separate market, account, order-history, and trade permissions instead of one all-powerful token.
API orders pass the same pre-trade checks and audit trail as orders placed in the app.
API keys do not become a shortcut around verified funding and withdrawal controls.
The first API covers quotes, charts, positions, order history, and guarded orders. Full documentation ships with sandbox access.
/v1/api/accountRead account identity and environment/v1/api/quote/HBLRead a market quote/v1/api/board/HBLRead the supported market board/v1/api/candles/HBLRead chart candles/v1/api/positionsRead your positions/v1/api/ordersRead order history/v1/api/transactionsRead account transactions/v1/api/ordersSubmit a guarded order/v1/api/orders/{id}/cancelRequest order cancellationThe base URL and complete reference will be published only when the sandbox is open.
Keys beginning with the test prefix use a server-side paper account. A test key cannot read or trade a live account.
read:market, read:account, read:orders, and trade. A key begins with no scope and withdrawals never enter the API boundary.
Order writes use an idempotency key and return a command receipt so a network retry does not silently duplicate an instruction.
The planned first release allows up to 300 requests per minute per IP and 60 per minute per API key, with explicit limit errors.
These are planned, not quietly implied. They remain Coming soon until the protocol, authentication, delivery guarantees, and examples are documented.
We will send documentation, limits, and test access when the public sandbox opens.
API keys use the same market-data, account, and order controls as Tijarat.