How-to guides

79 guides. Endpoint, runnable code in three languages, gotchas.

Get the RBA cash rate in Python

Pull the latest RBA cash rate target into Python in three lines. Returns the most recent observation from RBA series F1.1 as JSON.

Pull the full RBA cash rate history

Fetch every cash rate decision since 1990 as a flat JSON array. Useful for charts, backtests, and discount-rate models.

Get the RBA cash rate in JavaScript

One fetch call, no SDK. Works in Node 18+, browsers, Cloudflare Workers, and Deno.

Subscribe to RBA cash rate changes

Use Pulse webhooks to receive a signed POST when the RBA Board changes the cash rate. No polling.

Pulse webhook for cash rate decisions

Pulse delivers signed JSON within 60 seconds of an RBA Board outcome. Includes the new target and prior value.

Get the latest Australian CPI

ABS publishes headline CPI every quarter. This endpoint returns the most recent print as JSON.

Pull the full Australian CPI history

Returns every ABS CPI observation since 1948 as flat JSON. Use for inflation-adjustment calculations.

Calculate real wages from ABS data

Combine the Wage Price Index and CPI to get real wage growth in a single function. The /v1/real-wages endpoint does this server-side.

Inflation-adjust prices in Python

Convert any historical AUD figure to today's dollars using a single API call. Returns the deflated value and the index ratio used.

Compare cash rate to CPI over 25 years

Pull both series at once, align by quarter, and chart the gap. Shows real interest rate over time.

Get the Australian unemployment rate

ABS Labour Force Survey, seasonally adjusted. One call returns the headline rate, participation rate, and employed total.

Get unemployment by Australian state

Returns the latest unemployment rate for NSW, VIC, QLD, SA, WA, TAS, ACT, and NT in one call.

Pull employment history since 1978

Monthly employed persons from the Labour Force Survey, full and part-time split.

Get Australian labour force participation rate

Share of the working-age population that is employed or actively looking. Monthly, seasonally adjusted.

Get Australian house price index

ABS Residential Property Price Index for eight capitals. Quarterly index where 2011-12 equals 100.

Get the rental vacancy rate by city

Monthly vacancy rate sourced from REI state bodies, normalised across cities.

Calculate housing affordability ratio

Median dwelling price divided by median annual income. Combines ABS house prices and HILDA income.

Get monthly building approvals

ABS 8731.0. Counts of new dwellings approved each month, split by detached and attached.

Get the construction cost index

ABS Producer Price Index for residential construction, quarterly.

Get bank deposit market share

APRA Monthly ADI Statistics. Deposits by bank, useful for competitive analysis.

Get mortgage market share by lender

Monthly housing loan balances per APRA ADI, ranked.

Get bank capital adequacy ratios

APRA Quarterly ADI Performance. CET1, Tier 1, and total capital ratios per bank.

Track historical RBA Board decisions

Full history of cash rate changes with decision direction and statement URL.

Get current NEM electricity spot price

Real-time wholesale electricity price by region from AEMO. 5-minute settlement.

Get NEM generation mix by fuel

Current MW dispatch by fuel: coal, gas, hydro, wind, solar, battery.

Get renewable share of the NEM

Percent of dispatched generation from wind, solar, hydro, and batteries.

Get average fuel prices by state

Weekly unleaded and diesel averages from AIP data, normalised per state.

Get average income by postcode

ATO Taxation Statistics. Mean and median taxable income per Australian postcode.

Get income by occupation

ATO Taxation Statistics by ANZSCO occupation. Mean, median, and tax paid.

Get current personal tax thresholds

Current income tax brackets for residents, including Medicare levy.

Calculate Australian take-home pay

Pass gross salary, get income tax, Medicare levy, and net pay. Honours the current bracket table.

Get current weather for Sydney

BOM observations for Sydney Observatory Hill. Temperature, humidity, wind, rainfall.

Get current weather for Melbourne

BOM observations for Melbourne Olympic Park.

Get a 7-day forecast for any Australian city

BOM city forecast. Max, min, rainfall probability, summary.

Get historical rainfall data

Daily rainfall by BOM station, back to 1900 for the longest-running sites.

