data

ECB reference FX conversion

Convert an amount between two supported currencies using one validated ECB daily reference-rate observation. The underlying ECB statistics are available free from the ECB Data Portal; the fee covers bounded retrieval, validation, clearly labelled cross-rate calculation, and x402 delivery.

Price: $0.002 USDC via x402 exact payment on Base and Solana.

post/v1/data/ecb-fx-reference

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/data/ecb-fx-reference
  • Auth: none required

Request body

base_currency'AUD' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'USD' | 'ZAR' required

Three-letter currency converted from, for example GBP

quote_currency'AUD' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'USD' | 'ZAR' required

Three-letter currency converted to, for example USD

amountstring

Positive decimal amount with at most 15 integer and 8 fractional digits

on_or_beforestring date nullable

Optional date whose latest available ECB reference observation is used; omit for the latest available common business day

Example request

{
  "base_currency": "GBP",
  "quote_currency": "USD",
  "amount": "100",
  "on_or_before": "2026-08-18"
}

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.