Get the current NEM electricity spot price
Real-time wholesale electricity price by region from AEMO. 5-minute settlement.
Steps
- 1Call /v1/energy/nem-spot.
- 2Iterate by region.
Code
cURL
curl https://api.ausdata.io/v1/energy/nem-spot \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/energy/nem-spot",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/energy/nem-spot", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Prices are capped at AUD 17,500/MWh during scarcity. Plan dashboards for tall bars.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key