--- id: massive version: "2.8.0" license: MIT license_treatment: permissive maintenance: active --- # massive — Official Massive (formerly Polygon.io) REST and Websocket client. License: permissive · Maintenance: active · Downloads: 280.3K/mo ## 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 above — 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 pip install massive uv add massive 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="") 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_current - Install friction: low - Maintenance: active - Downloads: 280.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags stock market data api client, real-time trading data python, websocket market data feed, rest api financial data, polygon massive client, options chain data, tick data streaming, market-data, websocket-streaming, financial-api [View on SkillFed](https://skillfed.io/packages/massive) · [View on PyPI](https://pypi.org/project/massive/)