Skip to content
Foreign exchange rates API

Foreign exchange rates made simple and transparent

Real-time and historical exchange rates for 190+ currencies, crypto and precious metals in one JSON API, with conversion, time series, fluctuation and averages. Rates refresh every 60 seconds on paid plans.

Currencies190+
UpdatesEvery 60 s
HistorySince 1999
Free plan300 req / mo
curl -G "https://api.fxapi.com/v1/latest" \
  -d base_currency=USD \
  -d currencies=EUR,GBP,JPY \
  -H "apikey: $FXAPI_KEY"
{
  "meta": {
    "last_updated_at": "2026-10-01T23:59:59Z"
  },
  "data": {
    "EUR": { "code": "EUR", "value": 0.8890791312 },
    "GBP": { "code": "GBP", "value": 0.757731092 },
    "JPY": { "code": "JPY", "value": 157.9280223263 }
  }
}
200 OK · application/json
01

Updates every 60 seconds

On paid plans, every rate refreshes every 60 seconds. The free plan updates daily.

02

190+ currencies

Every major fiat currency, plus Bitcoin, Ethereum and other cryptocurrencies, and gold, silver, platinum and palladium.

03

Secure by default

HTTPS everywhere, IP and URL allowlists and team access controls keep your keys and data safe.

Key facts

fxapi at a glance

A foreign exchange rates API – also called an FX rates API – is a web service that returns currency exchange rates as machine-readable data over HTTPS. fxapi, built by Everapi GmbH (Austria), delivers real-time and historical mid-market exchange rates for 190+ currencies as JSON – for pricing, currency conversion, accounting, analytics and AI agents.

ProviderEverapi GmbH, Austria (EU)
DataReal-time and historical foreign exchange rates (mid-market reference rates)
Currencies190+: active ISO 4217 fiat currencies, gold, silver, platinum, palladium and 16 cryptocurrencies
Historical dataDaily exchange rates since 1 January 1999
Update frequencyEvery 60 seconds (Professional, Enterprise) · hourly (Basic) · daily (Free)
Endpointslatest, historical, convert, range (time series), fluctuation, average, currencies, status
Format & authREST over HTTPS · JSON (CSV for time series, fluctuation, averages) · API key in the apikey header
Base currencyAny supported currency on every plan (default USD)
Free plan$0 · 300 requests/month · no credit card
Paid plans$9.99 · $34.99 · $74.99 per month (15,000 / 600,000 / 1,700,000 requests)
SDKs & toolsJavaScript, Python, PHP, Go, Ruby, C#, Rust · OpenAPI 3.1 · hosted MCP server for AI agents
How it works

How the foreign exchange rates API works

fxapi is a REST API that returns mid-market currency exchange rates as JSON. Send one HTTPS request with your API key, pick a base currency and the currencies you need – the response contains every rate plus the exact time it was last updated.

01 · Get a key

Sign up for free

Create an account and copy your API key – no credit card. The free plan includes 300 requests a month with daily updates.

02 · GET /v1/latest

Request exchange rates

Send the key in the apikey header. Choose any of 190+ ISO 4217 currencies, metals or cryptos as base_currency, or ask for a past date since 1999.

03 · JSON · CSV

Use the data anywhere

Read data.EUR.value in your backend, spreadsheet or BI tool – or let an AI agent call it through the MCP server. Time series and averages also come as CSV.

Live demo

Try the latest endpoint

Pick two currencies and see the rate the API returns. 99.99% uptime, stable JSON.

GET /v1/latest
1 USD = 0.8890791312 EUR
This dataset was last updated at 10/01/2026, 23:59:59
{
  "meta": {
    "last_updated_at": "2026-10-01T23:59:59Z"
  },
  "data": {
    "EUR": {
      "code": "EUR",
      "value": 0.8890791312
    }
  }
}
Pricing

Plans

Start free with 300 requests a month. Paid plans add faster updates, more endpoints and team features.

