You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the official Python client library for the [Massive](https://massive.io/) REST and WebSocket API. To get started, please see the [Getting Started](https://massive.io/docs/stocks/getting-started) section in our documentation, view the [examples](./examples/) directory for code snippets.
5
4
6
-
Welcome to the official Python client library for the [Polygon](https://polygon.io/) REST and WebSocket API. To get started, please see the [Getting Started](https://polygon.io/docs/stocks/getting-started) section in our documentation, view the [examples](./examples/) directory for code snippets, or the [blog post](https://polygon.io/blog/polygon-io-with-python-for-stock-market-data/) with video tutorials to learn more.
5
+
**Note:** Polygon.io has rebranded as [Massive.com](https://massive.com) on Oct 30, 2025. Existing API keys, accounts, and integrations continue to work exactly as before. The only change in this SDK is that it now defaults to the new API base at `api.massive.com`, while `api.polygon.io` remains supported for an extended period.
6
+
7
+
For details, see our [rebrand announcement blog post](https://massive.com/blog/polygon-is-now-massive/) or open an issue / contact [[email protected]](mailto:[email protected]) if you have questions.
7
8
8
9
## Prerequisites
9
10
10
-
Before installing the Polygon Python client, ensure your environment has Python 3.9 or higher.
11
+
Before installing the Massive Python client, ensure your environment has Python 3.9 or higher.
11
12
12
13
## Install
13
14
14
15
Please use pip to install or update to the latest stable version.
15
16
```
16
-
pip install -U polygon-api-client
17
+
pip install -U massive
17
18
```
18
19
19
20
## Getting started
20
21
21
-
To get started, please see the [Getting Started](https://polygon-api-client.readthedocs.io/en/latest/Getting-Started.html) section in our docs, view the [examples](./examples) directory for code snippets, or view the [blog post with videos](https://polygon.io/blog/polygon-io-with-python-for-stock-market-data/) to learn more.
22
+
To get started, please see the [Getting Started](https://massive.io/docs/stocks/getting-started) section in our docs, view the [examples](./examples) directory for code snippets.
22
23
23
-
The free tier of our API comes with usage limitations, potentially leading to rate limit errors if these are exceeded. For uninterrupted access and to support larger data requirements, we recommend reviewing our [subscription plans](https://polygon.io/pricing), which are tailored for a wide range of needs from development to high-demand applications. Refer to our pricing page for detailed information on limits and features to ensure a seamless experience, especially for real-time data processing.
24
+
The free tier of our API comes with usage limitations, potentially leading to rate limit errors if these are exceeded. For uninterrupted access and to support larger data requirements, we recommend reviewing our [subscription plans](https://massive.io/pricing), which are tailored for a wide range of needs from development to high-demand applications. Refer to our pricing page for detailed information on limits and features to ensure a seamless experience, especially for real-time data processing.
24
25
25
26
## REST API Client
26
27
Import the RESTClient.
27
28
```python
28
-
frompolygonimport RESTClient
29
+
frommassiveimport RESTClient
29
30
```
30
-
Create a new client with your [API key](https://polygon.io/dashboard/api-keys)
31
+
Create a new client with your [API key](https://massive.io/dashboard/api-keys)
31
32
```python
32
33
client = RESTClient(api_key="<API_KEY>")
33
34
```
@@ -147,8 +148,8 @@ When debug mode is enabled, the client will print out useful debugging informati
147
148
For instance, if you made a request for `TSLA` data for the date `2023-08-01`, you would see debug output similar to the following:
0 commit comments