get_data
Retrieve time series observations from RBA F-tables by table ID and series key. Supports multiple series, date filtering, and CSV output for charting.
Instructions
Query an RBA F-table and return observations.
Curated tables (F1.1, F4, F6, F11, F11.1) accept plain-English series
keys that map to canonical RBA series IDs server-side. Pass a list of
keys for a multi-series query, or omit `series` to get every curated
series in the table.
Examples:
# Cash rate target since 2020
resp = await get_data("F1.1", series="cash_rate_target", start_date="2020")
# → resp.records[0]: period='2020-01-01', value=0.25, series='cash_rate_target'
# All FX rates against AUD, last year
resp = await get_data("F11.1", start_date="2024-01-01", end_date="2024-12-31")
# → resp.records covers aud_usd, aud_eur, aud_jpy, aud_cny, ... daily
# Mortgage rates as CSV
resp = await get_data("F6", format="csv", start_date="2023")
# → resp.csv = "date,series,value2023-01-01,housing_standard_variable,..."
# Raw (non-curated) F-table — pass raw RBA series IDs
resp = await get_data("F1", series=["FIRMMCRTD", "FIRMMBAB30"])
When to use:
- You want a time series of an RBA indicator (use latest() for current-only)
- You want a multi-series comparison (e.g. all FX rates)
- You want CSV for downstream charting
Returns:
DataResponse with records, unit, period bounds, RBA source URL,
and CC-BY 4.0 attribution.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | RBA F-table ID like 'F1.1', 'F11'. Use search_tables() to discover. | |
| series | No | Which series to return. For curated tables: plain-English keys (e.g. 'aud_usd', 'cash_rate_target') or a list for multi-series. For raw F-tables: raw RBA series IDs (e.g. 'FXRUSD'). Pass None (default) to return all curated series in the table. | |
| start_date | No | Inclusive start date. Accepts 'YYYY', 'YYYY-MM', or 'YYYY-MM-DD'. An int year (e.g. 2024) is also accepted and treated as 'YYYY'. Semantic-checked: '2024-13' or '----' rejected at the boundary. | |
| end_date | No | Inclusive end date. Same format as start_date. | |
| format | No | Response shape. 'records' (default): flat list of observations. 'series': observations grouped by series_id. 'csv': returns the table as a CSV string in the `csv` field. | records |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | ||
| table_name | Yes | ||
| query | No | ||
| period | No | ||
| unit | No | ||
| records | No | ||
| csv | No | ||
| source | No | Reserve Bank of Australia | |
| attribution | No | Data sourced from the Reserve Bank of Australia and licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). https://www.rba.gov.au/copyright/ | |
| retrieved_at | Yes | ||
| rba_url | Yes | ||
| server_version | No |