REST API · live & historical FX rates

A minimal
currency rates API.

currency.traccia.top serves exchange rates for 160+ world currencies and cryptocurrencies, with historical lookups by date — every response validated against an OpenAPI / Swagger specification.

Live demo

Pick a base currency — rates are fetched straight from the API.

GET /currency/{code}

Endpoints

Two equivalent routes expose the same data.

MethodRouteDescription
GET /currency/:name Latest rates for a currency (optional ?date=YYYY-MM-DD)
GET /api/currency/{name} OpenAPI-validated variant of the same endpoint
GET /api.html Interactive Swagger documentation
GET /api.json Raw OpenAPI (Swagger 2.0) specification

Quick start

Plain curl is all you need.

# Latest USD rates
curl 'https://currency.traccia.top/currency/USD'

# EUR rates as of a historical date
curl 'https://currency.traccia.top/currency/EUR?date=2026-08-19'

# Same data through the validated API route
curl 'https://currency.traccia.top/api/currency/EUR?date=2026-08-19'