Subscribe to RBA cash rate changes
Use Pulse webhooks to receive a signed POST when the RBA Board changes the cash rate. No polling.
Steps
- 1Create a Pulse subscription for series rba.f1.1.
- 2Verify the HMAC-SHA256 signature on each webhook.
- 3Process the new observation.
Code
cURL
curl https://api.ausdata.io/v1/pulse/subscriptions \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/pulse/subscriptions",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/pulse/subscriptions", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Pulse fires on every new observation, including unchanged readings.
- Verify the signature before trusting the payload.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key