Broker API HubMenu

Broker API

Trading 212 API: Invest and ISA only, not the CFD account

REST API for the General Invest Account and the Stocks and Shares ISA, described as beta; it does not reach the CFD account.

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.

Quickstart: key to first call16 endpoints8 error codes

Trading 212 API rate limits and allowances

One record per limit. The scope is part of the limit: a figure without its scope is not a figure you can pace against.

LimitValueScopeSource
Headline limit1 req/5s, account summary (example)accountdocs.trading212.comchecked

Trading 212 API rate limits in full, with pacing advice and the related error codes.

Access, authentication and streaming

API types listed in the record: REST.

How you get a key

On the web or in the app: menu, Settings, API (Beta), Generate API key. A risk warning must be accepted first. You then name the key, choose its permissions and choose whether to restrict it to given IP addresses. A key and a secret are issued, and the secret is shown once.

Trading 212 help centre: Trading 212 API keychecked

Who can use it

The docs say the API is enabled and usable only for the Invest and Stocks ISA account types.

Trading 212 API docs: general informationchecked

Demo

Yes: the docs name a paper trading (demo) environment on its own host, demo.trading212.com, beside the live host. Documented paths start /api/v0 on both.

Trading 212 API docs: API environmentschecked Trading 212 API docs: accountschecked

Authentication

HTTP Basic: Authorization header of Basic base64(API_KEY:API_SECRET).

Trading 212 API docs: authenticationchecked

Streaming

None documented. REST plus polling only.

Unverifiedno source opened

Rate limits, as worded

Per endpoint, applied per account whatever the API key or IP: for example account summary at 1 request every 5 seconds, with the reset time in an x-ratelimit-reset header.

Trading 212 API docs: rate limitingchecked Trading 212 API docs: accountschecked

Trading 212 API endpoints

16 documented endpoints. Grouped by what they do

Trading 212 API error codes

8 decoded error codes. All Trading 212 errors

Trading 212 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.

Does Trading 212 have an API?

Yes. This register records Trading 212 as having its own API (REST), with availability marked as active. REST API for the General Invest Account and the Stocks and Shares ISA, described as beta; it does not reach the CFD account.

Trading 212 API docs: rate limitingchecked Trading 212 help centre: Trading 212 API keychecked

Trading 212 API key: how do I get one?

On the web or in the app: menu, Settings, API (Beta), Generate API key. A risk warning must be accepted first. You then name the key, choose its permissions and choose whether to restrict it to given IP addresses.

Trading 212 help centre: Trading 212 API keychecked

Who can use the Trading 212 API?

The docs say the API is enabled and usable only for the Invest and Stocks ISA account types.

Trading 212 API docs: general informationchecked

Trading 212 API demo: is there a demo or sandbox?

Yes: the docs name a paper trading (demo) environment on its own host, demo.trading212.com, beside the live host. Documented paths start /api/v0 on both.

Trading 212 API docs: API environmentschecked Trading 212 API docs: accountschecked

What are the Trading 212 API rate limits?

Headline limit: 1 req/5s, account summary (example). Scope: account. As the record words it: Per endpoint, applied per account whatever the API key or IP: for example account summary at 1 request every 5 seconds, with the reset time in an x-ratelimit-reset header.

docs.trading212.comchecked Trading 212 API docs: accountschecked

How does Trading 212 API authentication work?

HTTP Basic: Authorization header of Basic base64(API_KEY:API_SECRET).

Trading 212 API docs: authenticationchecked

Does the Trading 212 API support streaming?

Unverified. None documented. REST plus polling only.

Unverifiedno source opened

Trading 212 API questions, each answered in a sentence or two.

The capability tables read one feature at a time across every broker and platform record, Trading 212 included.

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

Trading 212 API guides and reference

What changed recently for the Trading 212 API

Every dated change, all brokers and platforms. Follow Trading 212 changes by RSS

Partner programme

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

How to cite this

Trading 212 API: Invest and ISA only, not the CFD account. Broker API Hub, https://openbrokerapi.com/brokers/trading-212, newest check .

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

Sections