Frankfurter

Get Exchange Rate

Latest rate between two currencies.

Unverified

What the model is told

Get the latest exchange rate from a base currency to a target currency. The result gives the value of one unit of the base currency in the target currency. Multiply to convert an amount.

Request

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

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.

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.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "eb86e89f-672a-4514-9f40-536d01b0925f",
    "type": "HTTP_REQUEST",
    "label": "Get Exchange Rate",
    "name": "get_exchange_rate",
    "customName": false,
    "description": "Get the latest exchange rate from a base currency to a target currency. The result gives the value of one unit of the base currency in the target currency. Multiply to convert an amount.",
    "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."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://api.frankfurter.dev/v2/rate/{{baseCurrency}}/{{targetCurrency}}"
      },
      "headers": [],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.