Pull the full RBA cash rate history
Fetch every cash rate decision since 1990 as a flat JSON array. Useful for charts, backtests, and discount-rate models.
Steps
- 1Call /v1/data/rba/f1.1 with no limit.
- 2Iterate the observations array.
- 3Each row has date and value.
Code
cURL
curl https://api.ausdata.io/v1/data/rba/f1.1 \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/data/rba/f1.1",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/data/rba/f1.1", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Pre-1990 values come from a different RBA methodology and are not included.
- Decisions before 1998 happened irregularly. Do not assume monthly cadence.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key