Broker API HubMenu

cTrader vs TradeLocker API

The same fields from the cTrader Open API record and the TradeLocker API record, side by side. No winner is picked: which one suits you depends on what you are building.

Independent and unofficialNewest check

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.

What the two records show

Differences you can see in the records themselves. These are counts of what this site holds, not a verdict on either API.

cTrader Open API and TradeLocker API, field by field

FieldcTrader Open APITradeLocker API
KindPlatform API, offered by many brokersPlatform API, offered by many brokers
API familyProtobuf over TCP/WebSocket, JSON over TCP/WebSocket, Python package, C# packageREST, Streams API (Socket.IO WebSocket), Python package
How you get accessRegister an app at openapi.ctrader.com; Spotware reviews new apps, so describe your use case in detail.Creating a new applicationchecked Use your TradeLocker login (email, password, server) against the public REST API; no separate app registration found.TradeLocker API connectivitychecked
Who can use itSupported by all trading accounts of any cTrader affiliated brokers by default, which means both demo and live accounts.cTrader Open APIchecked TradeLocker users only, via a broker or prop firm that offers TradeLocker.Getting Started with TradeLocker Public APIchecked
DemoYes: separate demo endpoint; demo and live environments are fully separated.Proxies and endpointschecked Yes: separate demo environment at demo.tradelocker.com.Getting Started with TradeLocker Public APIchecked
AuthenticationOAuth 2.0 authorisation code flow: the auth code lives 1 minute, the access token 30 days. Scopes are accounts, which is read only, and trading, which is full.Account authenticationchecked 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
StreamingYes: spot quotes, depth of market and execution events on the same connection, at 50 requests a second per connection (5 for historical data) with a heartbeat every 10 seconds. Host live1.p.ctrader.com port 5035, SSL mandatory for TCP and WebSocket. Spotware recommends at most two connections, one demo and one live, each carrying an unlimited number of accounts of that type.Messageschecked 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 depthTrend bars and ticks by from/to timestamp with optional count; deals by range with maxRows. Cash flow history max 1 week per request.Spotware OpenApiMessages.protochecked /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
Limits
  • Requests a second, not historical data: 50. Per connection, requests that are not for historical datahelp.ctrader.comchecked
  • Requests a second, historical data: 5. Per connection, historical data requests onlyhelp.ctrader.comchecked
None recorded
Endpoints documented hereNone yet23
Error codes decoded here535
Official documentationhelp.ctrader.compublic-api.tradelocker.com

Go deeper on each side

All comparisons. New to this? Getting started with API trading.