This snippet gives live exchange rates. In order to use it, you need to get a personal API token from https://exchangerate.host/ which will replace the XXXX. The free option gives you 100 queries per month. You can change the currency by changing the current GBPUSD option.
{note}{urlload: https://api.exchangerate.host/live?source=GBP¤cies=USD&access_key=XXXX; done=(res) -> ["response": fromjson(res), "isloading": no]; start=() -> ["isloading": yes]} {if: isloading}Loading...{else}Response: {=response}{endif}
{rate=response["quotes"]["GBPUSD"]; trim=yes}{endnote}
US Exchange Rate = {=rate} at {time: HH:mm} on {time: Do MMM YY}