Skip to content
onelayer.
All tools

Tool detail

ECB FX Rates

Returns ECB daily reference exchange rates (~30 currencies vs EUR), optionally rebased to another base currency and filtered to requested symbols.

Categories: Currency exchange, Market prices

Use when

  • get today's official ECB EUR exchange rate table
  • convert or rebase ECB reference rates to a non-EUR base currency
  • look up exchange rates for a specific currency subset

Not for

  • not real-time/interbank rates - ECB's once-daily ~16:00 CET fixing
  • not a rate history - returns the latest reference date only

Inputs

GET query params (both optional): base (3-letter ISO code, default EUR), symbols (comma-separated ISO codes to filter)

Admitted input schema

{
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "pattern": "^[A-Za-z]{3}$",
      "description": "Base currency as ISO 4217 code (case-insensitive). EUR or any of the ~30 ECB-listed currencies (USD, GBP, JPY, CHF, ...); non-EUR bases are computed as cross-rates via EUR. Default: EUR.",
      "default": "EUR",
      "examples": [
        "EUR",
        "USD",
        "GBP"
      ]
    },
    "symbols": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional comma-separated ISO 4217 codes to restrict the rate table to (case-insensitive); codes the ECB does not list are ignored. Empty = all listed currencies.",
      "examples": [
        "USD,GBP,JPY",
        "CHF"
      ]
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://4yearcycle.com/x402/fx-rates

Payment

Protocol
x402
Listed price
0.005 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://4yearcycle.com/x402/fx-rates
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z