Logo
APILayer API Documentation

Marketstack

Number of APIs: 28


Easy-to-use REST API interface delivering worldwide stock market data in JSON format.

Quickstart Guide

Step 1: Fork the collection

To get started quickly, you need to fork the Marketstack Qodex Collection. Simply click the button below to fork it.

[]

Step 2: Get your API Access Key

  1. Go to the Marketstack website and choose the right subscription plan for your particular project.

  2. Get your personal API Access Key on the Dashboard to authenticate with the API. Keep it safe! You can reset it at any time in your Account Dashboard.

Step 3: Make your first API call

Marketstack Qodex collection contains all the endpoints supported by Marketstack API.

  1. End-of-Day Data

  2. Intraday Data

  3. Real-Time Updates

  4. Historical Data

  5. Splits Data

  6. Dividends Data

  7. Tickers

  8. Exchanges

  9. Currencies

  10. Timezones

We recommend you to start with the End-of-Day Data endpoint as it's primary endpoint. It is used to obtain end-of-day data for one or multiple stock tickers. A single or multiple comma-separated ticker symbols are passed to the API using the symbols parameter.


1. v1-End-of-Day Data - Market Indices

GET https://api.marketstack.com/v1/eod?symbols=DJI.INDX



2. v1-Intraday Data - Intraday Data

GET https://api.marketstack.com/v1/intraday?symbols=AAPL



3. v1-Real-Time Updates - Real-Time Updates

GET https://api.marketstack.com/v1/intraday?symbols=AAPL&interval=1min



4. v1-Historical Data - Historical Data

GET https://api.marketstack.com/v1/eod?symbols=AAPL&date_from=2024-02-26&date_to=2024-03-07



5. v1-Splits Data - Splits Data

GET https://api.marketstack.com/v1/splits?symbols=AAPL



6. v1-Dividends Data - Dividends Data

GET https://api.marketstack.com/v1/dividends?symbols=AAPL



7. v1-Tickers - Tickers

GET https://api.marketstack.com/v1/tickers



8. v1-Exchanges - Exchanges

GET https://api.marketstack.com/v1/exchanges



9. v1-Currencies - Currencies

GET https://api.marketstack.com/v1/currencies



10. v1-Timezones - Timezones

GET

API Documentation

ENDPOINTS