Skip to content

How can you access our API and what are its advantages?

Overview

FCLite is a PULL web service API that allows you to trade on the financial markets using a simple and powerful interface. Whether you are a developer, a trader, or an investor, FCLite can help you access and execute trading operations on various instruments, such as stocks, forex, commodities, and cryptocurrencies. This article will explain how to obtain the access details needed to log into the system. After reading it, it will be easier for you to choose an appropriate method.

Getting Access

To access our API, you need to follow these steps:

  • Register for a free account on our website here.
    • Username and Password: This method is the simplest. You enter data into the form - and get access to the API.
  • Generate an API key and a secret key from your account dashboard.
    • JWT Token: You don't need a session to manage. The JWT is a self contained token which has authetication information, expire time information, and other user defined claims digitally signed. A single token can be used with multiple backends. No Cookies Required, So It's Very Mobile Friendly. It reduces the network round trip time.
  • Contact api@fxcm.com to get an OAuth token
    • OAuth Token: By integrating with our OAuth2 solution, you can an OAuth Token which can then be used to get JWTs for clients.
  • Download and install the FCLite SDK for your application using the instructions in our documentation here.
  • Use the SDK to create and run your custom applications, scripts, and strategies.

Mode information about getting access can be found here.

Some of the advantages of using our API are:

  • Direct connectivity to FXCM backend's system, which eliminates delays and increases the reliability of trading operations.
  • Pull architecture, which means that the client initiates the requests and the server responds with the data. This gives the client more control over the data flow and allows it to request only the data that it needs.
  • Caching and compression, which reduce the bandwidth and latency of the requests and responses.
  • Simple and consistent interface, which provides a comprehensive set of classes and interfaces that cover all aspects of trading, such as accounts, instruments, orders, positions, prices, margins, rollovers, and more.
  • Support popular programming languages, including Swift, and all instruments offered by FXCM. If you want to learn more about FCLite, continue reading our documentation. You can also contact us at api@fxcm.com if you have any questions or feedback. We would love to hear from you.
Table of Contents
Trading Concepts
An introduction to the fundamental concepts of Forex trading
What is an API and how does it work
This article explains what APIs are and how they work
What are the different types of APIs and how are they used for trading
This article describes the different types of APIs
How can you access our API and what are its advantages
This article explains how to get access to our API
How can you use our API to implement trading strategies and algorithms
This article explains how you canuse our API
Trading Commissions
This article describes commissions that may be charged by a brokerage.
Session Statuses
The article describes session statuses.