|Page tools: Print Page Print All RSS Search this Product|
ABS.Stat Developer API (JSON)
About the ABS.Stat JSON API
For example: http://stat.data.abs.gov.au/sdmx-json/data/BOP/1.170.20.Q/all?detail=Full&dimensionAtObservation=AllDimensions&startPeriod=2015-Q2
The query is generated based on all the data currently selected in the web browser interface. To change the selection go to Customise - Selection and chose the data you want.
Build a query from the query builder interface
ABS.Stat includes a dedicated JSON query builder user interface (UI). This interface allows you to select the dataset and data dimensions you are interested in and generate a query URL or JSON response.
The SDMX-JSON query builder user interface
Once you have generated a URL using Export or the Query builder you can manually edit it if required. For example, in the exemplar above if you were to select all dimension members for ‘Data Item’ the API string would exceed the maximum number of characters allowed in a URL (1,000). If you want all members of the Data Item dimension you can simply delete all Data Item codes from the string which will return all data by default.
For example, here is the same query as above but requesting all members of the Data Item dimension:
These documents will be presented in a new window.