Get average taxable income by postcode
ATO Taxation Statistics. Mean and median taxable income per Australian postcode.
Steps
- 1Call the endpoint.
- 2Iterate postcodes.
Code
cURL
curl https://api.ausdata.io/v1/ato/income-by-postcode \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/ato/income-by-postcode",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/ato/income-by-postcode", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- ATO suppresses small-cell postcodes for privacy. Expect nulls in remote areas.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key