Axonn
Python client for the Axonn energy market data API.
Install
pip install axonn
Quick Start
import axonn
client = axonn.Client("ak_...")
prices = client.prices("ERCOT")
print(prices.data)
Or use the AXONN_API_KEY environment variable:
import axonn
client = axonn.Client() # reads AXONN_API_KEY
prices = client.prices("CAISO", zone="SP15")
The client also works as a context manager:
with axonn.Client() as client:
prices = client.prices("PJM")
Features
- Real-time LMP prices from 7 US ISOs (ERCOT, PJM, CAISO, MISO, NYISO, SPP, ISO-NE)
- FERC filings search (932+ tracked)
- Interconnection queue (12K+ projects)
- Battery storage pipeline tracking
- Commodity prices (Henry Hub, WTI, TTF, EUA)
- EU market data (8 countries)
- Site analysis (solar, wind, risk, incentives)
- Structured data extraction from URLs/PDFs
All Methods
US Market Data
| Method | Description |
|---|---|
client.prices(iso, zone, market, start, end) |
Get LMP prices for a US ISO |
client.generation(iso, date, fuel_type) |
Get generation mix by fuel type |
client.load(iso, area, date) |
Get demand/load data |
client.filings(source, category, q, start, end, limit, offset) |
Search FERC filings |
client.filing_text(filing_id) |
Get full text of a filing |
client.queue(iso, fuel_type, status, min_mw, state, limit, offset) |
Search interconnection queue |
client.bess(iso, status, min_mw, state, limit, offset) |
Get battery storage pipeline |
client.grid(area_id, date) |
Get EIA grid monitor data |
client.commodities(symbol) |
Get commodity prices (all or single symbol) |
Site Analysis
| Method | Description |
|---|---|
client.weather(country, date) |
Wind speed and solar radiation forecast |
client.carbon(region) |
Grid carbon intensity (US ISO or EU country) |
client.capacity_prices(iso) |
Capacity market clearing prices |
client.ancillary_services(iso, date) |
Ancillary service prices (regulation, reserves) |
client.disaster_risk(lat, lon) |
Multi-hazard disaster risk for a US location |
client.incentives(state) |
Federal and state renewable energy incentives |
client.retail_rates(state, sector) |
Retail electricity rates by state |
client.solar_wind(lat, lon) |
NREL solar irradiance and wind speed data |
client.hosting_capacity(utility, lat, lon) |
Distribution grid hosting capacity |
client.datacenter_load(region) |
Data center energy load by region |
EU Market Data
| Method | Description |
|---|---|
client.eu_prices(country, date) |
European day-ahead prices |
client.eu_generation(country, date) |
European generation mix |
client.grid_capacity(country) |
EU transmission grid capacity |
Extraction & Analysis
| Method | Description |
|---|---|
client.extract(url, schema, custom_fields, render_js) |
Extract structured data from any URL or PDF |
client.extract_schemas() |
List available extraction schemas |
client.compliance(state, category, q, limit, offset) |
Search state PUC compliance filings |
client.compliance_filing(filing_id) |
Get a single compliance filing with full data |
client.site_analysis(lat, lon, state) |
Composite site assessment (solar, wind, risk, incentives, carbon) |
Error Handling
from axonn.exceptions import AuthError, RateLimitError, NotFoundError, AxonnError
try:
data = client.prices("ERCOT")
except AuthError:
print("Invalid API key")
except RateLimitError:
print("Slow down")
except NotFoundError:
print("Resource not found")
except AxonnError as e:
print(f"API error [{e.code}]: {e.message}")
Links
- Docs: https://axonnpower.com/docs
- API Reference: https://api.axonnpower.com/docs
- Repository: https://github.com/axonnpower/axonn-python
Metadata
Release files for axonn-power 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| axonn_power-0.1.0.tar.gz | 6.3 kB | Without provenance | Details for axonn_power-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| axonn_power-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for axonn_power-0.1.0-py3-none-any.whl |
Total release size: 14.0 kB
Release files / axonn_power-0.1.0.tar.gz
| Download URL | axonn_power-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
614220fc54b2a2710b00c72ce6c09212ba3caa0cec80f082fc26deaf20467bbc
|
|
BLAKE2b-256 checksum How to use checksums |
165e0a634e015795439d5652735813642ea505fc14bcaaafe2c1d63c5bf2eb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / axonn_power-0.1.0-py3-none-any.whl
| Download URL | axonn_power-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ae285d9777cf217192675ca09dea014bea66c0889c650053f954e6b338bd4a4
|
|
BLAKE2b-256 checksum How to use checksums |
c0f9e0434a8db0b76d46233687b6309de4d25cace25b5089f7734c0fb3f54e41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for axonn-power 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.