This is in beta. If you find something wrong, let us know

ABS Data API (Beta)

  Beta  

Getting Started

Using the API

Understanding SDMX Data

Worked Examples

Troubleshooting

Troubleshooting

Request returned too much data

The ABS data API has a maximum size allowed for all data responses of 10MB with compression applied. This translates to around 90MB of data once it is uncompressed. Requests that exceed this limit will return a 500 error.

To call the API with compression enabled, ensure your headers include “Accept-Encoding: gzip,deflate”

If you are exceeding the maximum size even with compression, then you will need to break your data request into several, smaller requests. The simplest way to do this is using the startPeriod and endPeriod query parameters to subset data on time range. Or use dataKey to subset data on dimension members (e.g. request all data for each region separately). For information on this see: GET Data, Path Parameters, dataKey.

Request URL too long

The maximum allowed length of the ‘dataKey’ section of the URL is 5,000 characters. Requests that exceed this limit will return a 400 error.

To work around the maximum allowed URL length, we recommend using wildcards to request all members of a given dimension rather than specifying the code for each dimension member individually in the URL. For information on this see: GET Data, Path Parameters, dataKey.



Last edited: 17 Feb 2021, 09:42:31