> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exchangeratesapi.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Historical Exchange Rates

> Get exchange rates for a date range. Historical access: Free=blocked, Starter=30 days, Professional/Business=full history. Date range limits: Starter=7 days, Professional=90 days, Business=365 days.



## OpenAPI

````yaml /openapi.json get /timeseries
openapi: 3.1.0
info:
  title: RBA Exchange Rates API
  description: >-
    Official Reserve Bank of Australia (RBA) exchange rate data through a modern
    REST API. Transforms publicly available RBA data into clean JSON endpoints
    for Australian businesses and developers who need reliable AUD exchange
    rates.
  version: 1.0.0
  license:
    name: MIT
  contact:
    url: https://www.exchangeratesapi.com.au
servers:
  - url: https://api.exchangeratesapi.com.au
    description: Production API
security: []
paths:
  /timeseries:
    get:
      summary: Historical Exchange Rates
      description: >-
        Get exchange rates for a date range. Historical access: Free=blocked,
        Starter=30 days, Professional/Business=full history. Date range limits:
        Starter=7 days, Professional=90 days, Business=365 days.
      operationId: getTimeseriesRates
      parameters:
        - name: start_date
          in: query
          required: true
          description: Start date (YYYY-MM-DD)
          schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          example: '2025-08-01'
        - name: end_date
          in: query
          required: true
          description: End date (YYYY-MM-DD)
          schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          example: '2025-08-31'
        - name: symbols
          in: query
          required: false
          description: Comma-separated list of currency codes to filter
          schema:
            type: string
          example: USD,EUR,GBP
        - name: base
          in: query
          required: false
          description: Base currency (currently only AUD supported)
          schema:
            type: string
            enum:
              - AUD
            default: AUD
      responses:
        '200':
          description: Historical exchange rates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeseriesResponse'
              example:
                success: true
                timeseries: true
                start_date: '2025-08-01'
                end_date: '2025-08-31'
                base: AUD
                rates:
                  '2025-08-01':
                    USD: 0.678234
                    EUR: 0.612345
                  '2025-08-02':
                    USD: 0.679123
                    EUR: 0.613456
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - bearerAuth: []
components:
  schemas:
    TimeseriesResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        timeseries:
          type: boolean
          example: true
        start_date:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
        end_date:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
        base:
          type: string
          example: AUD
        rates:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/RatesObject'
          description: Object with dates as keys and rate objects as values
      required:
        - success
        - timeseries
        - start_date
        - end_date
        - base
        - rates
    RatesObject:
      type: object
      additionalProperties:
        type: number
        minimum: 0
        description: >-
          Exchange rate (AUD per unit of foreign currency) with precision
          varying by currency (up to 6 decimal places for most, whole numbers
          for IDR/VND as provided by RBA)
      description: Object containing currency codes as keys and exchange rates as values
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: integer
              description: HTTP status code
            type:
              type: string
              description: Error type identifier
            info:
              type: string
              description: Human-readable error description
          required:
            - code
            - type
            - info
      required:
        - success
        - error
  responses:
    BadRequest:
      description: Bad request - invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: 400
              type: bad_request
              info: Invalid currency format. Use 3-letter currency code (e.g., USD)
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: 401
              type: unauthorized
              info: Invalid or missing API key
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: 404
              type: not_found
              info: No data available for the specified date
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication using Bearer token

````