> ## 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.

# Currency Conversion

> Convert amounts between currencies. Requires authentication. Free tier: 300, no historical data. Starter: 5,000/month, 30 days history. Professional: 50,000/month, full history. Business: 500,000/month, full history.



## OpenAPI

````yaml /openapi.json get /convert
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:
  /convert:
    get:
      summary: Currency Conversion
      description: >-
        Convert amounts between currencies. Requires authentication. Free tier:
        300, no historical data. Starter: 5,000/month, 30 days history.
        Professional: 50,000/month, full history. Business: 500,000/month, full
        history.
      operationId: convertCurrency
      parameters:
        - name: from
          in: query
          required: true
          description: Source currency code
          schema:
            $ref: '#/components/schemas/CurrencyCode'
          example: AUD
        - name: to
          in: query
          required: true
          description: Target currency code
          schema:
            $ref: '#/components/schemas/CurrencyCode'
          example: USD
        - name: amount
          in: query
          required: true
          description: Amount to convert
          schema:
            type: number
            minimum: 0
            exclusiveMinimum: true
          example: 100
        - name: date
          in: query
          required: false
          description: >-
            Historical date for conversion (YYYY-MM-DD). Requires
            authentication.
          schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          example: '2025-08-31'
      responses:
        '200':
          description: Conversion result
          headers:
            X-RateLimit-Limit-Monthly:
              description: >-
                Monthly request limit based on plan (Free=300, Starter=5,000,
                Professional=50,000, Business=500,000)
              schema:
                type: integer
            X-RateLimit-Remaining-Monthly:
              description: Remaining requests in current monthly period
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertResponse'
              example:
                success: true
                query:
                  from: AUD
                  to: USD
                  amount: 100
                info:
                  timestamp: 1725148800
                  rate: 0.678234
                date: '2025-09-01'
                result: 67.8234
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - bearerAuth: []
components:
  schemas:
    CurrencyCode:
      type: string
      enum:
        - AUD
        - USD
        - EUR
        - GBP
        - JPY
        - CNY
        - KRW
        - INR
        - SGD
        - NZD
        - THB
        - MYR
        - IDR
        - VND
        - HKD
        - PHP
        - CAD
        - CHF
        - TWD
        - TWI
        - SDR
      description: Three-letter currency code
    ConvertResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        query:
          type: object
          properties:
            from:
              type: string
            to:
              type: string
            amount:
              type: number
          required:
            - from
            - to
            - amount
        info:
          type: object
          properties:
            timestamp:
              type: integer
              description: Unix timestamp of the rate date
            rate:
              type: number
              description: >-
                Exchange rate used for conversion with precision varying by
                currency (up to 6 decimal places for most, whole numbers for
                IDR/VND as provided by RBA)
          required:
            - rate
        date:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
        result:
          type: number
          description: Conversion result
      required:
        - success
        - query
        - info
        - date
        - result
    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)
    RateLimitExceeded:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: 429
              type: rate_limit
              info: >-
                Quota exceeded. Free=300 (one-time trial), Starter=5,000/month,
                Professional=50,000/month, Business=500,000/month.
    ServiceUnavailable:
      description: Service temporarily unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: 503
              type: unavailable
              info: Rates temporarily unavailable
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication using Bearer token

````