Jump to content
Sign in to follow this  

marketid list

Recommended Posts



There is intentionally no way to retrieve a list of all markets - seeing as there are around 20,000 you wouldn't want to anyway!


Depending upon what you are trying to achieve, there are a couple of ways to proceed.


Searching for a few specific markets.

Use the ListMarketSearch call (http://docs.labs.cityindex.com/#HTTP Services/ListMarketSearch.htm%3FTocPath%3DCIAPI%2520Reference%7CHTTP%2520Services%7CMarket%7C_____4) to search for the markets you are after. The results returned include the name of the market and the marketid.


Note: search for currency markets as "USD JPY" or "GBP USD". Do not use the "/" format in the name. 



Searching for markets within a particular category or "tag" such as FX, Commodities, GB Equities etc.

Use SearchWithTags command (http://docs.labs.cityindex.com/#HTTP Services/SearchWithTags.htm%3FTocPath%3DCIAPI%2520Reference%7CHTTP%2520Services%7CMarket%7C_____6) using the TagId parameter as 80. This is the ID for FX. Market Tag IDs are listed at http://docs.labs.cityindex.com/#MarketTagIDs.htm%3FTocPath%3DGetting%2520Started%7CLookup%2520Values%7C_____2.



Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this