Skip to main content

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

Historical FX Data · From $18/month

Historical exchange rates API: over 55 years in one GET request

A historical forex data API: rates back to January 1970, daily on every plan and down to the minute on Premium. Time-series, OHLC history and quote history for research, reconciliation and backtesting.

  • Full-feature access for 7 days
  • No credit card
  • Email-only signup
GET /historical · Example response

Checking for humanity…

$ curl https://api.fastforex.io/historical \ ?date=2021-01-16&from=USD
{
  "date": "2021-01-16",
  "base": "USD",
  "results": {
    "AED": 3.67297,
    "AFN": 77.11468,
    "ALL": 101.78125,
    "AMD": 523.67143,
    "ANG": 1.78691,
    "AOA": 653.45356,
    "ARS": 85.74709,
    "AUD": 1.29806,
    "AWG": 1.79943,
    "AZN": 1.70727,
    "BAM": 1.62182,
    "BBD": 1.99941,
    "BDT": 84.84175,
    "BGN": 1.61063,
    "BHD": 0.37612,
    "BIF": 1943.32401,
    "BMD": 0.99926,
    "BND": 1.32953,
    "BOB": 6.88532,
    "BRL": 5.29479,
    "BSD": 1.00177,
    "BTN": 73.22317,
    "BWP": 10.98351,
    "BZD": 2.01472,
    "CAD": 1.27357,
    "CDF": 1977.04254,
    "CHF": 0.8912,
    "CLF": 0.02491,
    "CLP": 734.84469,
    "CNH": 6.47453,
    "CNY": 6.48079,
    "COP": 3461.79891,
    "CUP": 24.99558,
    "CVE": 90.9024,
    "CZK": 21.65759,
    "DJF": 177.94053,
    "DKK": 6.15612,
    "DOP": 58.27175,
    "DZD": 133.63021,
    "EGP": 15.64449,
    "ERN": 15.1347,
    "ETB": 39.35227,
    "EUR": 0.82791,
    "FJD": 2.05329,
    "FKP": 0.73605,
    "FOK": 6.15612,
    "GBP": 0.73605,
    "GEL": 3.30208,
    "GGP": 0.73605,
    "GHS": 5.78235,
    "GIP": 0.73605,
    "GMD": 51.76064,
    "GNF": 10080.74488,
    "GTQ": 7.78301,
    "GYD": 210.42985,
    "HKD": 7.75357,
    "HNL": 24.12042,
    "HRK": 6.19682,
    "HTG": 75.90461,
    "HUF": 298.21139,
    "IDR": 14054.17341,
    "ILS": 3.2719,
    "IMP": 0.73605,
    "INR": 73.16164,
    "IQD": 1458.41307,
    "IRR": 42031.79744,
    "ISK": 129.4936,
    "JEP": 0.73605,
    "JMD": 144.24702,
    "JOD": 0.70779,
    "JPY": 103.87016,
    "KES": 109.70116,
    "KGS": 75.50493,
    "KHR": 4047.84337,
    "KID": 1.29806,
    "KMF": 406.08715,
    "KPW": 900.13249,
    "KRW": 1102.13455,
    "KWD": 0.30318,
    "KYD": 0.81923,
    "KZT": 418.85765,
    "LAK": 9308.2585,
    "LBP": 1509.38466,
    "LKR": 194.62682,
    "LRD": 167.93022,
    "LSL": 15.21787,
    "LYD": 4.45341,
    "MAD": 8.91064,
    "MDL": 17.18902,
    "MGA": 3762.10805,
    "MKD": 51.00986,
    "MMK": 1331.8784,
    "MNT": 2853.84955,
    "MOP": 8.01634,
    "MRU": 36.41764,
    "MUR": 39.84837,
    "MVR": 15.66392,
    "MWK": 773.70087,
    "MXN": 19.79604,
    "MYR": 4.03732,
    "MZN": 74.77698,
    "NAD": 15.18769,
    "NGN": 380.3327,
    "NOK": 8.56904,
    "NPR": 117.3193,
    "NZD": 1.40232,
    "OMR": 0.38422,
    "PAB": 0.99926,
    "PEN": 3.60165,
    "PGK": 3.52819,
    "PHP": 48.06492,
    "PKR": 160.16046,
    "PLN": 3.7535,
    "PYG": 6890.343,
    "QAR": 3.64022,
    "RON": 4.02672,
    "RSD": 96.9947,
    "RUB": 73.59569,
    "RWF": 972.40542,
    "SAR": 3.74834,
    "SCR": 21.7415,
    "SDG": 55.12079,
    "SEK": 8.39445,
    "SGD": 1.33084,
    "SHP": 0.73605,
    "SLL": 10117.25305,
    "SOS": 585.66171,
    "SRD": 14.0817,
    "SYP": 1257.58133,
    "SZL": 15.23848,
    "THB": 30.10158,
    "TJS": 11.37737,
    "TMT": 3.49448,
    "TND": 2.7086,
    "TOP": 2.27536,
    "TRY": 7.45083,
    "TTD": 6.74407,
    "TVD": 1.29806,
    "TWD": 28.03621,
    "TZS": 2317.83454,
    "UAH": 28.17938,
    "UGX": 3704.99043,
    "USD": 1,
    "UYU": 42.4356,
    "UZS": 10493.30193,
    "VED": 1497710,
    "VES": 1497710,
    "VND": 23216.10481,
    "VUV": 107.05138,
    "WST": 2.54085,
    "XAF": 542.97807,
    "XCD": 2.69954,
    "XDR": 0.69699,
    "XOF": 542.97807,
    "XPF": 98.70455,
    "YER": 246.27558,
    "ZAR": 15.20595,
    "ZMW": 21.37472
  },
  "ms": 13
}

