Broker API HubMenu

Platform APIs only

XTB API: closed since 14 Mar 2025

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

Independent and unofficialNewest reading Official documentation

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.

Access, authentication and streaming

API types listed in the record: Socket/WebSocket xAPI (closed).

How you get a key

None. XTB no longer offers API access.

XTB help centre: Does XTB offer investment automation tools?checked

Who can use it

Not available.

XTB help centre: Does XTB offer investment automation tools?checked

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.

XTB help centre: Does XTB offer investment automation tools?checked

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.

XTB help centre: Does XTB offer investment automation tools?checked

History depth

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

XTB help centre: Does XTB offer investment automation tools?checked

Rate limits, as worded

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: questions and answers

Each answer is read from the record on this page, not written separately. Where the record is unverified, the answer says so.

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

Who can use the XTB API?

Not available.

XTB help centre: Does XTB offer investment automation tools?checked

XTB API demo: is there a demo or sandbox?

No.

XTB help centre: Does XTB offer investment automation tools?checked

What are the XTB 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

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.

XTB help centre: Does XTB offer investment automation tools?checked

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.

XTB help centre: Does XTB offer investment automation tools?checked

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.

XTB help centre: Does XTB offer investment automation tools?checked

XTB API questions, each answered in a sentence or two.

The capability tables read one feature at a time across every broker and platform record, XTB included.

Everything this site records for XTB, as one JSON file. Each section of the file states its own licence. About the files. This page as Markdown.

What changed recently for the XTB API

Every dated change, all brokers and platforms. Follow XTB changes by RSS

Partner programme

No published figure. The XTB partner programme record. The programme register holds every record. This site carries no affiliate links.

How to cite this

XTB API: closed since 14 Mar 2025. Broker API Hub, https://openbrokerapi.com/brokers/xtb, newest check .

Where you rely on a single figure, cite the source and the checked date printed beside it as well.

Sections