Frankfurter

Get Historical Exchange Rate

Rate between two currencies on a past date.

Unverified

What the model is told

Get the exchange rate from a base currency to a target currency on a past date, in the format 2025-01-15. The result gives the value of one unit of the base currency in the target currency. If the date was a weekend or holiday the nearest earlier published rate is likely returned, so read the date in the response.

Request

GEThttps://api.frankfurter.dev/v2/rate/{{baseCurrency}}/{{targetCurrency}}?date={{date}}

Headers

None.

Parameters

  • baseCurrency stringThree-letter ISO code of the currency to convert from, for example GBP.
  • targetCurrency stringThree-letter ISO code of the currency to convert to, for example USD.
  • date stringThe date in the format 2025-01-15.

Try this tool

This runs in your browser and calls Frankfurter directly. Nothing goes through our servers.

Parameters
Three-letter ISO code of the currency to convert from, for example GBP.
Three-letter ISO code of the currency to convert to, for example USD.
The date in the format 2025-01-15.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "e98465a1-dd55-49ef-99a0-e832037e2dfd",
    "type": "HTTP_REQUEST",
    "label": "Get Historical Exchange Rate",
    "name": "get_historical_exchange_rate",
    "customName": false,
    "description": "Get the exchange rate from a base currency to a target currency on a past date, in the format 2025-01-15. The result gives the value of one unit of the base currency in the target currency. If the date was a weekend or holiday the nearest earlier published rate is likely returned, so read the date in the response.",
    "parameters": [
      {
        "name": "baseCurrency",
        "type": "string",
        "description": "Three-letter ISO code of the currency to convert from, for example GBP."
      },
      {
        "name": "targetCurrency",
        "type": "string",
        "description": "Three-letter ISO code of the currency to convert to, for example USD."
      },
      {
        "name": "date",
        "type": "string",
        "description": "The date in the format 2025-01-15."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://api.frankfurter.dev/v2/rate/{{baseCurrency}}/{{targetCurrency}}?date={{date}}"
      },
      "headers": [],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.