# XTB API: closed since 14 Mar 2025

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/brokers/xtb, written from the same records as that page.

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.

xAPI (xStation5) was switched off on 14 Mar 2025.

- Kind: Platform APIs only
- Newest reading: 2026-10-09
- Official documentation: [xtb.com](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools)
- Everything recorded for XTB, as one JSON file: https://openbrokerapi.com/data/brokers/xtb.json

## Access, authentication and streaming

- How you get a key: None. XTB no longer offers API access.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- Who can use it: Not available.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- Demo: No
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- Authentication: Not applicable. XTB's help centre states that API access is no longer available and that the service was discontinued on 14 March 2025, so there is no authentication route left to document. Last looked for 9 Oct 2026.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- Streaming: Not applicable. XTB's help centre states that API access was discontinued on 14 March 2025, and streaming was part of that API. The page read on 9 Oct 2026 does not name the former streaming host. Last looked for 9 Oct 2026.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- History depth: Not applicable. No live API, so there is no history endpoint to have a depth. Last looked for 9 Oct 2026.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.
- Rate limits, as worded: Not applicable. No live API, so no published limits apply. Last looked for 9 Oct 2026.
  - Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

## XTB API: questions and answers

### Does XTB have an API?

No API of its own is recorded for XTB on this register.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### Who can use the XTB API?

Not available.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### XTB API demo: is there a demo or sandbox?

No.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### What are the XTB API rate limits?

Not applicable. No live API, so no published limits apply. Last looked for 9 Oct 2026.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### How does XTB API authentication work?

Not applicable. XTB's help centre states that API access is no longer available and that the service was discontinued on 14 March 2025, so there is no authentication route left to document. Last looked for 9 Oct 2026.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### Does the XTB API support streaming?

Not applicable. XTB's help centre states that API access was discontinued on 14 March 2025, and streaming was part of that API. The page read on 9 Oct 2026 does not name the former streaming host. Last looked for 9 Oct 2026.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

### How much history does the XTB API return?

Not applicable. No live API, so there is no history endpoint to have a depth. Last looked for 9 Oct 2026.

- Status: verified. Source: [XTB help centre: Does XTB offer investment automation tools?](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools), checked 2026-10-09.

[XTB API questions, each answered in a sentence or two](https://openbrokerapi.com/answers/xtb).

## Partner programme

No published figure. [The XTB partner programme record](https://openbrokerapi.com/partners/xtb). This site carries no affiliate links.

## Licence and how to cite

The limit records on this page come from the limits register, which is CC BY 4.0 (https://openbrokerapi.com/data/limits.json). Everything else on it comes from records that are all rights reserved. This file is the page itself, at its own address, in another format, and it is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data.

Cite as: XTB API: closed since 14 Mar 2025. Broker API Hub, https://openbrokerapi.com/brokers/xtb, newest check 2026-10-09.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
