JSON API
Exchange rate JSON API so simple it barely needs docs
A REST exchange rate API returning plain JSON: every fastFOREX API data point — currencies, crypto, FX pairs and metals — over HTTPS. Any language, any framework, no SDK required, answered in 21 milliseconds on average.
- Full-feature access for 7 days
- No credit card
- Email-only signup
$ curl -H "X-API-Key: YOUR_KEY" \
"https://api.fastforex.io/fetch-one?from=USD&to=EUR"
{
"base": "USD",
"result": {
"EUR": 0.874883
},
"updated": "2026-09-10T09:00:22Z",
"ms": 4
}
Simple, fast, predictable.
21ms
Average API response time
99.95%
Availability target on every plan
1M
API calls included every month
Exchange rates JSON over HTTPS
No SDK lock-in, no client library to maintain — any HTTP client in any language works. Code samples for JavaScript, Python, PHP, Ruby and Go are in the docs; you can even test endpoints from your browser.
Header-based authentication
Authenticate with the X-API-Key header, keeping keys out of URLs and logs (a query parameter is supported where headers aren't practical). Create separate live, dev and test keys in the Console — rename, rotate or revoke instantly.
OpenAPI spec included
A machine-readable OpenAPI specification covers every endpoint — generate typed clients, import into Postman, or point your AI tooling at it.
Fast by infrastructure
Served from Google Cloud's Premium Network Tier on global anycast IPv4/IPv6 — traffic rides Google's private backbone and touches the public internet only at the last mile. That's how the average answer takes 21ms.
Predictable metering
One HTTP request equals one API call, whatever it returns (matrix endpoints meter per pair). Track consumption anytime with the /usage endpoint — no surprise bills.
Never-break stability
Existing endpoints are never changed in breaking ways — evolution ships as new endpoints or versioned paths. Code you write today keeps working.
Build with confidence:
OpenAPI spec (opens in a new tab)Endpoint reference (opens in a new tab)Reliability & SecurityWhere the data comes fromSeparate live, dev & test API keys — create, label & manage multiple API keys in the Console
The same API on every plan, from $18/month.
The JSON API is the core of every fastFOREX API plan — One, Extra and Premium all use identical endpoints and authentication. Plans differ only in data speed and depth, never in API mechanics.
JSON API — FAQ.
The details developers ask about before integrating.
Is there an SDK?
How do I authenticate?
What's the base URL?
How do I monitor my usage?
What about rate data over WebSockets or MCP?
More from fastFOREX API.
Currency API
Live midpoint rates for 170+ world currencies, answered in 21 milliseconds on average.
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.
Start building in under ten minutes.
Get your free API key — full plan access for 7 days, no credit card required.