Api Endpoint

ECB Euro Reference Rate

The latest ECB euro foreign exchange reference rate for a currency (units per 1 euro) and its date, unmodified, as JSON. The same data is available free of charge from the ECB website; reference rates are for information purposes only.

Open interactive test console

Offering

Provider
pennydatahq.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://pennydatahq.com/api/fx/:currency
MIME type
application/json
First seen
2026-10-27T21:36:21.577Z
Last seen
Tags
FX, exchange-rates, ECB, euro, Currency

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xd0A3c0f5612EcD88e4b16Ef1cD458e1a5E8FFD49"
  }
]

Observed health

Status
Healthy
Latest latency
136 ms
Average latency
222 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code, any case, for a currency the ECB publishes a reference rate for (about 30, such as USD, GBP, JPY, CHF). Not EUR: every rate is against the euro."
        }
      },
      "required": [
        "currency"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "currency_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "base": {
          "type": "string",
          "const": "EUR"
        },
        "rate": {
          "type": "number",
          "description": "Units of the currency per 1 euro, as published by the ECB"
        },
        "date": {
          "type": "string",
          "description": "YYYY-MM-DD, the reference date"
        },
        "notice": {
          "type": "string",
          "description": "ECB source and free-availability notice"
        }
      },
      "required": [
        "currency",
        "base",
        "rate",
        "date",
        "notice"
      ]
    }
  },
  "required": [
    "type"
  ]
}