# XTB API: questions and answers

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/answers/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.

5 questions about the XTB API, each answered from the XTB record on this site (https://openbrokerapi.com/brokers/xtb) and nothing else.

- Newest check: 2026-10-09
- Official documentation: [xtb.com](https://www.xtb.com/cy/help-center/our-platforms/does-xtb-offer-investment-automation-tools)

An answer here is the record's own wording, cut at the end of a sentence, or a list of names read from records. An answer that opens with the word Unverified has no dated source behind it. Where this page and the provider's own documentation differ, the documentation wins. Nothing here recommends a broker.

## XTB API questions

### 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.

- [The XTB API record](https://openbrokerapi.com/brokers/xtb)

### Does XTB have a demo or paper trading API?

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.

- [The XTB record's full wording](https://openbrokerapi.com/brokers/xtb#access)

### What are XTB's 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.

- [XTB API rate limits, as the record words them](https://openbrokerapi.com/brokers/xtb/rate-limits)

### How do I authenticate with the XTB API?

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.

- [The XTB record's full wording](https://openbrokerapi.com/brokers/xtb#access)

### Does XTB support streaming or WebSocket prices?

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.

- [The XTB record's full wording](https://openbrokerapi.com/brokers/xtb#access)

## Not recorded here

The XTB record cannot answer these questions yet, so they are not asked above. That is a gap in this dataset. It says nothing either way about XTB.

- [Is there an official Python library for XTB?](https://openbrokerapi.com/answers/python-library) (not recorded here)
- [Does XTB have an MCP server?](https://openbrokerapi.com/answers/mcp-server) (not recorded here)
- [What does the most referenced XTB error mean?](https://openbrokerapi.com/answers/error-codes) (not recorded here)

## Where to go next

- [The XTB API record in full: every field with its source](https://openbrokerapi.com/brokers/xtb)
- [Answers for every broker and platform API](https://openbrokerapi.com/answers)
- [Which retail brokers have a public trading API?](https://openbrokerapi.com/answers/has-an-api)
- [Which broker APIs have a demo environment?](https://openbrokerapi.com/answers/demo-api)
- [What are the rate limits of each broker API?](https://openbrokerapi.com/answers/rate-limits)
- [How does each broker API authenticate?](https://openbrokerapi.com/answers/authentication)
- [Which broker APIs stream prices?](https://openbrokerapi.com/answers/streaming)
- [Which broker APIs have an official Python library?](https://openbrokerapi.com/answers/python-library)
- [Which broker APIs have an MCP server?](https://openbrokerapi.com/answers/mcp-server)
- [What does each API's most referenced error mean?](https://openbrokerapi.com/answers/error-codes)
- [Axi API: questions and answers](https://openbrokerapi.com/answers/axi)
- [Bitget API: questions and answers](https://openbrokerapi.com/answers/bitget)
- [Capital.com API: questions and answers](https://openbrokerapi.com/answers/capital-com)
- [CMC Markets API: questions and answers](https://openbrokerapi.com/answers/cmc-markets)
- [Deriv API: questions and answers](https://openbrokerapi.com/answers/deriv)
- [Dukascopy API: questions and answers](https://openbrokerapi.com/answers/dukascopy)
- [eToro API: questions and answers](https://openbrokerapi.com/answers/etoro)
- [Exness API: questions and answers](https://openbrokerapi.com/answers/exness)
- [FOREX.com API: questions and answers](https://openbrokerapi.com/answers/forex-com-city-index)
- [FXCM API: questions and answers](https://openbrokerapi.com/answers/fxcm)
- [FxPro API: questions and answers](https://openbrokerapi.com/answers/fxpro)
- [IG API: questions and answers](https://openbrokerapi.com/answers/ig)
- [Interactive Brokers API: questions and answers](https://openbrokerapi.com/answers/ibkr)
- [OANDA API: questions and answers](https://openbrokerapi.com/answers/oanda)
- [Pepperstone API: questions and answers](https://openbrokerapi.com/answers/pepperstone)
- [Saxo API: questions and answers](https://openbrokerapi.com/answers/saxo)
- [Swissquote API: questions and answers](https://openbrokerapi.com/answers/swissquote)
- [ThinkMarkets API: questions and answers](https://openbrokerapi.com/answers/thinkmarkets)
- [Tickmill API: questions and answers](https://openbrokerapi.com/answers/tickmill)
- [Trading 212 API: questions and answers](https://openbrokerapi.com/answers/trading-212)

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: XTB API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/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.
