The gridstatus open source library is a Python library maintained by Grid Status that provides a consistent API for accessing raw electricity supply, demand, and pricing data for the major Independent System Operators (ISOs) in the United States and Canada. It currently supports data from CAISO, SPP, ISONE, MISO, ERCOT, NYISO, PJM, IESO, AESO, and the EIA.
GridStatus.io and Hosted API
This library provides minimally-processed data. If you need production-ready data, consider using our hosted API or visit GridStatus.io to see the data in a web interface.
If you are trying to use our hosted API, you might want to check out the gridstatusio library.
Community
- Need Help? Post a GitHub issue
- Want to stay updated? Follow us on
- Read our blog
- Want to contribute? Read our Contributing Guide
Installation
gridstatus supports python 3.11+. Install with uv
uv pip install gridstatus
Upgrade using the following command
uv pip install --upgrade gridstatus
Environment Variables
- Some parsers require the use of environment variables
- See .env.template for the required environment variables
- Environment variables can be set in the following ways
- In a
.envfile in the root of the project - In the environment where the code is run
- In a
Documentation and Examples
To learn more, visit the documentation and view example notebooks.
Get Help
We'd love to answer any usage or data access questions! Please let us know by posting a GitHub issue.
Metadata
Release files for gridstatus 0.36.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gridstatus-0.36.0.tar.gz | 3.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gridstatus-0.36.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.7 MB
Release files / gridstatus-0.36.0.tar.gz
| Download URL | gridstatus-0.36.0.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcf79450eb3c671a21d121e3047388227364f3650c9863a6a02355e1873b3d2d
|
|
BLAKE2b-256 checksum How to use checksums |
c9461eff7457d531f1e6c97d19a87a8118154e8382ac19af7d81a3f161d6adf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.
Transparency logRelease files / gridstatus-0.36.0-py3-none-any.whl
| Download URL | gridstatus-0.36.0-py3-none-any.whl |
|---|---|
| Size | 551.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e415f80de0f3700ae0c54ba005493209e3ada773ea6a8942127d91a644c8d7dc
|
|
BLAKE2b-256 checksum How to use checksums |
2861eee5393a0f4a31fb11e7a1b6ca779bce12e9b18ac89afb0381fc1a4cbf62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.
Transparency log