Intro

The Market data API tracks stocks listed in the S&P 500 or NASDAQ.

It provides end of day price data from 2000 onwards.

New Feature: Use the range parameter for efficient server-side filtering. This automatically optimizes data points based on the time period you need, reducing bandwidth and improving performance.

Authorization

Authorization is done using Authorization header with Bearer token.

Price

example: http://apiii.online/api/market-data/v1/historical-prices?symbol=AAPL&range=year

Params

ParamRequiredTypeDescription
symboltruestringStock symbol
rangefalsestring Predefined time ranges for efficient filtering:
all - Last 10 years (monthly data points)
5years - Last 5 years (monthly data points)
year - Last 1 year (every 3rd day)
month - Last 1 month (daily data points)
Default: 5years
fromfalsestring Date in format: YYYY-MM-DD
Default: 1 year ago
tofalsestringDate in format: YYYY-MM-DD

Examples

Using range parameter (recommended):

http://apiii.online/api/market-data/v1/historical-prices?symbol=AAPL&range=year

Using from/to parameters:

http://apiii.online/api/market-data/v1/historical-prices?symbol=AAPL&from=2023-01-01&to=2024-01-01

Range Parameter Examples

Returns

Dividend

example: http://apiii.online/api/market-data/v1/dividend?symbol=AAPL

Params

ParamTypeDescription
symbolstringStock symbol

Returns