# Trading 212 API Update

**URL:** <https://community.trading212.com/t/trading-212-api-update/91589>\
**Category:** 🤝 Help\
**Created:** [May 6, 2026, 1:01pm UTC](https://community.trading212.com/t/trading-212-api-update/91589 "2026-05-06T13:01:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrthnkndrc](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mrthnkndrc](https://community.trading212.com/u/mrthnkndrc)\
**Post date:** [May 6, 2026, 1:01pm UTC](https://community.trading212.com/t/trading-212-api-update/91589/1 "2026-05-06T13:01:52Z")

</div>

I’m getting a 401 Unauthorized with empty body on both my Invest and Stocks ISA accounts. Keys are generated correctly. Is the API Beta enabled for my account?

---

<div class="post-metadata">

**Author:** ![Sheepfoot](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sheepfoot](https://community.trading212.com/u/Sheepfoot)\
**Post date:** [May 6, 2026, 3:06pm UTC](https://community.trading212.com/t/trading-212-api-update/91589/2 "2026-05-06T15:06:58Z")

</div>

This may sound obvious but when you generated your keys, you were presented with a series of options which will or will not be enabled. Did you set these? If not, you’ll have to generate new keys.

---

<div class="post-metadata">

**Author:** ![mrthnkndrc](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mrthnkndrc](https://community.trading212.com/u/mrthnkndrc)\
**Post date:** [May 6, 2026, 3:30pm UTC](https://community.trading212.com/t/trading-212-api-update/91589/3 "2026-05-06T15:30:42Z")

</div>

many thanks for this. All options were enabled yet the live data is not transferred through API key somehow to the app I’m trying to build. Appreciate any support.

---

<div class="post-metadata">

**Author:** ![Sheepfoot](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sheepfoot](https://community.trading212.com/u/Sheepfoot)\
**Post date:** [May 6, 2026, 4:10pm UTC](https://community.trading212.com/t/trading-212-api-update/91589/4 "2026-05-06T16:10:54Z")

</div>

If you are using native http to submit your requests and you are supplying the key and secret code in http headers, check that the headers are formatted correctly.

---

<div class="post-metadata">

**Author:** ![Sheepfoot](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sheepfoot](https://community.trading212.com/u/Sheepfoot)\
**Post date:** [May 6, 2026, 4:14pm UTC](https://community.trading212.com/t/trading-212-api-update/91589/5 "2026-05-06T16:14:00Z")

</div>

If you are using http and you can understand visual studio program code, I can post my code if it would help.
