Relationship in household (detailed)
/v1/suburbs/{suburb_name}/area-stats/household-relationship-detailed5¢ per callRelationship in household: counts and shares for all 32 categories in every suburb.
Coverage: About 11,000 suburbs and localities across Australia, in all states and territories (suburbs with fewer than 50 residents are left out); one snapshot at 10 August 2021. Current to 2021-08-10. Full description, field list and method: /v1/datasets/household-relationship-detailed.
Exact suburb identifier required. Exact official suburb name (SAL), e.g. Burwood (NSW) — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call GET /v1/geocode/suburb?q=<text>, then use the exact data[].area_name it returns. Suburb data endpoints do not guess a state or typo-correct names.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredExact official suburb name (SAL), e.g. `Burwood (NSW)` — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call `GET /v1/geocode/suburb?q=<text>`, then use the exact `data[].area_name` it returns. Suburb data endpoints do not guess a state or typo-correct names.
Query parameters
fieldsstringoptionalComma-separated subset of: total_population, in_scope_population, husband_wife_or_partner_in_a_registered_marriage_opposite_sex_couple_count, husband_wife_or_partner_in_a_registered_marriage_opposite_sex_couple_pct, husband_wife_or_partner_in_a_registered_marriage_male_same_sex_couple_count, husband_wife_or_partner_in_a_registered_marriage_male_same_sex_couple_pct, husband_wife_or_partner_in_a_registered_marriage_female_same_sex_couple_count, husband_wife_or_partner_in_a_registered_marriage_female_same_sex_couple_pct, husband_wife_or_partner_in_de_facto_marriage_opposite_sex_couple_count, husband_wife_or_partner_in_de_facto_marriage_opposite_sex_couple_pct, husband_wife_or_partner_in_de_facto_marriage_male_same_sex_couple_count, husband_wife_or_partner_in_de_facto_marriage_male_same_sex_couple_pct, husband_wife_or_partner_in_de_facto_marriage_female_same_sex_couple_count, husband_wife_or_partner_in_de_facto_marriage_female_same_sex_couple_pct, lone_parent_count, lone_parent_pct, natural_or_adopted_child_under_15_count, natural_or_adopted_child_under_15_pct, step_child_under_15_count, step_child_under_15_pct, foster_child_under_15_count, foster_child_under_15_pct, grandchild_under_15_count, grandchild_under_15_pct, otherwise_related_child_under_15_count, otherwise_related_child_under_15_pct, unrelated_child_under_15_count, unrelated_child_under_15_pct, natural_or_adopted_dependent_student_count, natural_or_adopted_dependent_student_pct, dependent_student_step_child_count, dependent_student_step_child_pct, dependent_student_foster_child_count, dependent_student_foster_child_pct, non_dependent_natural_or_adopted_child_count, non_dependent_natural_or_adopted_child_pct, non_dependent_step_child_count, non_dependent_step_child_pct, non_dependent_foster_child_count, non_dependent_foster_child_pct, brother_sister_count, brother_sister_pct, father_mother_count, father_mother_pct, non_dependent_grandchild_count, non_dependent_grandchild_pct, grandfather_grandmother_count, grandfather_grandmother_pct, cousin_count, cousin_pct, uncle_aunt_count, uncle_aunt_pct, nephew_niece_count, nephew_niece_pct, other_related_individual_nec_count, other_related_individual_nec_pct, unrelated_individual_living_in_family_household_count, unrelated_individual_living_in_family_household_pct, group_household_member_count, group_household_member_pct, lone_person_count, lone_person_pct, visitor_from_within_australia_count, visitor_from_within_australia_pct, other_non_classifiable_relationship_count, other_non_classifiable_relationship_pct. Omit for all.
fromstringoptionalFirst period to include: 2020, 2020-Q3, 2020-07 or 2020-07-01.
tostringoptionalLast period to include, same formats as `from`.
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
levelstringalways returnedsuburb, lga or block.
areastringalways returnedCanonical name (or mesh-block code) of the area answered.
period_typestringalways returnedsnapshot, year, financial_year, quarter or month.
as_ofstring · datealways returnedDate the dataset is current to. Values are never withheld for age; check this instead.
modelledbooleanalways returnedTrue when the figures are estimates from a model rather than counts or measurements.
fieldsarray of DatasetFieldSeriesalways returned/v1/suburbs/{suburb_name}/area-stats/household-relationship-detailedcurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/area-stats/household-relationship-detailed' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "household-relationship-detailed",
"level": "suburb",
"area": "Bondi",
"period_type": "snapshot",
"as_of": "2021-08-10",
"modelled": false,
"fields": [
{
"field": "total_population",
"name": "Total residents",
"unit": "persons",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 10411
}
]
},
{
"field": "in_scope_population",
"name": "Residents of occupied private dwellings",
"unit": "persons",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 10189
}
]
},
{
"field": "husband_wife_or_partner_in_a_registered_marriage_opposite_sex_couple_count",
"name": "Husband, Wife or Partner in a registered marriage, opposite-sex couple: residents",
"unit": "persons",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 2293
}
]
}
]
}
}