Compare all plans →
PlanPer monthRequests / monthUpdatesIncludes
Free$0300DailyLatest, historical, fluctuation and averages
Basic$9.9915,000HourlyFree features plus the conversion endpoint
Enterprise$74.991,700,000Every minuteProfessional features plus IP and URL whitelisting, 5 API keys, SLA

Yearly billing: two months free. Prices exclude VAT.

Built for AI agents

A hosted MCP server for exchange rates

Connect Claude, Cursor, VS Code or any other MCP client. The API's endpoints become tools your agent can call, with your API key in the apikey header.

MCP https://api.fxapi.com/mcp
ClaudeCursorVS CodeClaude Code
How to connect →
// mcp.json
{
  "mcpServers": {
    "fxapi": {
      "url": "https://api.fxapi.com/mcp",
      "headers": { "apikey": "YOUR_API_KEY" }
    }
  }
}
From a customer
“fxapi.com is straight-forward and reliable since day one. The API is customizable to our company’s needs, easy-to-use, and has helped our international business reach the next level.”
Wernhard Berger, CEO, Breatheilo.com
Compare

fxapi vs. other exchange rate APIs

How fxapi compares with popular alternatives on free tier, entry price, update speed and history.

All comparisons →
APIFree tierEntry priceFastest updatesHistory
Open Exchange Rates1,000 req/mo, USD base only$12 (10,000)5 min ($97); 1 s on requestSince 1999
ExchangeRate-API1,500 req/mo, daily$10 (30,000)5 min ($30)Paid plans
CurrencyFreaks1,000 calls/mo, USD base only$9.99 (15,000)60 s (from $99.99)Since 1984 (major fiat, paid)
CurrencyBeacon5,000 req/mo, USD base only$10 (50,000)1 min (from $99)Since 1996
FrankfurterFree, no key, daily rates– (open source)DailySince 1948

Competitor data from each provider's own pricing pages, checked October 8–9, 2026 – see the comparison pages for sources. Plans change; verify on their sites.

Frequently asked questions

What is a foreign exchange rates API?
A web service, also called an FX rates API, that returns currency exchange rates in a machine-readable format such as JSON. Your application requests the latest EUR/USD rate, the rate on a past date or a converted amount over HTTPS and uses it directly in prices, invoices, reports or dashboards. Read the full explainer.
Is fxapi free?
Yes. The Free plan includes 300 requests a month with daily updates and the latest, historical, fluctuation and average endpoints – no credit card required. Paid plans start at $9.99 a month. See the free plan details and pricing.
How often are the exchange rates updated?
Every 60 seconds on Professional and Enterprise, hourly on Basic and daily on Free. Every response includes a last_updated_at timestamp.
How many currencies are supported?
190+: the active ISO 4217 fiat currencies we cover, gold, silver, platinum and palladium, and 16 cryptocurrencies such as BTC and ETH. See the currency list.
How far back does historical data go?
Daily data goes back to 1 January 1999. Use /v1/historical for single dates, /v1/range for time series and /v1/average for monthly, quarterly or yearly averages.
What is the best foreign exchange rates API?
It depends on what you need. Check update frequency, historical depth, base-currency support on the free plan, time-series and average endpoints, and price at your volume. fxapi offers 60-second updates from $34.99, daily history since 1999, any base currency on every plan and fluctuation plus period averages on the free plan. See the side-by-side comparison.
Can I get real-time foreign exchange rates from fxapi?
Yes. On the Professional and Enterprise plans the real-time exchange rate API refreshes every 60 seconds; Basic updates hourly. The rates are mid-market reference rates, not executable trading quotes.
Can I use fxapi in Excel or Google Sheets?
Yes – with Power Query in Excel or an Apps Script custom function in Google Sheets. Step-by-step: Excel guide and Google Sheets guide.
Can I change the base currency?
Yes, on every plan. Pass base_currency with any supported code; the default is USD.
Which programming languages are supported?
Any language that can make an HTTPS request. There are official SDKs for JavaScript, Python, PHP, Go, Ruby, C# and Rust, an OpenAPI 3.1 spec and step-by-step guides.
Custom plans

Get a custom plan!

Some businesses need a tailored plan. Tell us what you need and we'll put one together.