REST API

What is REST API?

REST API is an ultra-flexible web-based API that makes use of a WebSocket connection. Traders and developers can utilize the API by retrieving historical data for backtesting, receive real-time market data updates, and place trades. Calls can be made in any language that supports a standard HTTP, and with the use of the socket.io library, the API is able to push data in JSON format.

Why REST API?

FXCM’s REST API can easily be integrated using popular programming languages like Python and JavaScript. This new API also makes use of the new OAuth 2.0 specification that handles authentication via token. This secure method of accessing the API allows more flexibility with web applications, mobile devices, and desktop platforms.

Getting Started

 

 

 

 

 

 

 


Risk Warning: The FXCM Group does not guarantee accuracy and will not accept liability for any loss or damage which arise directly or indirectly from use of or reliance on information contained within the webinars. The FXCM Group may provide general commentary which is not intended as investment advice and must not be construed as such. FX/CFD trading carries a risk of losses in excess of your deposited funds and may not be suitable for all investors. Please ensure that you fully understand the risks involved.