Overview
A currency rate API for tracking a single currency rather than a pair. Pass a currency code to get the value of one unit in US dollars (price) and the units per dollar (rate), with the currency's English name, symbol, the direction it moved since yesterday's close and when the rates were refreshed; rates refresh every few minutes. Paid plans can price the currency in any other base, and add its 1-day, 7-day, 30-day and 1-year percent change, the 24-hour high and low, and the 30-day high, low, average and volatility. hourly=true returns the price for each of the last 24 hours and daily=true its last 30 daily closes. To convert between two currencies use Exchange Rate or Currency Converter.
Live Test Currency Rate Source →
Formula
One function covers the whole catalog: the first argument names the source, the rest are its inputs, and the "field" pair says which single value lands in the cell. Formulas covers the grammar that applies to all of them.
=VERVE("currencyrate", A2, "field", "currencyName")=VERVE.CALL("currencyrate", A2, "field", "currencyName")A2 holds the currency you are looking up. Drag the formula down and each row resolves on its own.
With literal values
Nothing has to come from a cell — typed values work the same way.
=VERVE("currencyrate", "EUR", "field", "currencyName")=VERVE.CALL("currencyrate", "EUR", "field", "currencyName")Inputs
Required inputs are positional, in the order below. Everything else is passed as a "name", value pair after them — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.
| Input | Type | Where it goes | Description |
|---|---|---|---|
currencyRequired | string | argument 2 (A2) | The ISO 4217 code of the currency to price (e.g. EUR) |
baseOptionalPremium | string | "base", value | The currency to price it in; defaults to USD default USD |
hourlyOptionalPremium | boolean | "hourly", value | Include the price for each of the last 24 hours |
dailyOptionalPremium | boolean | "daily", value | Include the daily closing price for the last 30 days |
Passing an option
=VERVE("currencyrate", A2, "base", "USD")=VERVE.CALL("currencyrate", A2, "base", "USD")What lands in your sheet
The "field" pair is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.
Seeing everything at once
Drop the "field" pair and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.
=VERVE("currencyrate", A2)=VERVE.CALL("currencyrate", A2)The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.
Response fields
Paths are relative to data. Each one is exactly what the "field" pair accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.
| Use as "field" | Type | Example cell value | Description |
|---|---|---|---|
currency | string | EUR | ISO 4217 code of the currency priced |
currencyName | string | Euro | English name of the currency; null when none is known |
currencySymbol | string | € | Symbol of the currency (e.g. €); the code itself when it has no symbol |
base | string | USD | ISO 4217 code of the currency the price is in |
baseName | string | US Dollar | English name of the base currency |
price | number | 1.1171949 | Value of 1 unit of the currency in the base currency |
rate | number | 0.895099 | Units of the currency per 1 unit of the base currency |
changeDirection | string | down | up, down or unchanged since yesterday's close; null when no close is stored |
date | string | 2026-10-27 | UTC date of the rates (YYYY-MM-DD) |
lastUpdated | string | 2026-10-27T20:39:40.670Z | ISO 8601 time the rates were last refreshed |
change1dPremium | number | -0.4448 | Percent change in price since yesterday's close; null until a close from then is stored |
change7dPremium | number | -0.5707 | Percent change in price over the last 7 days; null until a close from then is stored |
change30dPremium | number | -1.9319 | Percent change in price over the last 30 days; null until a close from then is stored |
change1yPremium | number | -4.0014 | Percent change in price over the last year; null when no close from then is stored |
high24hPremium | number | 1.1222085 | Highest hourly price over the last 24 hours; null when no hours are stored |
low24hPremium | number | 1.1169153 | Lowest hourly price over the last 24 hours; null when no hours are stored |
high30dPremium | number | 1.1389042 | Highest daily close over the last 30 days; null until two days are stored |
low30dPremium | number | 1.1171949 | Lowest daily close over the last 30 days; null until two days are stored |
average30dPremium | number | 1.1237302 | Mean daily close over the last 30 days; null until two days are stored |
volatility30dPremium | number | 0.2421 | Standard deviation of the daily percent changes over the last 30 days (not annualized); null until two days are stored |
hourlyPremium | array[24] | Price for each of the last 24 hours, oldest first (when hourly=true) | |
hourly.0.hourPremium | number | 21 | UTC hour of day (0-23) the price was recorded in |
hourly.0.pricePremium | number | 1.1216899 | Value of 1 unit in the base currency at that hour |
hourly.0.timestampPremium | string | 2026-10-26T21:39:40.670Z | ISO 8601 time the price was recorded |
dailyPremium | array[30] | Daily closing price for the last 30 days, oldest first; today is the live price (when daily=true) | |
daily.0.datePremium | string | 2026-09-28 | UTC date of the close (YYYY-MM-DD) |
daily.0.pricePremium | number | 1.1389042 | Value of 1 unit in the base currency at that close |
Filling a whole column
Both platforms make one batched call for a column rather than one request per cell, and both cost the same — 2 credits per row looked up. How you write it differs, because the two runtimes batch at different points.
=VERVE("currencyrate", A2:A100, "field", "currencyName")In Google Sheets, give the arguments ranges and the answers spill down from the cell you typed in. Custom functions there run synchronously and in isolation, so dragged cells cannot be coalesced — the range form is how a column becomes one call. The "field" pair is required here: a per-row two-column table has nowhere to spill. Use a full column per input (A2:A100, not A2) — a single-cell reference is read as row 1 only and the rest of the column comes back blank.
In Excel, type the formula once and fill down — no range form and none needed, because its runtime is asynchronous and the add-in coalesces the calls a fill produces into a single batched request. Do not hand VERVE.CALL a range: Excel flattens it into positional arguments, so A2:A100 arrives as a hundred separate arguments and the cell reads #ERR rather than filling.
Either way, column A holds your currency values and the answers land beside them, one row each, blank rows skipped.
When a cell doesn't fill
A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.
| Cell reads | What happened |
|---|---|
#ERR Not connected | No API key saved. Open the side panel and connect your account. |
#ERR Replace <name> with a cell or value | A preview formula was copied as-is. Swap the placeholder for a cell reference. |
#ERR No "x" in currencyrate | An option name this source does not take. The message lists the ones it does. |
#ERR No data point "…" | The "field" path is not in the response. Check it against the table above. |
#PREMIUM(field) | The field exists but your plan does not include it. |
#ERR Out of credits | The cycle's credits are spent. Usage resets on your billing date. |
Before the formula works
The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.
- Install the add-in for Google Sheets or Excel.
- Open the side panel and sign in, or paste a key from your dashboard.
- Type the formula above into any cell.
Use cases
- Currency Watch Widgets
- Show a home-currency ticker with today's value, direction arrow and a 24-hour sparkline drawn from the hourly prices.
- Treasury Exposure Monitoring
- Finance teams flag foreign-currency balances whose 30-day volatility or 7-day move crosses a threshold before month-end revaluation.
- Remittance Timing Alerts
- Remittance apps tell senders when a currency is near its 30-day high against their home currency so they send at a better rate.
- Travel Budget Planning
- Travel apps show how a destination's currency has moved over the past month so travellers can decide when to buy cash.
Other ways to use Currency Rate
Set up Currency Rate on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.
Related
More in Finance: