Unparalleled suite of productivity-boosting Web APIs & cloud-based micro-service applications for developers and companies of any size.

API

Migration Guide

Marketstack API Migration Guide

Everything you need to do in order to migrate from Marketstack API version 1 to version 2.

Obtain the list of Tickers.

Marketstack v1:

In your current version v1, if you need to get the list of tickers supported by Marketstack API, you have to make an API call to tickers endpoint and then map through the data object to get the names or symbols only.

GET https://api.marketstack.com/v1/tickers?access_key=YOUR_ACCESS_KEY

Marketstack v2:

We have got a new endpoint called List of Tickers that will get you a list of tickers available. A smaller JSON response will save your bandwidth and you can expect a faster response.

Note: You can still use the tickers endpoint to obtain the list of tickers but that’s not the ideal way to do that as we have now a new endpoint for that in version 2.

Sample Response

Market Indices

In version 1, to access index data, simply pass INDX as your stock exchange MIC identification, as seen in the examples below. The example API request below illustrates how to obtain end-of-day data for the DJI market index.

Version 2:

We have got a new endpoint called indexlist which will return the full list of supported benchmarks/indexes.

Response:

You can pass the index in the index required parameter in order to get the details of any particular index.

 

Related posts
API

Common Scenarios of Poor Phone Number Formatting in CRM Systems and How to Fix Them By Exporting Your Number Data to Google Sheets

APIJavascript

Reduce Failed Deliveries and Customer Support Costs in E-Commerce with Numverify and Zapier

API

Introducing Marketstack v2 API

APIAviation Data

The Role of APIs in Modernizing the Aviation Industry

Leave a Reply

Your email address will not be published. Required fields are marked *