Get historical temperature data

Daily max and min by BOM station, back to 1910 for ACORN-SAT sites.

Get Australian population by state

ABS quarterly Estimated Resident Population by state and territory.

Get population projections to 2071

ABS Series A, B, C projections by state.

Get net overseas migration

Quarterly net overseas migration from ABS Migration release.

Get median age by suburb

Census 2021 median age per SA2.

Get a Census suburb profile

Median age, income, household size, dwelling tenure, and country of birth for any SA2.

Get Australian export values by category

ABS International Trade. Monthly export values by SITC category.

Get the monthly trade balance

Goods and services balance, seasonally adjusted.

Get top export destinations

DFAT data on export values by partner country.

Get Australian GDP

ABS National Accounts. Quarterly chain volume GDP, seasonally adjusted.

Get GDP per capita

GDP divided by ERP, quarterly.

Get GDP by industry

ABS industry value added contribution to GDP, quarterly.

Get monthly retail trade

ABS Retail Trade. Turnover by industry, monthly, seasonally adjusted.

Get retail trade by state

Monthly turnover by state and territory.

Get retail trade by category

Food, household goods, clothing, department stores, cafes, and other.

Plot the RBA cash rate with matplotlib

Pull the full series and chart it in 10 lines of Python.

Chart CPI with React and Recharts

Fetch the CPI series and render a YoY line chart in a React component.

Embed the cash rate in a Notion page

Use our HTML embed to drop a live cash rate widget into a Notion callout.

Pull CPI into Google Sheets

Use the CSV endpoint and IMPORTDATA to auto-refresh CPI in a sheet.

Use ausdata MCP with Claude Desktop

Add ausdata as an MCP server. Claude can answer questions like what is the current cash rate without you copying values.

Use ausdata MCP with Cursor

Cursor supports MCP via the same config. The setup takes a minute.

Build an Australian economic agent

Wire ausdata into a LangGraph agent that answers macro questions on demand.

Get an ausdata API key

Sign up, create a key, start calling. Free tier is 500 requests per month with no card.

Handle ausdata rate limits

We return 429 with Retry-After and a JSON body. Back off and retry.

Rotate an ausdata API key

Create a second key, deploy it, then revoke the first.

Use Postman with ausdata

Import our OpenAPI spec into Postman. All 46 endpoints come in pre-configured.

Use Insomnia with ausdata

Same OpenAPI import flow as Postman. Insomnia handles bearer auth at the workspace level.

Get any endpoint as CSV

Add .csv to the path. We return a UTF-8 CSV with the same fields as the JSON response.

Get any endpoint as Parquet

Add .parquet for analytics workloads. Parquet preserves types and is column-oriented.

Load ausdata into DuckDB

Use httpfs to read the Parquet endpoint directly into DuckDB.

Load ausdata into pandas

pd.read_json or pd.read_csv straight off the endpoint with the right headers.

Compare Australian states by income

Pull ABS Survey of Income and Housing by state, ranked.

Compare suburbs by housing affordability

Median price divided by median household income, ranked by SA2.

Monitor the monthly CPI indicator

ABS publishes a monthly CPI indicator alongside the quarterly print. This endpoint returns the latest.

Get the Australian Wage Price Index

ABS quarterly WPI by sector and state.

Get NAB business confidence

Monthly NAB Business Survey. Confidence, conditions, capacity utilisation.

Get Westpac consumer sentiment

Monthly Westpac Melbourne Institute consumer sentiment index.

Get the current account balance

ABS Balance of Payments. Quarterly current account balance in AUD.

Get private credit growth

RBA monthly aggregate of private sector credit. Owner-occupier, investor, and business splits.

Get money supply M3

RBA monthly M3 aggregate. Currency plus bank deposits.

Get the AUD USD exchange rate

RBA daily F11 exchange rates. AUD against USD, EUR, JPY, CNY, and TWI.

Get average superannuation balance

APRA quarterly superannuation statistics. Average balance by age and gender.

Get current electricity demand

AEMO five-minute regional demand in MW.

Get east coast gas prices

AEMO Short Term Trading Market prices for Sydney, Adelaide, and Brisbane.