How to Get RBA Exchange Rates in Excel and Power BI with Power Query

Pull official Reserve Bank of Australia daily exchange rates straight into Excel or Power BI with Power Query, no code outside the workbook. Includes a copy-paste query and an XLOOKUP that handles weekends and public holidays.

Not every team needs a full ERP integration. For month-end workpapers, FX revaluation schedules, foreign income schedules or Power BI dashboards, you just need the RBA's daily rates in a table you can look up against.

Power Query can pull them straight from the Exchange Rates API, with no code outside the workbook and a single click to refresh.

Loading rates into an ERP instead? See the ERP integration overview for SAP, Xero, NetSuite, Business Central and Odoo.

Before You Start

The API returns rates as units of foreign currency per 1 AUD, which is how the RBA publishes them. So "USD": 0.643512 means 1 AUD = 0.643512 USD. To convert a foreign amount to AUD, divide by the rate: USD 1,000 ÷ 0.643512 = AUD 1,553.97.

The RBA doesn't publish on weekends or Australian public holidays, so your rate table will have gaps on those days. The lookup formula further down handles that.

The Power Query

In Excel: Data → Get Data → From Other Sources → Blank Query, open the Advanced Editor, and paste:

let
    ApiKey    = "your_api_key_here",
    StartDate = "2025-08-01",
    EndDate   = "2025-08-31",
    Symbols   = "USD,EUR,GBP,NZD,JPY",

    Source = Json.Document(
        Web.Contents(
            "https://api.exchangeratesapi.com.au",
            [
                RelativePath = "timeseries",
                Query = [start_date = StartDate, end_date = EndDate, symbols = Symbols],
                Headers = [Authorization = "Bearer " & ApiKey]
            ]
        )
    ),

    AsTable  = Record.ToTable(Source[rates]),
    Expanded = Table.ExpandRecordColumn(AsTable, "Value", Text.Split(Symbols, ",")),
    Renamed  = Table.RenameColumns(Expanded, {{"Name", "Date"}}),
    Typed    = Table.TransformColumnTypes(
                   Renamed,
                   {{"Date", type date}} &
                   List.Transform(Text.Split(Symbols, ","), each {_, type number})
               )
in
    Typed

When Excel asks for credentials, choose Anonymous, because the API key goes in the header. You'll get one row per RBA business day and one column per currency.

The same query works in Power BI Desktop: Get Data → Blank Query → Advanced Editor.

Looking Up the Rate for a Transaction Date

Load the query to a table (say it's called RBA). For a transaction dated in cell A2, this returns the USD rate for that date, or the last published rate before it if A2 falls on a weekend or public holiday:

=XLOOKUP(A2, RBA[Date], RBA[USD], "no rate", -1)

The final -1 tells XLOOKUP to take the exact date or the next earlier one. Then convert a USD amount in B2 to AUD with:

=B2 / XLOOKUP(A2, RBA[Date], RBA[USD], "no rate", -1)

It's worth adding a column with the rate date actually used, so your workpapers show it:

=XLOOKUP(A2, RBA[Date], RBA[Date], "no rate", -1)

A Single Month-End Rate

For one date only, swap the source for RelativePath = "latest" (or a specific date such as RelativePath = "2025-08-29") and expand Source[rates] the same way.

Which Plan Do You Need?

On Starter, /timeseries is limited to 7-day windows, which suits weekly refreshes. A full month in one query (31 days) or history beyond the last 30 days needs Professional or above, which includes history back to 2018.

Ready to pull RBA rates into your workbook? Get your free API key and paste the query above.


Data sourced from the Reserve Bank of Australia. We are not affiliated with or endorsed by the Reserve Bank of Australia.

Microsoft, Excel and Power BI are trademarks of the Microsoft group of companies.

For API documentation, visit Exchange Rates API Docs