API DOCUMENTATION

INFORMATION FOR XTB CLIENTS ONLY

In order to gain access to the xAPI service, a new DNS address has been created. From now on, you can use the new DNS address: xapi.xtb.com. DNS addresses already in force (xapia.x-station.eu and xapib.x-station.eu) will remain active until June 8, however we encourage you to use the new address right now. For customers who use the WebSocket interface, a new URL has been created: wss://ws.xtb.com, which will replace the existing address wss://ws.xapi.pro.
Detailed information can be found on: Communication with the API

Current version:

xAPI Documentation (v.2.5.0)VIEW ONLINE

The application programming interface (API) allows end users and third parties to build fast, scalable trading applications for desktop and server deployment. X OpenHub API - xAPI is meticulously optimized, resulting in the lowest latency and highest throughput API available on the market. Both are available at no cost!

Test trading accountCREATE