Get the AUD to USD exchange rate history
RBA daily F11 exchange rates. AUD against USD, EUR, JPY, CNY, and TWI.
Steps
- 1Call /v1/data/rba/f11.
- 2Filter by pair.
Code
cURL
curl https://api.ausdata.io/v1/data/rba/f11 \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/data/rba/f11",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/data/rba/f11", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- RBA publishes the 4pm Sydney rate. It will differ from interbank closes.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key