Broker API HubMenu

Platform API

TradeLocker API: guide and brokers

REST trading API for TradeLocker accounts, with an official Python client.

Independent and unofficialNewest reading Official documentation

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Access, authentication and streaming

API types listed in the record: REST, Streams API (Socket.IO WebSocket), Python package.

How you get access

Use your TradeLocker login (email, password, server) against the public REST API; no separate app registration found.

TradeLocker API connectivitychecked

Who can use it

TradeLocker users only, via a broker or prop firm that offers TradeLocker.

Getting Started with TradeLocker Public APIchecked

Demo

Yes: separate demo environment at demo.tradelocker.com.

Getting Started with TradeLocker Public APIchecked

Authentication

POST email, password and server to /auth/jwt/token; send the JWT as Bearer token; refresh tokens issued. /trade/* routes also need the accNum header (not the accountId).

Getting Started with TradeLocker Public APIchecked

Streaming

Unverified. TradeLocker's public API documentation, re-read 12 Oct 2026, describes a request and response REST API only, and its index of pages lists no streaming page. The record's API family names a Streams API from an earlier reading that could not be confirmed on a page that opens today.

UnverifiedTradeLocker public API, getting startedchecked

History depth

/trade/history by resolution (1m to 1M) and from/to; max rows per request and orders history rows come from /trade/config.

TradeLocker Public API docschecked

Rate limits, as worded

Per route limits only, served at runtime by the /trade/config route as a number of requests per interval of seconds or minutes. The documentation publishes no fixed figure and gives 2 requests a second only as an example of the form. A tl-developer-api-key header, issued through the TradeLocker Developer Program, gets less restrictive limits. Separately, a request for historical bars is rejected if it would return more than 20,000 bars.

TradeLocker public API, getting startedchecked TradeLocker public API, index of pageschecked

TradeLocker API SDKs and wrappers

LibraryLanguageOfficialNoteSource
tradelockerPythonOfficialOfficial TradeLocker Python library, 0.56.2 of 18 Dec 2024, maintained by TradeLocker and ivosluganovic, Python 3.11 and 3.12 only, MIT licence. No 2025 or 2026 release.pypi.orgchecked

TradeLocker API endpoints

23 documented endpoints. They belong to the platform's own API, so the calls are the same whichever broker or firm the account is with. Only the base address can differ. Grouped by what they do

TradeLocker API error codes

5 decoded error codes. All TradeLocker API errors

TradeLocker API: questions and answers

Each answer is read from the record on this page, not written separately. Where the record is unverified, the answer says so.

How do I get access to the TradeLocker API?

Use your TradeLocker login (email, password, server) against the public REST API; no separate app registration found.

TradeLocker API connectivitychecked

Who can use the TradeLocker API?

TradeLocker users only, via a broker or prop firm that offers TradeLocker.

Getting Started with TradeLocker Public APIchecked

TradeLocker API demo: is there a demo or sandbox?

Yes: separate demo environment at demo.tradelocker.com.

Getting Started with TradeLocker Public APIchecked

What are the TradeLocker API rate limits?

Per route limits only, served at runtime by the /trade/config route as a number of requests per interval of seconds or minutes. The documentation publishes no fixed figure and gives 2 requests a second only as an example of the form.

TradeLocker public API, getting startedchecked TradeLocker public API, index of pageschecked

How does TradeLocker API authentication work?

POST email, password and server to /auth/jwt/token; send the JWT as Bearer token; refresh tokens issued. /trade/* routes also need the accNum header (not the accountId).

Getting Started with TradeLocker Public APIchecked

Does the TradeLocker API support streaming?

Unverified. TradeLocker's public API documentation, re-read 12 Oct 2026, describes a request and response REST API only, and its index of pages lists no streaming page.

UnverifiedTradeLocker public API, getting startedchecked

How much history does the TradeLocker API return?

/trade/history by resolution (1m to 1M) and from/to; max rows per request and orders history rows come from /trade/config.

TradeLocker Public API docschecked

Is there a Python library for the TradeLocker API?

This register lists one Python library for the TradeLocker API. tradelocker (official, Python): Official TradeLocker Python library, 0.56.2 of 18 Dec 2024, maintained by TradeLocker and ivosluganovic, Python 3.11 and 3.12 only, MIT licence. No 2025 or 2026 release.

tradelockerchecked

TradeLocker API questions, each answered in a sentence or two.

Everything this site records for TradeLocker API, as one JSON file. Each section of the file states its own licence. About the files. This page as Markdown.

TradeLocker API guides and reference

TradeLocker API compared

The same fields from two records, side by side. No winner is picked.

What changed recently for the TradeLocker API

The newest entries are shown. Every dated change, all brokers and platforms. Follow TradeLocker changes by RSS

Sample apps that use the TradeLocker API

Every app and sample

Partner programme

No published figure. The TradeLocker partner programme record. The programme register holds every record. This site carries no affiliate links.

Brokers that offer TradeLocker API

No broker on this register is recorded as offering TradeLocker API. That is a gap in the records, not a finding that none does.

How to cite this

TradeLocker API: guide and brokers. Broker API Hub, https://openbrokerapi.com/platforms/tradelocker, newest check .

Where you rely on a single figure, cite the source and the checked date printed beside it as well.

Sections