# Historical currency reference rates

Read historical blended currency reference rates for a date, or a monthly sampled series. Needs quotes. Served by Frankfurter.

Read historical blended currency reference rates for a date, or a monthly sampled series. Preserve the returned record dates and currency codes. Monthly grouping selects observations; it does not calculate a monthly average. Coverage varies by currency and date.

- Tool ID: `frankfurter/historical-rates`
- Provider: [Frankfurter](/providers/frankfurter.md)
- Capability: [Exchange rates](/tools/finance/fx.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "default": "EUR",
      "description": "Three-letter base currency code."
    },
    "quotes": {
      "type": "string",
      "pattern": "^[A-Z]{3}(,[A-Z]{3}){0,2}$",
      "maxLength": 11,
      "description": "One to three comma-separated quote currency codes, e.g. USD,GBP."
    },
    "date": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:19(?:4[89]|[5-9][0-9])|20[0-9]{2})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
      "description": "Calendar date between 1948 and 2099, YYYY-MM-DD."
    },
    "from": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:19(?:4[89]|[5-9][0-9])|20[0-9]{2})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
      "description": "Calendar date between 1948 and 2099, YYYY-MM-DD."
    },
    "to": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:19(?:4[89]|[5-9][0-9])|20[0-9]{2})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
      "description": "Calendar date between 1948 and 2099, YYYY-MM-DD."
    },
    "group": {
      "type": "string",
      "enum": [
        "month"
      ],
      "description": "Required for ranges. Sampling is performed by Frankfurter."
    }
  },
  "required": [
    "quotes"
  ],
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "date"
      ],
      "not": {
        "anyOf": [
          {
            "required": [
              "from"
            ]
          },
          {
            "required": [
              "to"
            ]
          },
          {
            "required": [
              "group"
            ]
          }
        ]
      }
    },
    {
      "required": [
        "from",
        "to",
        "group"
      ],
      "not": {
        "required": [
          "date"
        ]
      }
    }
  ]
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "frankfurter/historical-rates",
  "input": {
    "base": "EUR",
    "quotes": "USD",
    "date": "2025-01-15"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Frankfurter blended rates are free for commercial use; API code is MIT licensed..

Attribution: Blended reference rates by Frankfurter, from central-bank and official sources..

[Provider documentation](https://frankfurter.dev/)

[REST inspection](https://api.agentik.cc/v1/tools/frankfurter/historical-rates) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/frankfurter/historical-rates) · [Agent index](/llms.txt)
