Tax returns and income - postcodes [Data Explorer (legacy)]
/v1/postcodes/{postcode}/economy/data-explorer-tax-returns-and-income5¢ per callLegacy Data Explorer figures for a postcode: 116 fields on tax returns and income, each with its latest value, its own as_of date and its rank among comparable areas.
Coverage: Postcode level; 291,497 values; latest periods 2010-12-31 to 2020-12-31. Current to 2020-12-31. Full description, field list and method: /v1/datasets/data-explorer-affluence-economy-tax-returns-and-income-postcode.
Part of the Data Explorer (legacy) collection: figures served as last built. Each field carries its own as_of; several link to the maintained field that replaces them (superseded_by).
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
postcodestringrequiredFour-digit postcode, e.g. `2026`.
Query parameters
fieldsstringoptionalComma-separated field slugs, e.g. allowances_earnings_average, tax_office_average_help_debt_alt, average_australian_annuities_and_superannuation_income_streams_taxable_component, average_cost_of_deductions. Omit for all 116. Every field is listed at `/v1/datasets/data-explorer-affluence-economy-tax-returns-and-income-postcode`.
historybooleanoptionalAlso return every earlier period of each field (oldest first).
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
collectionstringalways returnedAlways data-explorer: the legacy Data Explorer figures, served as last built.
levelstringalways returnedsuburb, lga, postcode, sa2, sa3 or electorate.
areastringalways returnedCanonical name (or postcode) of the area answered.
as_ofstring · datealways returnedLatest `as_of` among the fields returned (excluding forecasts).
modelledbooleanalways returnedTrue when the figures are scores or estimates from a model.
fieldsarray of FigureFieldalways returnedEvery requested field held for the area. Fields with no value for it are left out.
/v1/postcodes/{postcode}/economy/data-explorer-tax-returns-and-incomecurl --request GET \
--url 'https://api.microburbs.com.au/v1/postcodes/2280/economy/data-explorer-tax-returns-and-income' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "data-explorer-affluence-economy-tax-returns-and-income-postcode",
"collection": "data-explorer",
"level": "postcode",
"area": "2026",
"as_of": "2020-12-31",
"modelled": false,
"fields": [
{
"field": "allowances_earnings_average",
"name": "Allowances earnings (average)",
"unit": "$",
"as_of": "2020-12-31",
"value": 6340,
"rank": 41,
"areas": 247,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "tax_office_average_help_debt_alt",
"name": "Tax office average help debt (second copy)",
"unit": "$",
"as_of": "2020-12-31",
"value": 4900,
"rank": 20,
"areas": 247,
"forecast": false,
"name_inferred": true,
"see_also": []
},
{
"field": "average_australian_annuities_and_superannuation_income_streams_taxable_component",
"name": "Average Australian annuities and superannuation income streams taxable component",
"unit": "$",
"as_of": "2020-12-31",
"value": 34600,
"rank": 94,
"areas": 246,
"forecast": false,
"name_inferred": false,
"see_also": []
}
]
}
}