LiveExchanges
🔍
LIVE

LiveExchanges API

A lightweight, read-only JSON API over the same data that powers this site — live and historical rates for 150+ currencies, crypto and precious metals. No key required to get started; just make an HTTP GET request.

Base URL

https://www.liveexchanges.com/api

Endpoints

GET /api/rates

The full live snapshot — every pair with its current rate, 24-hour change, daily high/low, category and symbols. This is the array the homepage and ticker are seeded from.

GET https://www.liveexchanges.com/api/rates

[
  {
    "pair": "EUR/USD",
    "base": "EUR",
    "quote": "USD",
    "category": "fiat",
    "rate": 1.15207,
    "change24h": -0.21,
    "high24h": 1.15498,
    "low24h": 1.15012
  }
]
GET /api/history/{pair}?days=30

Historical OHLC bars for a single pair (e.g. eur-usd). Optional days query (default 30, max 3650). Inverted and cross pairs are derived automatically.

GET https://www.liveexchanges.com/api/history/eur-usd?days=90

[
  {
    "time": 1778284800,
    "open": 1.17855,
    "high": 1.18020,
    "low": 1.17640,
    "close": 1.17716
  }
]
GET /api/health

A small status object — handy for uptime checks and to read how many direct pairs, cross pairs and currencies are currently served.

GET https://www.liveexchanges.com/api/health

{ "ok": true, "directPairs": 122, "crossPairs": 50, "currencies": 119 }

Live updates

For streaming prices, the snapshot is meant to be seeded once and then kept current from our live feed rather than polled aggressively. If you only need periodic values, calling /api/rates every few minutes is plenty.

Fair use & terms

Responses are application/json. Please keep request volumes reasonable and cache where you can. Rates are indicative and provided for informational purposes only — not financial advice. For higher-volume or commercial use, get in touch.