Personal insolvency by region and quarter: search
/v1/records/personal-insolvency-regional/search10¢ per callNumber of people entering a personal insolvency (bankruptcy, debt agreement or personal insolvency agreement) in each of 364 regions of Australia, by quarter from September 2017 to December 2019.
Coverage: 364 regions and 10 quarters, 30 Sep 2017 to 31 Dec 2019; 3,520 rows with a total. Current to 2019-12-31. Full description, field list and method: /v1/datasets/personal-insolvency-regional.
Search by words (q) and/or exact filters, or page through every record in key order; a page at a time.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Query parameters
qstringoptionalWords to find (prefix match, all must appear) in: region name, region code.
area_codestringoptionalExact match on region code (text, any case).
quarter_endstringoptionalExact match on quarter end (date).
fieldsstringoptionalComma-separated subset of: record_key, quarter_end, area_code, area_name, debtors_non_business, debtors_business, debtors_total. Omit for all.
limitintegeroptionalRecords per page, 1 to 50 (default 25).
offsetintegeroptionalRecords to skip, for the next page (`next_offset`).
Responses
Successful Response
datasetstringalways returnedDataset slug.
as_ofstring · datealways returnedDate the dataset is current to.
totalintegeralways returnedRecords matching, across every page.
limitintegeralways returnedPage size used.
offsetintegeralways returnedRecords skipped before this page.
next_offsetintegermay be nullOffset of the next page; null on the last page.
recordsarray of DatasetRecordalways returned/v1/records/personal-insolvency-regional/searchcurl --request GET \
--url 'https://api.microburbs.com.au/v1/records/personal-insolvency-regional/search' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "personal-insolvency-regional",
"as_of": "2019-12-31",
"total": 10,
"limit": 3,
"offset": 0,
"next_offset": 3,
"records": [
{
"key": "11101|2017-09-30",
"fields": {
"record_key": "11101|2017-09-30",
"quarter_end": "2017-09-30",
"area_code": "11101",
"area_name": "Lake Macquarie - East",
"debtors_non_business": 22,
"debtors_business": 3,
"debtors_total": 25
}
},
{
"key": "11101|2017-12-31",
"fields": {
"record_key": "11101|2017-12-31",
"quarter_end": "2017-12-31",
"area_code": "11101",
"area_name": "Lake Macquarie - East",
"debtors_non_business": 33,
"debtors_business": 0,
"debtors_total": 33
}
},
{
"key": "11101|2018-03-31",
"fields": {
"record_key": "11101|2018-03-31",
"quarter_end": "2018-03-31",
"area_code": "11101",
"area_name": "Lake Macquarie - East",
"debtors_non_business": 25,
"debtors_business": 5,
"debtors_total": 30
}
}
]
}
}