Polygon Historical Chart Prices - Data API Endpoint

Historical Chart Prices by date (from), date (to), ticker, api key, unadjusted, multiplier, timespan and limit.

Get bulk Historical Chart Prices data from the Polygon API | Official API: https://polygon.io | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Date (From) from_date Required

Starting date.

E.g. 2020-01-01
Date (To) to_date Required

Ending Date for data.

E.g. 2022-01-01
Ticker ticker Required

Ticker to get the company details for.

API Key api_key Required

Your Polygon.io API Key Available here: https://polygon.io/dashboard/api-keys

Unadjusted unadjusted Optional

Whether or not the results are adjusted for dividends, splits, etc.. Set this to true to get results that are NOT adjusted for splits – you probably want this if you are doing backtesting and want to train using the actual price at that date and time.

Multiplier multiplier Default 1

Timespan multiplier.

Timespan timespan Default day

Timespan for each result. Possible values are:

  • minute
  • hour
  • day
  • week
  • month
  • quarter
  • year
Limit limit Optional

How many results to return, max is 50000 - note the API does NOT offer pagination, so you’ll need to tweak start / end times and the interval to get as much data as you need over multiple requests.

📝 Notes

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://api.polygon.io/v2/aggs/ticker/{{ticker}}/range/{{multiplier}}/{{timespan}}/{{from_date}}/{{to_date}}?apiKey={{ api_key }}&limit=50000&unadjusted={{ unadjusted }}