Get a full Census suburb profile
Median age, income, household size, dwelling tenure, and country of birth for any SA2.
Steps
- 1Pass sa2_code as path param.
- 2Read the structured profile.
Code
cURL
curl https://api.ausdata.io/v1/census/profile/{sa2} \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/census/profile/{sa2}",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/census/profile/{sa2}", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Small SA2s may suppress income fields to protect privacy.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key