Getting Started
There are some preliminary steps before you can start using the StoneX API.
- Contact your account provider to obtain the API terms and conditions, which must be signed and returned. Together with the signed T&Cs, supply the following information:
- Programming expertise and experience.
- The programming language you intend to use.
- The desired end result / goal you are trying to achieve with the API.
- Estimate of the trade volume and frequency you will be putting through the API.
- Should your application for API access be accepted, an API key will be emailed to you. The API key is a unique identifier required to use the API.
- You are now ready to start using the API. Read the documentation on this site, and where required seek assistance on the API forum.
StoneX API Environments
The StoneX API is hosted on two StoneX environments: "Live" and "Pre-Production". Most users will access the StoneX API on the Live environment, but depending upon the user type and circumstances some users may have access to the StoneX API on Pre-Production.
Note: an account in one environment cannot be used in the other environment. For example, a Live account only works in the Live environment and is unrecognised in Pre-Production.
The access URLs to the StoneX API for the two environments are:
Live Environment
StoneX API - https://ciapi.cityindex.com/tradingapi/
Live Prices Streaming - https://push.cityindex.com/
Pre-Production Environment
StoneX API - https://ciapipreprod.cityindextest9.co.uk/TradingApi
Pre-Prod Prices Streaming - https://pushpreprod.cityindextest9.co.uk
Last updated: 23 July 2024
![]() |
Copyright © 2025 StoneX