$npx skillfedfor your agent

polygon-api-client

Official Polygon.io REST and Websocket client.

Worth itPyPI WWW/HTTPReleased Oct 2025793.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — polygon_api_client-1.16.3-py3-none-any.whl
v1.16.3 · released 2025-10-30 · Python <4.0,>=3.9 · 3 runtime deps: urllib3, websockets, certifi

Yes. The package has low install friction, active maintenance, no known vulnerabilities, permissive licensing, and broad Python version support. It is the official client for a widely-used financial data API, making it the natural choice if you need Massive market data in Python. The main constraint is needing a valid API key and accepting the free tier's rate limits.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Massive API key.
  • API free tier has usage limitations and may trigger rate limits.
  • Low install friction with only three runtime dependencies (urllib3, websockets, certifi).

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2025-10-30 (288 days) · last repo commit 2026-07-09 · 1,496 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 793,154 downloads/mo, #5,043 on PyPI

Verify before relying

pip install -U massive

from polygon_api_client import RESTClient

client = RESTClient(api_key="<API_KEY>")
trades = [t for t in client.list_trades(ticker="AAPL", timestamp="2022-01-04")]
  • Exact rate limit thresholds and behavior under free tier usage.
  • WebSocket reconnection and error handling behavior in production scenarios.
  • Performance characteristics when fetching very large historical datasets.
  • Whether import path is 'polygon_api_client' or 'massive' in current version.
Same gist for agents: .md · .json

What it is and what it does

This is the official Python client for Massive (rebranded from Polygon.io on October 30, 2025), providing both REST and WebSocket interfaces to financial market data. The REST client handles stock trades, quotes, aggregates (OHLCV bars), and options chains with automatic pagination by default, while the WebSocket client streams real-time tick data for subscribed symbols. The library abstracts away connection management, pagination logic, and API authentication, letting you focus on data retrieval.

The package depends on urllib3 for HTTP requests, websockets for real-time connections, and certifi for SSL certificate validation. It supports Python 3.9 and newer, with no system-level compiled dependencies. Pagination is enabled by default for list endpoints, meaning the limit parameter controls page size rather than total results—you can disable this if you need a fixed result count. The client includes debug mode for inspecting request and response details.

Use it for

  • Fetch historical stock trades and quotes for backtesting trading strategies or analyzing market microstructure.
  • Stream real-time tick data via WebSocket for live trading systems or market monitoring dashboards.
  • Query options chains with filter parameters for options analysis and research.
  • Build data pipelines that aggregate OHLCV bars at various timeframes for technical analysis.
  • Retrieve last trade and quote snapshots for current market price lookups in applications.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package has low install friction, active maintenance, no known vulnerabilities, permissive licensing, and broad Python version support. It is the official client for a widely-used financial data API, making it the natural choice if you need Massive market data in Python. The main constraint is needing a valid API key and accepting the free tier's rate limits.

Install

polygon-api-client on PyPI

Before you install

Low install friction with only three runtime dependencies (urllib3, websockets, certifi). Actively maintained with recent commits and 1496 repository stars. Supports Python 3.9 through 3.14.

Requires a Massive API key. API free tier has usage limitations and may trigger rate limits.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install -U massive

from polygon_api_client import RESTClient

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

Verify before relying

  • Exact rate limit thresholds and behavior under free tier usage.
  • WebSocket reconnection and error handling behavior in production scenarios.
  • Performance characteristics when fetching very large historical datasets.
  • Whether import path is 'polygon_api_client' or 'massive' in current version.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
urllib3websocketscertifi
MaintenanceActively maintained 288 days since the last release
Last repo commit
First released
Downloads793,154 / month, #5,043 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

Evidence: polygon_api_client-1.16.3-py3-none-any.whl

Tags

Capabilities
stock market data api clientpolygon.io python clientwebsocket real-time market datarest api financial datatrade quote aggregate dataoptions chain apimassive.com python sdk
Topics
financial-datawebsocketmarket-data
PyPI keywords
polygonfreereststockmarketdataapipolygon.iowebsocketclient

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “polygon.io python client”

  • polygon-api-clientProvides REST and WebSocket client libraries for accessing Massive…
  • massiveOfficial Python client for Massive's REST and WebSocket APIs,…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also massive · longbridge · coinbase-advanced-py · python-kraken-sdk · py-clob-client · sec-api · finnhub-python · binance-connector · yfinance · yahooquery