How to hit the Massive (formerly Polygon.io) API

Massive — Polygon.io's new name — serves market data at https://api.massive.com. The old api.polygon.io host still answers.

Authentication

Copy your key from the Massive dashboard and pass it as apiKey in the query string (or as a Bearer token). In the examples it's written {{MASSIVE_API_KEY}}.

Full reference: https://massive.com/docs/rest/quickstart

Previous day's bar

curl "https://api.massive.com/v2/aggs/ticker/AAPL/prev?apiKey={{MASSIVE_API_KEY}}"
Run in PostTaco

Daily bars over a range

curl "https://api.massive.com/v2/aggs/ticker/AAPL/range/1/day/2025-01-02/2025-01-10?apiKey={{MASSIVE_API_KEY}}"
Run in PostTaco

Ticker details

curl "https://api.massive.com/v3/reference/tickers/AAPL?apiKey={{MASSIVE_API_KEY}}"
Run in PostTaco