Does trading212 have an API?


oes Trading212 have an API? If so how do I get access? I have a UK account.

Any help much appreciated.



I think it’s on their todo list. The only way to do something right now is to have browser emulation. They do allow this, apis will be down the road once they have completed some of their major updates.

In the meantime, what is it you would like to achieve?

1 Like

I don’t know what browser emulation is, but I would like to be able to do trades using a Python programme or something. I would be interested in an API.

This is an example of browser emulation Trading212 Position Parsing & SimplySafeDividends Program

Made this a couple of months back. I used Selenium with C#.

1 Like

Cool, thanks. It’s probably a bit more stable to use an API.

Liked to add interest in this.

Hope this is on the roadmap.

Hopefully Plaid could be implemented?

I am not familiar with APIs, but I believe @Finki has one, I do not know if it is relevant.
Just in case, I have tagged him. If it is relevant, I am sure he will be happy to explain the Finki API :smiley:.

I think the question here is murky

What does the original poster actually want? To trade programmatically? To get stock data only programmatically? Both?

If they are unable to code and/or unable to emulate through a browser then you have to question their techy skills ( that’s fine. We each have our skills) . But therefore this notion of an API ‘would be easier’ is weird and makes no sense. You either understand and are able to code or you’re not (right at this moment. Of course you can always learn)

APIs are a simple Question:Answer query. If you can get you’re head around this then they are amazing.

If you don’t understand Get vs Post, for example, then I don’t understand how waiting for an official T212 API is better! If you can’t post credentials I don’t think this is for you.

I intentionally make my ‘API’ incredibly simply as a starting point for those new to this. No skills needed. I suspect T212 won’t (for legitimate reasons) be able to simplify to this degree when real money is at stake. Mine is information only. There’s most likely is not.

That said T212 already has lots of data APIs — you just need to know how to find them. If you know where to look you can get stock data and even your own transactions data if you create a session token :smirk:


I’m currently working on an unofficial API without browser. The project is during free time so it will take some time. They will be developed in Java/Kotlin so you need programming experience.
Of course they will be free for everyone, available on GitHub or similar.

I can put together a fairly robust Python script to interact with an API.

I couldn’t easily get started on a project involving browser emulation. I would imagine that type of solution would be fragile, being potentially broken due to even minor changes to the website. Not something I’d want to consider if it involves my money.

I came here looking for API information. I’m glad it’s on a to-do list. I only want to consume stock pricing (at the moment) and I would hope that whoever is implementing an API does so in a way where I can generate one or more API keys and I can set the permission level of each key with good granularity, i.e. permitting read-only access for pricing data, the ability to create rate-limited trades and perhaps with a configurable max deviation from current stock price.

Web client has API endpoints. Of course its not public so its not documented and you will have to use your token that you get when you login to authorise. Still if you just want to pull your portfolio data that is quite easy to do.

1 Like

I would be interested in python API as well, for interface trading 212 to my portfolio tracker software…

1 Like

This! Please, would love to implement such for my organizational dashboard too.