Docs/Sources/Currency Grounding Data for AI Agents

Currency Grounding Data for AI Agents

Convert Currency Rates

OperationalCredits 2 per callp50 369msFinance

Overview

A currency exchange rate API with live FX rates for 170+ currencies, plus a past date's closing rate on paid plans. Currency Converter works by analyzing the amount and currency provided and converting the currency rate. It uses advanced algorithms to convert the currency rate based on the amount and currency and returns the converted currency rate. Each response names both currencies. Paid plans also get the pair's 24-hour change, high and low, its 1-day, 7-day, 30-day and 1-year percent change, and its 30-day high, low, average and volatility; history=true returns the last 30 daily closing rates and hourly=true the rate for each of the last 24 hours.

Live Test Currency Grounding Data for AI Agents Source →

The tool

Once your client is connected to the VerveContext server, this appears in its tool list as CurrencyGroundingDataforAIAgents. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "CurrencyGroundingDataforAIAgents",
  "arguments": {
    "value": "1",
    "from": "USD",
    "to": "EUR"
  }
}

You do not name the tool yourself; the model picks it. Asking about 1 in the terms this source covers is enough for it to reach for CurrencyGroundingDataforAIAgents on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every source in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervecontext": {
      "url": "https://api.vervecontext.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
valueRequirednumberThe amount to convert
range 0–∞
fromRequiredstringThe ISO 4217 currency code to convert from
toRequiredstringThe ISO 4217 currency code to convert to
dateOptionalPremiumstringOptional past date (YYYY-MM-DD) to use that day's closing rates instead of live rates. History runs from 1999-01-04 for about 30 major currencies and covers every supported currency from March 2024. A day with no rates, such as a weekend or holiday, uses the last close before it.
historyOptionalPremiumbooleanInclude the pair's daily closing rate for the last 30 days
hourlyOptionalPremiumbooleanInclude the pair's rate for each of the last 24 hours (live rates only, not with date)

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "from": "USD",
    "to": "EUR",
    "value": 100,
    "convertedValue": 89.5099,
    "rate": 0.895099,
    "change24h": 0.003587,
    "change24hPct": 0.4024,
    "changeDirection": "up",
    "high24h": 0.895323,
    "low24h": 0.8911,
    "date": "2026-10-27",
    "lastUpdated": "2026-10-27T17:41:09.810Z",
    "fromName": "US Dollar",
    "toName": "Euro",
    "change1d": 0.4467,
    "change7d": 0.5739,
    "change30d": 1.9699,
    "change1y": 4.1682,
    "high30d": 0.895099,
    "low30d": 0.878037,
    "average30d": 0.889911,
    "volatility30d": 0.2427,
    "history": [
      {
        "date": "2026-09-28",
        "rate": 0.878037
      },
      {
        "date": "2026-09-29",
        "rate": 0.880226
      },
      {
        "date": "2026-09-30",
        "rate": 0.882434
      },
      {
        "date": "2026-10-01",
        "rate": 0.883652
      },
      {
        "date": "2026-10-02",
        "rate": 0.888626
      },
      {
        "date": "2026-10-03",
        "rate": 0.888626
      },
      {
        "date": "2026-10-04",
        "rate": 0.888246
      },
      {
        "date": "2026-10-05",
        "rate": 0.894174
      },
      {
        "date": "2026-10-06",
        "rate": 0.891674
      },
      {
        "date": "2026-10-07",
        "rate": 0.890419
      },
      {
        "date": "2026-10-08",
        "rate": 0.892463
      },
      {
        "date": "2026-10-09",
        "rate": 0.889796
      },
      {
        "date": "2026-10-10",
        "rate": 0.892716
      },
      {
        "date": "2026-10-11",
        "rate": 0.892571
      },
      {
        "date": "2026-10-12",
        "rate": 0.892822
      },
      {
        "date": "2026-10-13",
        "rate": 0.894845
      },
      {
        "date": "2026-10-14",
        "rate": 0.891987
      },
      {
        "date": "2026-10-15",
        "rate": 0.890861
      },
      {
        "date": "2026-10-16",
        "rate": 0.88987
      },
      {
        "date": "2026-10-17",
        "rate": 0.889757
      },
      {
        "date": "2026-10-18",
        "rate": 0.889761
      },
      {
        "date": "2026-10-19",
        "rate": 0.890515
      },
      {
        "date": "2026-10-20",
        "rate": 0.889991
      },
      {
        "date": "2026-10-21",
        "rate": 0.890629
      },
      {
        "date": "2026-10-22",
        "rate": 0.889437
      },
      {
        "date": "2026-10-23",
        "rate": 0.891773
      },
      {
        "date": "2026-10-24",
        "rate": 0.892532
      },
      {
        "date": "2026-10-25",
        "rate": 0.892668
      },
      {
        "date": "2026-10-26",
        "rate": 0.891118
      },
      {
        "date": "2026-10-27",
        "rate": 0.895099
      }
    ],
    "hourly": [
      {
        "hour": 18,
        "rate": 0.891512,
        "timestamp": "2026-10-26T18:41:09.810Z"
      },
      {
        "hour": 19,
        "rate": 0.891173,
        "timestamp": "2026-10-26T19:41:09.810Z"
      },
      {
        "hour": 20,
        "rate": 0.8911,
        "timestamp": "2026-10-26T20:41:09.810Z"
      },
      {
        "hour": 21,
        "rate": 0.891849,
        "timestamp": "2026-10-26T21:41:09.810Z"
      },
      {
        "hour": 22,
        "rate": 0.89212,
        "timestamp": "2026-10-26T22:41:09.810Z"
      },
      {
        "hour": 23,
        "rate": 0.891692,
        "timestamp": "2026-10-26T23:41:09.810Z"
      },
      {
        "hour": 0,
        "rate": 0.891922,
        "timestamp": "2026-10-27T00:41:09.810Z"
      },
      {
        "hour": 1,
        "rate": 0.892681,
        "timestamp": "2026-10-27T01:41:09.810Z"
      },
      {
        "hour": 2,
        "rate": 0.892646,
        "timestamp": "2026-10-27T02:41:09.810Z"
      },
      {
        "hour": 3,
        "rate": 0.892287,
        "timestamp": "2026-10-27T03:41:09.810Z"
      },
      {
        "hour": 4,
        "rate": 0.892805,
        "timestamp": "2026-10-27T04:41:09.810Z"
      },
      {
        "hour": 5,
        "rate": 0.893422,
        "timestamp": "2026-10-27T05:41:09.810Z"
      },
      {
        "hour": 6,
        "rate": 0.893135,
        "timestamp": "2026-10-27T06:41:09.810Z"
      },
      {
        "hour": 7,
        "rate": 0.892984,
        "timestamp": "2026-10-27T07:41:09.810Z"
      },
      {
        "hour": 8,
        "rate": 0.8937,
        "timestamp": "2026-10-27T08:41:09.810Z"
      },
      {
        "hour": 9,
        "rate": 0.894058,
        "timestamp": "2026-10-27T09:41:09.810Z"
      },
      {
        "hour": 10,
        "rate": 0.89364,
        "timestamp": "2026-10-27T10:41:09.810Z"
      },
      {
        "hour": 11,
        "rate": 0.893781,
        "timestamp": "2026-10-27T11:41:09.810Z"
      },
      {
        "hour": 12,
        "rate": 0.894553,
        "timestamp": "2026-10-27T12:41:09.810Z"
      },
      {
        "hour": 13,
        "rate": 0.894604,
        "timestamp": "2026-10-27T13:41:09.810Z"
      },
      {
        "hour": 14,
        "rate": 0.894209,
        "timestamp": "2026-10-27T14:41:09.810Z"
      },
      {
        "hour": 15,
        "rate": 0.894651,
        "timestamp": "2026-10-27T15:41:09.810Z"
      },
      {
        "hour": 16,
        "rate": 0.895323,
        "timestamp": "2026-10-27T16:41:09.810Z"
      },
      {
        "hour": 17,
        "rate": 0.895099,
        "timestamp": "2026-10-27T17:41:09.810Z"
      }
    ]
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
fromstringUSDSource currency code (e.g., USD, EUR)
tostringEURTarget currency code (e.g., USD, EUR)
valuenumber100Original amount to convert
convertedValuenumber89.5099Converted amount in target currency
ratenumber0.895099Current exchange rate for the currency pair
change24hPremiumnumber0.003587Rate change vs 24 hours ago
change24hPctPremiumnumber0.4024Percentage rate change vs 24 hours ago
changeDirectionstringupDirection of 24h change: up, down, or unchanged
high24hPremiumnumber0.895323Highest rate in the past 24 hours
low24hPremiumnumber0.8911Lowest rate in the past 24 hours
datestring2026-10-27UTC date (YYYY-MM-DD) of the rates used: the live rates' date, or the day served for a date request
lastUpdatedstring2026-10-27T17:41:09.810ZISO 8601 timestamp of when the exchange rates were last refreshed
fromNamestringUS DollarEnglish name of the source currency; null when none is known
toNamestringEuroEnglish name of the target currency; null when none is known
change1dPremiumnumber0.4467Percent change in the pair's rate since the previous day's close; null until a close from then is stored
change7dPremiumnumber0.5739Percent change in the pair's rate over the last 7 days; null until a close from then is stored
change30dPremiumnumber1.9699Percent change in the pair's rate over the last 30 days; null until a close from then is stored
change1yPremiumnumber4.1682Percent change in the pair's rate over the last year; null when no close from then is stored
high30dPremiumnumber0.895099Highest daily closing rate for the pair over the last 30 days; null until two days are stored
low30dPremiumnumber0.878037Lowest daily closing rate for the pair over the last 30 days; null until two days are stored
average30dPremiumnumber0.889911Mean daily closing rate for the pair over the last 30 days; null until two days are stored
volatility30dPremiumnumber0.2427Standard deviation of the daily percent changes over the last 30 days (not annualized); null until two days are stored
historyPremiumarray[30]The pair's daily closing rate for the last 30 days, oldest first (when history=true)
history.0.datePremiumstring2026-09-28UTC date of the close (YYYY-MM-DD)
history.0.ratePremiumnumber0.878037Closing rate from the source to the target currency
hourlyPremiumarray[24]The pair's rate for each of the last 24 hours, oldest first (when hourly=true)
hourly.0.hourPremiumnumber18UTC hour of day (0-23) the rate was recorded in
hourly.0.ratePremiumnumber0.891512Rate from the source to the target currency at that hour
hourly.0.timestampPremiumstring2026-10-26T18:41:09.810ZISO 8601 time the rate was recorded

