Get the NEM generation mix by fuel type

Current MW dispatch by fuel: coal, gas, hydro, wind, solar, battery.

Steps

  1. 1Call /v1/energy/generation-mix.
  2. 2Read mw by fuel.

Code

cURL
curl https://api.ausdata.io/v1/energy/generation-mix \
  -H "Authorization: Bearer YOUR_KEY"
Python
import requests
r = requests.get(
    "https://api.ausdata.io/v1/energy/generation-mix",
    headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())
JavaScript
const r = await fetch("https://api.ausdata.io/v1/energy/generation-mix", {
  headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());

Watch out for

  • Rooftop solar is modelled, not metered. AEMO publishes estimated values.

Related

Try it now

500 free calls per month. No credit card.

Get a free API key