UnifyUnits Developers
GET /v1/currency/rates Requires API key

List currency rates

Returns the latest ECB euro reference rates: units of each currency per 1 EUR, as decimal strings. Optional `date` returns the rates in effect on that day and requires the Developer plan or higher. Listing rates does not use your monthly quota.

Prefer a language client when available: JavaScript / TypeScript, Python, or PHP (Laravel). Samples on this page stay raw HTTP so they match the OpenAPI contract.

Parameters

Name Type Required Description
date string No Historical rate date, YYYY-MM-DD. Requires the Developer plan or higher.

Possible errors

INVALID_REQUEST · PLAN_REQUIRED · RATE_NOT_FOUND · UNAUTHORIZED · INVALID_API_KEY · RATE_LIMIT_EXCEEDED · SERVICE_UNAVAILABLE

All endpoints · Error reference

cURL
curl "https://api.unifyunits.com/v1/currency/rates" \
  -H "Authorization: Bearer $UNIFYUNITS_API_KEY"

Response 200

json
{
  "data": {
    "date": "2026-10-02",
    "base": "EUR",
    "source": "ecb",
    "rates": { "EUR": "1", "USD": "1.25", "GBP": "0.8" }
  }
}