Get the current NEM electricity demand
AEMO five-minute regional demand in MW.
Steps
- 1Call /v1/energy/demand.
- 2Iterate by region.
Code
cURL
curl https://api.ausdata.io/v1/energy/demand \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/energy/demand",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/energy/demand", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Demand excludes rooftop solar. AEMO reports operational demand only.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key