For Agents
Fetch latest, historical, and date-range FX rates and convert currency amounts via CurrencyAPI. Useful for AI agents that price multi-currency carts, generate financial reports, or normalise transactional data.
Get started with CurrencyAPI in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"get the latest exchange rate"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with CurrencyAPI API.
Fetch latest exchange rates for a base currency via GET /latest
Look up historical exchange rates for a specified date via GET /historical
Pull a range of historical rates between two dates via GET /range
List supported fiat and crypto currencies via GET /currencies
Check account status, plan, and quota via GET /status
GET STARTED
Use for: Get the latest USD to EUR exchange rate, I want to convert 100 GBP to JPY at today's rate, Retrieve the EUR to USD rate on 2024-12-31, Get exchange rates for a date range to chart trend
Not supported: Does not handle FX execution, hedging, or money movement — use for CurrencyAPI exchange-rate lookups and currency listing only.
CurrencyAPI provides reliable foreign exchange and currency conversion data through a small, focused REST surface. Endpoints return latest exchange rates, historical rates for a specified date, rates for a date range, the list of supported currencies, and account status. Responses are JSON with rates expressed against a chosen base currency. Authentication uses the apikey query parameter, making it straightforward to call from server-side jobs, spreadsheets, or AI agents that price products or convert balances.
Patterns agents use CurrencyAPI API for, with concrete tasks.
★ Multi-Currency Checkout Pricing
An e-commerce agent serving global customers can call /latest with the store's base currency and convert displayed prices on the fly. Cache rates per currency for an hour or a day depending on volatility tolerance, and call /currencies to render a supported-currency picker. The result is accurate cart pricing without writing FX logic in the storefront.
Call GET /latest with base_currency=USD and currencies=EUR,GBP,JPY then multiply cart totals by the returned rates.
Financial Reporting and Reconciliation
A finance team can use /historical and /range to convert past transactions to a reporting currency on the date they occurred. The API supports specifying a base currency and target list, so the agent can produce period-over-period reports that respect spot rates rather than current rates. Cache historical rates indefinitely because they do not change.
Call GET /historical with date=2024-12-31 and base_currency=USD to value year-end EUR balances in USD.
FX Rate Trend Charting
An analytics dashboard can render exchange-rate charts using GET /range to retrieve the rate for each day in a window. Pair with /currencies to populate currency selectors and /status to show plan usage so the team can budget API calls.
Call GET /range with datetime_start and datetime_end covering the last 90 days for base_currency=USD and currencies=EUR.
AI Agent Integration via Jentic
An AI assistant that handles money can use Jentic to discover CurrencyAPI rather than embedding the apikey query parameter in code. The agent searches for an intent like 'get the latest USD to EUR exchange rate', loads the schema, and runs the call against the credentials Jentic stores.
Use Jentic search for 'get the latest exchange rate' and execute the matching GET /latest operation with base_currency=USD.
5 endpoints — currencyapi provides reliable foreign exchange and currency conversion data through a small, focused rest surface.
METHOD
PATH
DESCRIPTION
/latest
Get latest exchange rates
/historical
Get exchange rates for a specific past date
/range
Get exchange rates for a date range
/currencies
List supported currencies
/status
Get API account status
/latest
Get latest exchange rates
/historical
Get exchange rates for a specific past date
/range
Get exchange rates for a date range
/currencies
List supported currencies
/status
Get API account status
Three things that make agents converge on Jentic-routed access.
Credential isolation
The CurrencyAPI apikey query parameter is stored encrypted in the Jentic MAXsystem vault and added to the URL at request time. Agents see scoped tool access, never the raw key.
Intent-based discovery
Agents search Jentic by intent (for example 'get the latest exchange rate') and Jentic returns the matching CurrencyAPI operation with its input schema, so the agent does not have to memorise base_currency and currencies parameters.
Time to first call
Direct integration is a couple of hours to handle the apikey, parse responses, and cache. Through Jentic the integration is under 15 minutes because the operations are exposed as tools.
Alternatives and complements available in the Jentic catalogue.
ExchangeRate-API
ExchangeRate-API offers similar latest and historical FX rates with a generous free tier.
Choose ExchangeRate-API when you want a free latest-rate feed; choose CurrencyAPI when you need richer historical and range queries.
exchangeratesapi.io
exchangeratesapi.io is another FX rates provider built on top of European Central Bank data.
Use exchangeratesapi.io when ECB-sourced rates are required; use CurrencyAPI for broader currency coverage including crypto.
CurrencyBeacon API
CurrencyBeacon covers latest, historical, and conversion endpoints across 168+ currencies.
Use CurrencyBeacon when you specifically need its conversion endpoint and minute-level updates; use CurrencyAPI for its date-range query.
Specific to using CurrencyAPI API through Jentic.
What authentication does the CurrencyAPI use?
CurrencyAPI uses an API key passed as the apikey query parameter on every request. Through Jentic the key is stored in the encrypted MAXsystem vault and added to the request URL at execution time so it never appears in the agent's prompt or logs.
Can I get historical exchange rates with CurrencyAPI?
Yes. Call GET /historical with a date parameter to retrieve the rates as of that date. For a series of dates use GET /range with datetime_start and datetime_end to pull a continuous window in one request.
What are the rate limits for CurrencyAPI?
Rate limits depend on the plan attached to your API key, with a free tier and several paid tiers. Call GET /status to read the current account quota and remaining calls before running a large historical pull.
How do I convert currency at the latest rate using CurrencyAPI through Jentic?
Run pip install jentic, search Jentic for 'get the latest exchange rate', load the schema for GET /latest, and execute it with base_currency and the target currencies. Multiply the amount you want to convert by the returned rate to get the converted value.
Which currencies does CurrencyAPI support?
CurrencyAPI covers a wide list of fiat currencies and a selection of cryptocurrencies. Call GET /currencies to fetch the full machine-readable list, including ISO codes and human-readable names, before building a currency picker.
Is CurrencyAPI free?
CurrencyAPI offers a free tier suitable for low-volume use and several paid tiers with higher quotas, historical access, and faster updates. Pricing details are on currencyapi.com rather than in the OpenAPI spec.