Official statistics: series data
/v1/statistics/data/{dataflow_id}/{key}5¢ per callAustralia's official statistics as time series: more than a thousand dataflows (prices, labour force, population, building activity, trade, national accounts, regional estimates and more), each queryable by its dimensions and returned as plain series of periods and values.
Full description: /v1/datasets/official-statistics.
The series a key matches, each with its dimension codes and names and its observations oldest first.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
dataflow_idstringrequiredDataflow id from /v1/statistics/dataflows, e.g. `CPI`.
keystringrequiredSeries key: one code per dimension, in order, joined by dots (`all` or empty positions for every code, `+` for alternatives), e.g. `1.10001.10.50.Q`.
Query parameters
start_periodstringoptionalFirst period, e.g. `2020`, `2020-Q1` or `2020-07`.
end_periodstringoptionalLast period, same formats.
Responses
Successful Response
dataflowstringalways returnedDataflow id.
namestringmay be nullseries_countintegeralways returnedobservation_countintegeralways returnedseriesarray of StatisticsSeriesalways returned/v1/statistics/data/{dataflow_id}/{key}curl --request GET \
--url 'https://api.microburbs.com.au/v1/statistics/data/CPI/1.10001.10.50.Q' \
--header 'Authorization: Bearer test'{}