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

# Historical Interest Rates

> One central bank's policy rate over time. The bank code must be uppercase.

One central bank's policy rate over time, as an `interest_rates` array of `bank`, `name`, `date` and `rate`. `bank` is required and bound by `start_date` and `end_date`. Trap worth knowing: the code is case-sensitive and must be uppercase — FED works, fed returns HTTP 404 with "No data found", which reads like an empty result rather than a bad argument. Valid codes are FED, ECB, BOJ, BOE, BOC, RBA, PBOC, SNB, RBI and BOK; [`get_financial_macro_interest_rates_snapshot`](/docs/api-reference/financial/get_macro-interest-rates-snapshot) with no arguments lists them all.

<Note>
  **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
  Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
  opens a browser, you click Allow once, and there is no key to paste. The
  commands per client, and what each call costs, are on
  [aisa.one/mcp](https://aisa.one/mcp#connect).
</Note>

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/financial/get_macro-interest-rates)


## OpenAPI

````yaml openapi/macro_snapshot.json GET /macro/interest-rates
openapi: 3.0.3
info:
  title: Financial Datasets API — Macro Interest Rates
  version: 1.0.0
  description: >-
    Central bank interest rate data (historical series + real-time snapshot),
    proxied through AIsa.
servers:
  - url: https://api.aisa.one/apis/v1/financial
    description: Production API
security:
  - bearerAuth: []
paths:
  /macro/interest-rates:
    get:
      summary: Interest Rates (Historical)
      description: >-
        One central bank's policy rate over time, as an `interest_rates` array
        of `bank`, `name`, `date` and `rate`. `bank` is required and bound by
        `start_date` and `end_date`. Trap worth knowing: the code is
        case-sensitive and must be uppercase — FED works, fed returns HTTP 404
        with "No data found", which reads like an empty result rather than a bad
        argument. Valid codes are FED, ECB, BOJ, BOE, BOC, RBA, PBOC, SNB, RBI
        and BOK; `get_financial_macro_interest_rates_snapshot` with no arguments
        lists them all.
      operationId: get_financial_macro_interest_rates
      parameters:
        - name: bank
          in: query
          description: >-
            The bank whose interest rates to return. Use the
            /macro/interest-rates/banks endpoint to get a list of available
            banks. Case-sensitive: must be uppercase. A lowercase code returns
            HTTP 404 "No data found", which reads like an empty result rather
            than a bad argument.
          required: true
          schema:
            type: string
            enum:
              - FED
              - ECB
              - BOJ
              - BOE
              - BOC
              - RBA
              - PBOC
              - SNB
              - RBI
              - BOK
        - name: start_date
          in: query
          description: The start date of the interest rates to return in YYYY-MM-DD format.
          required: false
          schema:
            type: string
        - name: end_date
          in: query
          description: The end date of the interest rates to return in YYYY-MM-DD format.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Interest rates response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterestRatesResponse'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/PaymentRequiredError'
        '404':
          $ref: '#/components/responses/NotFoundError'
components:
  schemas:
    InterestRatesResponse:
      type: object
      properties:
        interest_rates:
          type: array
          items:
            $ref: '#/components/schemas/InterestRate'
    InterestRate:
      type: object
      properties:
        bank:
          type: string
          description: The symbol of the central bank.
        name:
          type: string
          description: The name of the central bank.
        rate:
          type: number
          description: The interest rate of the central bank.
        date:
          type: string
          description: The date of the interest rate in YYYY-MM-DD format.
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: A short error message.
        message:
          type: string
          description: A more detailed error message.
  responses:
    BadRequestError:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Bad Request
            message: Invalid request parameters
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Unauthorized
            message: Invalid API key provided
    PaymentRequiredError:
      description: The request requires a paid subscription
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Payment Required
            message: >-
              This endpoint requires a paid subscription. Please upgrade your
              plan.
    NotFoundError:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Not Found
            message: Ticker XXXX not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.