Skip to content

Guide

How to Choose an Exchange Rate API: A Checklist

A neutral checklist for choosing an exchange rate API: coverage, freshness, history depth, limits, errors, caching, key security and pricing to test first.

Updated

Exchange rate APIs look interchangeable from the outside: send two currency codes, get a number back. The differences show up later, as a stale rate on an invoice, a surprise bill, or an outage you cannot diagnose. This checklist is the set of questions worth answering before you commit to any provider. Each item says what to look for and how to test it yourself, with FXbase used as the worked example so every claim can be checked against a live answer.

Start with your use case

Write down three numbers before you compare anything:

  • How fresh a rate must be. A price shown in a shop can be a day old; a treasury dashboard may need minutes.
  • How far back you need to read. Monthly reports need a year or two; a backtest may need a decade.
  • How many requests a month you will make after caching, not before. A cache shared across users usually turns thousands of page views into a few hundred calls.

Those three numbers decide the plan you need far more than any feature list does.

1. Coverage

Check that every currency you sell in, pay in or report in is listed, using the provider's own currency list endpoint rather than a page of flags. Look for ISO 4217 codes, and check whether you can choose any of them as the base; if you cannot, you will be computing cross rates yourself. FXbase lists 166 currencies at GET /v1/currencies, and any of them can be the base.

2. Freshness you can verify

"Real-time" means very different things on different plans. What matters is whether each answer tells you the day and time its rates belong to, so that your application, and your auditors, can see it. A good answer carries that on every response:

Response
{
  "base": "USD",
  "date": "2026-11-18",
  "timestamp": "2026-11-18T16:00:04Z",
  "source": "daily",
  "rates": {
    "EUR": 0.91126,
    "INR": 88.6215
  },
  "tier": "developer"
}

Here date is the UTC day, timestamp is when the rates were fetched, and source names the feed. Also look for a cheap way to check freshness from your monitoring:

Freshness, in one call
curl "https://api.fxbase.dev/v1/status" \
  -H "Authorization: Bearer $FXBASE_API_KEY"
Response
{
  "date": "2026-11-18",
  "timestamp": "2026-11-18T16:00:04Z",
  "stale": false
}

stale turns true when the latest day is more than two days old, which is the signal to alert on. The status endpoint is documented with the rest.

3. History depth and ranges

Ask how far back each plan reads, not just how far back the data goes. FXbase accepts dates from 1999-01-01, and each plan reads back a set number of days from today. Also check whether a date range is a single request: one request per day makes a one-year backfill cost hundreds of calls. The time series endpoint returns up to 366 days in one answer; the historical rates guide shows a multi-year backfill.

4. Limits and pricing

Pricing pages hide the details that decide your bill. For each plan, find out:

  • the per-minute limit as well as the monthly quota;
  • which answers count: do errors, or cache revalidations, use up the quota?
  • what happens at the limit: a clear refusal, a slowdown, or an overage charge;
  • which features, such as history, each plan actually includes.

FXbase publishes all of these per plan:

PlanPriceRequests a monthPer minuteRatesHistory
DeveloperFree5005Daily rates, previous dayNone
Startup$12 a month30,00060Hourly rate snapshots1 year of history
Growth$49 a month250,000300Live rates, updated every 60 s5 years of history
EnterpriseContact salesunlimitedunlimitedLive rates, updated every 60 s5 years of history

Every answer under 400 counts, including a 304; errors do not. At a limit you get a 429 with Retry-After, described in the rate limits guide.

5. Errors and documentation

Your code will spend more time on failures than on successes, so look at those first. An error should have a stable, machine-readable code you can branch on, a human explanation, and an id that support can trace. A standard format such as RFC 9457 problem details means generic tooling understands it. FXbase lists every code and status under errors. Then check that the reference documents every parameter with its limits, such as how many symbols one request may carry.

6. Key security

An API key in a query string ends up in logs, browser history and analytics. Prefer a provider that takes it in a header, and check what you can restrict a key to. FXbase takes keys as an Authorization: Bearer header, and a key can carry scope, IP address and referrer rules; see authentication. Also ask whether the API is meant to be called from browsers at all. FXbase does not accept cross-origin browser calls, so the key stays on your server.

7. Caching and client support

Rates change on a schedule, so most answers can be reused. Look for Cache-Control and ETag headers that say for how long, and check whether the rate limit state is in standard RateLimit headers your client can read. The caching section covers both. Official SDKs save boilerplate, but plain HTTP should be easy too; FXbase SDKs are coming Coming soon, and every guide here uses plain HTTP.

Run a ten-minute trial

Reading documentation only goes so far. With a free key, three requests answer most of the checklist: what is covered, how fresh it is, and how errors look.

A ten-minute evaluation
export FXBASE_API_KEY=centy_live_...

# 1. Coverage: which codes exist?
curl "https://api.fxbase.dev/v1/currencies" \
  -H "Authorization: Bearer $FXBASE_API_KEY"

# 2. Freshness: what day and time are the rates from, and from which feed?
curl "https://api.fxbase.dev/v1/latest?base=EUR&symbols=USD,JPY" \
  -H "Authorization: Bearer $FXBASE_API_KEY"

# 3. Errors: a bad code should be a 400 with code unknown_currency, not a 200
curl "https://api.fxbase.dev/v1/convert?from=USD&to=XYZ&amount=10" \
  -H "Authorization: Bearer $FXBASE_API_KEY"

The last request uses a code that does not exist on purpose: you should get a 400 with unknown_currency, not a 200 with a zero. Repeat the same three calls against every API on your list and compare the answers side by side. The Developer plan is free and covers latest rates and conversion, enough to run this trial and to build a first integration with the JavaScript guide.

Try it with a free key

The Developer plan is free and includes latest rates and conversion. Every request in this guide is in the API reference. Get a free API key.