Why ground on it

A model can produce something that looks like this answer from its training data, and be confidently out of date or simply wrong. This source returns the current value in a shape you can check, which is the difference between an answer you can cite and one you have to hedge.

Point an evaluation at convertedValue: it is the field most worth pinning a claim to, and it is either present and current or absent — never plausibly invented.

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This source is not part of VerveContext. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Supported Currencies

170+ world currencies supported including fiat currencies, cryptocurrencies, and precious metals.

CodeCurrencyRegion
AEDUAE DirhamUnited Arab Emirates
AFNAfghan AfghaniAfghanistan
ALLAlbanian LekAlbania
AMDArmenian DramArmenia
ANGNetherlands Antillean GuilderCuraçao
AOAAngolan KwanzaAngola
ARSArgentine PesoArgentina
AUDAustralian DollarAustralia
AWGAruban FlorinAruba
AZNAzerbaijani ManatAzerbaijan
BAMBosnia-Herzegovina Convertible MarkBosnia and Herzegovina
BBDBarbadian DollarBarbados

Use cases

Multi-Currency Storefront Checkout
E-commerce platforms convert catalog prices to shoppers' local currencies and display current exchange rates at checkout before processing payment.
Cross-Border Expense Reporting
When employees submit foreign travel receipts, accounting software converts reimbursable expenses into company base currency using the exact exchange rate.
International Invoice Generation
Generate export invoices in foreign buyer currencies by calculating converted subtotals and showing whether the exchange rate moved up or down.
Travel Card Expense Tracking
To prevent surprise foreign transaction charges, mobile banking apps calculate local currency balances on the fly using real-time conversion rates.

Other ways to use Currency Grounding Data for AI Agents

Set up Currency Grounding Data for AI Agents on VerveContext, or reach the same source a different way. Your VerveContext account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →

More in Finance:

Was this page helpful?