ABS Consumer Price Index as a JSON REST API
Australian Consumer Price Index as JSON, broken down by the eleven CPI expenditure groups. Returns headline CPI, trimmed mean, and which categories are pushing inflation up or down. Sourced from ABS 6401.0 and refreshed each quarter. Replaces parsing the quarterly CPI release table by hand.
Endpoint
GEThttps://api.ausdata.io/v1/cost-of-living
Sample request
cURL
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.ausdata.io/v1/cost-of-living"Sample response
JSON
{
"data": {
"headline_cpi_yoy_pct": 3.6,
"trimmed_mean_yoy_pct": 4,
"period": "2025-Q1",
"groups": [
{
"name": "Housing",
"yoy_pct": 4.9
},
{
"name": "Food and non-alcoholic beverages",
"yoy_pct": 3.8
}
]
},
"meta": {
"endpoint": "/v1/cost-of-living",
"source": {
"name": "ABS",
"url": "https://www.abs.gov.au/statistics/economy/price-indexes-and-inflation/consumer-price-index-australia",
"attribution": "(c) Commonwealth of Australia (ABS), CC-BY 4.0"
},
"retrieved_at": "<ISO timestamp>"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| headline_cpi_yoy_pct | number | Headline CPI, year-on-year percent change |
| trimmed_mean_yoy_pct | number | Trimmed-mean underlying inflation |
| period | string | Reference quarter, e.g. 2025-Q1 |
| groups | array | Per-group year-on-year change for the eleven CPI expenditure groups |
Frequently asked questions
- How do I query the Consumer Price Index dataset via API?
- Send a GET request to https://api.ausdata.io/v1/cost-of-living with an Authorization: Bearer <your-key> header. The response is JSON with a data array and a meta block containing the source and retrieval timestamp. Get a free key at ausdata.io with 500 calls per month.
- Is the Consumer Price Index data updated daily?
- The Consumer Price Index dataset is refreshed quarterly from Australian Bureau of Statistics (ABS). The meta.retrieved_at field on every response tells you exactly when the underlying data was last pulled.
- Is there a free tier for the ABS Consumer Price Index API?
- Yes. ausdata.io offers a free tier of 500 calls per month across every endpoint, including Consumer Price Index. No credit card required. Paid plans start at $29 AUD per month for 10,000 calls.
- What format does the Consumer Price Index API return?
- JSON, with a consistent envelope: a data field carrying the rows or object, and a meta field with the source agency, source URL, attribution string, and retrieved_at timestamp. UTF-8, ISO 8601 dates, CC-BY attribution included on every response.
Start querying ABS Consumer Price Index
500 free calls per month. No credit card.
Get a free key