# Financial Datasets — Interest Rates (Historical)

Retrieve central-bank policy rate history via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Financial Datasets, pass parameters such as bank, start_date, end_date, and retrieve structured data including central bank code, central bank name, and published policy rate for policy-rate chart, and economic comparison, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/financial-datasets/financial-datasets-interest-rates-historical/03ad01d4-9c5e-43aa-a2c6-fe9f10cffbb0/
API ID: 03ad01d4-9c5e-43aa-a2c6-fe9f10cffbb0
Provider: financialdatasets
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/financialdatasets/macro/interest-rates
Page update time: 2026-12-03T02:49:08.328Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.02 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:07.430Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "20000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Financial Datasets Rate History API

Provide bank, such as FED, with optional start\_date and end\_date. The documented interest\_rates array contains bank, name, rate and date. A date describes when the reported rate applies; preserve bank identity and rate context when comparing institutions.

## What You Can Build

- **Policy-rate chart**: Plot published rates for one central bank.
- **Economic comparison**: Compare banks while preserving their identifiers and effective dates.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `interest_rates[].bank` | Central bank code |
| `interest_rates[].name` | Central bank name |
| `interest_rates[].rate` | Published policy rate |
| `interest_rates[].date` | Date the reported rate applies |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Financial Datasets — Interest Rates (Historical) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "bank": {
          "type": "string",
          "description": "The central bank code, e.g. FED, ECB, BOJ. Use the /macro/interest-rates/banks endpoint to get the list of available banks."
        },
        "start_date": {
          "type": "string",
          "description": "The first date to return, inclusive, in YYYY-MM-DD format. Defaults to five years before end_date when both dates are omitted; omit it with an end_date to get all available history through that date."
        },
        "end_date": {
          "type": "string",
          "description": "The last date to return, inclusive, in YYYY-MM-DD format. Defaults to today."
        },
        "cursor": {
          "type": "string",
          "description": "Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it."
        }
      },
      "required": [
        "bank"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Request example
Generated from input parameters. Replace placeholders before use.
```bash
curl \
  'https://api.openany.si/v1/agent-apis/financialdatasets/macro/interest-rates?bank=%3Cbank%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
No response example is configured.

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is bank required for the historical endpoint?
Yes. Choose one central-bank code, such as FED, ECB or BOJ.

### What does date represent?
It identifies the date on which the reported policy rate applies. It is not your request timestamp.

### Can I limit the requested history?
Use start_date and end_date in YYYY-MM-DD form.

### How do I continue through the results?
Use the opaque cursor from the pagination response on this same OpenAny endpoint, retaining required inputs. Keep the original query scope when continuing; a new filter selection starts a new request without that cursor.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Review the pricing area for the selected API implementation before calling. Follow its billing unit and terms; retrieving additional pages requires additional requests.

## Available implementations
- financialdatasets: https://openany.si/financial-datasets/financial-datasets-interest-rates-historical/03ad01d4-9c5e-43aa-a2c6-fe9f10cffbb0/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
