Get historical Australian temperature data

Daily max and min by BOM station, back to 1910 for ACORN-SAT sites.

Steps

  1. 1Pass station_id and date range.
  2. 2Read max_c, min_c.

Code

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

Watch out for

  • Some stations moved between sites. Use the homogenised ACORN-SAT series for long-run analysis.

Related

Try it now

500 free calls per month. No credit card.

Get a free API key