skillfed

massive

Official Massive (formerly Polygon.io) REST and Websocket client.

massive v2.8.0 280.3K downloads/30d#8,113 on PyPI1,496
Permissive license MIT Active released

What it is and what it does

Massive is the official Python client for the Massive (formerly Polygon.io) market data platform, rebranded on October 30, 2025. It provides both REST and WebSocket interfaces to fetch stock trades, quotes, aggregated bars, and options chain data. The package wraps HTTP calls via urllib3 and WebSocket connections via websockets, handling authentication, pagination, and filtering transparently so you can focus on querying market data rather than managing API details.

The REST client supports automatic pagination by default, fetching all results across pages unless you disable it; it also exposes filter operators (.gt, .gte, .lt, .lte) for refining queries. The WebSocket client streams real-time tick data to a handler function you define. Both clients require an API key from Massive.com and support debug tracing to inspect requests and responses. The package targets Python 3.9 through 3.14 and is actively maintained, with the rebranding preserving backward compatibility so existing integrations continue to work.

Use it for:

  • Fetch historical OHLC bars and trade ticks for backtesting trading strategies or analyzing historical price patterns.
  • Stream real-time trades and quotes via WebSocket for live market monitoring or algorithmic trading systems.
  • Query options chains with strike price and expiration filters to analyze option pricing and volatility surfaces.
  • Build financial dashboards that display last trade, last quote, and aggregate data for multiple tickers.
  • Retrieve tick-level data for a specific date to audit fills or reconstruct intraday market microstructure.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Official Python client for Massive's REST and WebSocket APIs, providing access to real-time and historical market data including trades, quotes, aggregates, and options chains.

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. Install it if you need programmatic access to Massive's market data APIs; the REST and WebSocket clients are straightforward to use and handle pagination and filtering for you. The main gotcha is that you must obtain an API key and be aware of free-tier rate limits.

Install

massive on PyPI

pip

pip install massive

uv

uv add massive

poetry

poetry add massive

Installing massive

Before you install

Low friction installation with three lightweight runtime dependencies (certifi, urllib3, websockets). Active maintenance with recent releases; last commit 2026-07-09 and 1496 repository stars indicate ongoing development and community engagement.

License in practice

MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install massive

from massive import RESTClient

client = RESTClient(api_key="<API_KEY>")
trades = [t for t in client.list_trades(ticker="AAPL", timestamp="2022-01-04")]

Requires Python 3.9 or higher; API key from Massive.com dashboard required to authenticate requests.

Verify before relying

  • Rate limit behavior and free tier usage constraints beyond the general mention of 'usage limitations'.
  • Exact pagination defaults and whether all list_* methods support the pagination parameter.
  • WebSocket reconnection and error-handling guarantees under network disruption.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — certifi, urllib3, websockets
Maintenance actively maintained — 80 days since the last release
Last repo commit
First released
Downloads 280,289/month — #8,113 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: massive-2.8.0-py3-none-any.whl

Keywords: massive, free, rest, stock, market, data, api, massive.com, websocket, client

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

stock market data api clientreal-time trading data pythonwebsocket market data feedrest api financial datapolygon massive clientoptions chain datatick data streaming
market-datawebsocket-streamingfinancial-api

More WWW/HTTP packages