Broker API
XTB API: questions and answers
5 questions about the XTB API, each answered from the XTB record on this site and nothing else.
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.
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.
XTB help centre: Does XTB offer investment automation tools?checked
Does XTB have a demo or paper trading API?
No.
XTB help centre: Does XTB offer investment automation tools?checked
The XTB record's full wording. The same question for every record.
What are XTB's API rate limits?
Not applicable. No live API, so no published limits apply. Last looked for 9 Oct 2026.
XTB help centre: Does XTB offer investment automation tools?checked
XTB API rate limits, as the record words them. The same question for every record.
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.
XTB help centre: Does XTB offer investment automation tools?checked
The XTB record's full wording. The same question for every record.
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.
XTB help centre: Does XTB offer investment automation tools?checked
The XTB record's full wording. The same question for every record.
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? Not recorded here
- Does XTB have an MCP server? Not recorded here
- What does the most referenced XTB error mean? Not recorded here
Where to go next
- The XTB API record in full: every field with its source
- Answers for every broker and platform API
- Which retail brokers have a public trading API?
- Which broker APIs have a demo environment?
- What are the rate limits of each broker API?
- How does each broker API authenticate?
- Which broker APIs stream prices?
- Which broker APIs have an official Python library?
- Which broker APIs have an MCP server?
- What does each API's most referenced error mean?
Other brokers
In order of name. The order is not a ranking.