Api Endpoint

ECB Currency Exchange Rates

Currency exchange rates from the European Central Bank: euro reference rates for 29 currencies plus EUR (USD, GBP, JPY, CHF, CNY...), latest or any day in the last 90 days, with cross rates for any base and optional amount conversion (e.g. 100 USD to EUR). Use for invoicing, pricing and reporting. Reference rates, not transaction rates. Source: ECB; free at ecb.europa.eu. Signed receipt.

Open interactive test console

Offering

Provider
api.stablecoingateways.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://api.stablecoingateways.com/v1/fx/rates
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
FX, exchange-rates, Currency, currency-conversion, ECB

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
Payment option 2
1076 atomic units
Atomic price: 1076 · Network: xrpl:0 · Asset: XRP · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Payment option 4
1076 atomic units
Atomic price: 1076 · Network: xrpl:1 · Asset: XRP · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x39BF4378b74f9E19c5113b00b01f57d94537bad1"
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "asset": "XRP",
    "amount": "1076",
    "payTo": "r3BsahzSMtF4HiJuL8HMf1se6T1JtMB6hg"
  },
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "1000",
    "payTo": "0x3177FA489523ddF60f293898f7Ee5912576f3d9b"
  },
  {
    "scheme": "exact",
    "network": "xrpl:1",
    "asset": "XRP",
    "amount": "1076",
    "payTo": "rDbkEYdqLHcnWAHAVFwhH6KM6puCPbXNgs"
  }
]

Observed health

Status
Healthy
Latest latency
497 ms
Average latency
822 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "Optional amount to convert",
          "pattern": "^[0-9]+(\\.[0-9]+)?$",
          "type": "string"
        },
        "base": {
          "description": "Base currency (ISO 4217), default EUR",
          "pattern": "^[A-Za-z]{3}$",
          "type": "string"
        },
        "date": {
          "description": "Rate date YYYY-MM-DD within the last 90 days; default latest",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "type": "string"
        },
        "symbols": {
          "description": "Comma-separated ISO 4217 codes; default all",
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "amount": {
              "description": "Optional amount to convert",
              "pattern": "^[0-9]+(\\.[0-9]+)?$",
              "type": "string"
            },
            "base": {
              "description": "Base currency (ISO 4217), default EUR",
              "pattern": "^[A-Za-z]{3}$",
              "type": "string"
            },
            "date": {
              "description": "Rate date YYYY-MM-DD within the last 90 days; default latest",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "symbols": {
              "description": "Comma-separated ISO 4217 codes; default all",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "description": "ECB reference rates for the base currency on the rate date, optional converted amounts",
              "properties": {
                "base": {
                  "type": "string"
                },
                "cross_rates_derived": {
                  "type": "boolean"
                },
                "note": {
                  "type": "string"
                },
                "provenance": {
                  "description": "Additive evidence block (sg-provenance/1): per-fact source, retrieval time, limits; no score or verdict. Full schema in OpenAPI.",
                  "type": "object"
                },
                "rate_date": {
                  "type": "string"
                },
                "rates": {
                  "properties": {
                    "EUR": {
                      "type": "number"
                    },
                    "GBP": {
                      "type": "number"
                    },
                    "JPY": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "requested_date": {},
                "source": {
                  "type": "string"
                },
                "window": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "receipt": {
              "description": "Ed25519-signed receipt; verify free at POST /v1/verify-receipt. New receipts also carry a signed `evidence` object.",
              "properties": {
                "evidence": {
                  "description": "Signed evidence (see llms.txt)",
                  "type": "object"
                }
              },
              "required": [
                "v",
                "endpoint_id",
                "ts",
                "price",
                "tx_hash",
                "request_hash",
                "response_hash",
                "log_seq",
                "sig"
              ],
              "type": "object"
            }
          },
          "required": [
            "data",
            "receipt"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}