History other APIs simply don't have.

1970

Earliest data, with over 55 years of history

3

Granularities: daily, hourly, minute

1

API call per time-series request

  • Back to 1970

    Select major pairs reach back over 55 years; start dates vary by pair. Query /fx/pairs/historical-limits for the earliest available data point per pair and interval.

  • Exchange rate time series API

    Pull a full date range in one request. That's one call per request, not one call per day like some competitors meter it.

  • Forex historical OHLC

    Candlestick history at day, hour and minute intervals on Premium, ideal for charting and strategy backtests.

  • Quote history

    Bid/ask time-series across 2,300+ pairs, so your backtests can model spread, not just midpoint.

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

Daily history on every plan, hourly & minute on Premium.

Over 55 years of daily historical data and time-series ship with the $18 One plan. Premium adds hourly and minute granularity plus OHLC and quote history.

Historical FX Data FAQ.

The details developers ask about before integrating.

How do I get historical currency rates?
Call /historical for a single date or /time-series for a range. Both are historical currency rates API calls for any supported pair, daily, on every plan. For hourly and minute data, use the FX endpoints on Premium.
How is time-series metered?
One time-series request counts as one API call against your 1,000,000 monthly allowance, regardless of the date range returned.
How far back does each pair go?
Start dates vary by pair. Majors reach back to 1970, others start later. Coverage metadata is available via the API and docs.
What formats are supported?
JSON over HTTPS, consistent with every other fastFOREX API endpoint. Time-series endpoints accept ISO 8601, unix and UTC datetimes with timezone offsets, and responses mirror the format you send.
Which endpoint gives which granularity?
The currency /historical and /time-series endpoints are daily. Hourly and minute history live on the FX endpoints: /fx/ohlc/time-series and /fx/quote/time-series (Premium).
Do you have historical gold and metals prices?
Yes, on Premium plans, with the same shape as the FX endpoints. /metals/ohlc/time-series and /metals/quote/time-series return daily, hourly and minute history for each metals instrument, with daily history from 1995 for most gold and silver instruments. See the [Metals API](/metals-api).

Still have questions?

Our support team answers 365 days a year.

More from fastFOREX API.

  • Currency API

    Live midpoint rates for 170+ world currencies, with a 4ms average server response.

  • 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 with full plan access for 7 days, no credit card required.