Skip to content

FX Monthly Average

Get the monthly average FX rate for IAS 21 / accounting compliance.

GET/v1/fx/monthly-average

Parameters

ParameterTypeDescription
from*stringSource currency code
to*stringTarget currency code
year*integerYear (e.g., 2026)
month*integerMonth (1-12)

Request

bash
curl "https://api.cryptachain.com/v1/fx/monthly-average?from=EUR&to=USD&year=2026&month=3" \
  -H "X-API-Key: $CRYPTACHAIN_API_KEY"

Response

Response 200 OK

json
{
  "from": "EUR",
  "to": "USD",
  "year": 2026,
  "month": 3,
  "average_rate": 1.0842,
  "data_points": 22,
  "min_rate": 1.0795,
  "max_rate": 1.0903,
  "source": "ecb"
}

IAS 21 compliance

Under IAS 21 (Effects of Changes in Foreign Exchange Rates), entities may use the average rate for a period to translate income and expenses. CryptaChain's monthly average is computed as the arithmetic mean of all business day ECB rates in the month.

  • data_points — number of business days with published rates
  • Weekends and holidays are excluded from the average (not gap-filled)
  • This matches the ECB's own monthly average calculation

For year-end balance sheet rates, use the daily rate endpoint (GET /v1/fx/rate) with the closing date.

CryptaChain API — built by CryptaCount Luxembourg S.a r.l.