Skip to main content

✨ fastFOREX API MCP is now Generally Available - let your agents manage your fastFOREX API ✨

Currency API

The exchange rate API for developers

Live midpoint rates for 170+ world currencies, answered in 21 milliseconds on average. A currency exchange API that fetches one pair or a full matrix and converts any amount — all over a simple, secure JSON API.

  • Full-feature access for 7 days
  • No credit card
  • Email-only signup
GET /convert · 200 OK · 18ms
$ curl -H "X-API-Key: YOUR_KEY" \
  "api.fastforex.io/convert?from=USD&to=EUR&amount=1000"

{
  "base": "USD",
  "result": {
    "EUR": 874.88,
    "rate": 0.874883
  },
  "ms": 18
}

One API for every currency job.

170+

World currencies, any base

<1s

Updates up to 20× per second, by plan and endpoint

1M

API calls included every month

  • Rates that never sleep

    Midpoint rates update every 60 seconds on One, 30 on Extra, and every second on Premium — a real-time exchange rate API for live pricing. Your users always see the current price.

  • Fetch rates your way

    fetch-one, fetch-multi, fetch-all, fetch-matrix and fetch-many-to-one — pull exactly the data your application needs, nothing more.

  • Trusted midpoint rates

    Aggregated from 100+ FX contributors, OTC inter-dealer brokers, and market-making banks including HSBC, JPMorgan, Barclays and UBS.

  • Currency converter API: convert anything

    A currency conversion API in one call: /convert handles any fiat pair — plus any fiat-to-crypto pair — even when no direct trading pair exists.

Build with confidence:

OpenAPI spec (opens in a new tab)Endpoint reference (opens in a new tab)Browse 170+ currenciesWhere the data comes from

Separate live, dev & test API keys — create, label & manage multiple API keys in the Console

Included on every plan, from $18/month.

All currency endpoints ship on the One plan with 1,000,000 calls included. Move up to Extra or Premium purely for faster updates.

Currency API — FAQ.

The details developers ask about before integrating.

How fresh are the rates?
Every 60 seconds on One ($18/mo), every 30 seconds on Extra ($36/mo), and every second on Premium ($54/mo).
Can I use any base currency?
Yes — any of the 170+ supported currencies can be the base for any request, on every plan.
How do I get an exchange rate API key?
Create your key in the Console — sign-up takes under a minute, needs only an email address and no credit card, and includes a 7-day trial with full-feature access.
What counts as one API call?
One HTTP request equals one call regardless of currencies returned, except fetch-matrix and fetch-many-to-one, which count one call per pair returned.
Is there an SDK?
Yes — official SDKs for PHP and Python are on our GitHub, with more languages on the way. And because the API is plain JSON over HTTPS, every other stack works out of the box: the docs carry copy-paste examples for JavaScript, Ruby and Go, and the OpenAPI spec can generate a typed client for anything else.
How do I authenticate?
Four ways: an X-API-Key header (recommended — keeps keys out of URLs and logs), an api_key query parameter, HTTP Bearer, or Basic auth. Use whichever fits your stack.
Which endpoints support minute or hourly data?
The currency /time-series endpoint is daily-only. For hourly and minute granularity, use the FX endpoints: /fx/ohlc/time-series and /fx/quote/time-series — see our FX Market Data and Historical pages.

Still have questions?

Our support team answers 365 days a year.

More from fastFOREX API.

  • FX Market Data

    The FX market data API for developers: a live FX rates API with bid/ask quotes on 2,300+ FX trading pairs and OHLC candles down to the minute.

  • Crypto API

    A crypto currency exchange API: real-time prices for 500+ crypto making up 750+ pairs, aggregated from the world's biggest exchanges.

  • Metals API

    A gold price API and precious metals API: real-time spot prices for gold, silver, platinum, palladium and five base metals — priced in any of our 170+ currencies, twelve units of weight and any purity, sourced exclusively from Tier-1 liquidity and delivered over REST and WebSockets.

  • Historical FX Data

    A historical forex data API: rates back to January 1970 — daily on every plan, down to the minute on Premium.

Start building in under ten minutes.

Get your free API key — full plan access for 7 days, no credit card required.