Api Endpoint

Currency conversion at the official ECB rate

Use when an agent has to convert money in a figure someone will audit: between any two of the ~30 currencies in the European Central Bank's official reference rates, on today's publication or on a past date within the last 90 days. Returns the rate used, its publication date and whether it was crossed through the euro. This is the auditable rate accounting and customs ask for, not a live market quote: it is published once a day and it is reproducible.

Open interactive test console

Offering

Provider
flat-rate-llm.kikoribera03.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://flat-rate-llm.kikoribera03.workers.dev/v1/fx/convert
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
Currency conversion, Exchange Rate, fx rate, ecb reference rate, EUR, historical exchange rate, invoice conversion, accounting, VAT, forex, list cleaning

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  }
]

Observed health

Status
Healthy
Latest latency
1282 ms
Average latency
652 ms
HTTP status
402
Last checked
Reachability
100% over 14 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": {
        "from": {
          "type": "string",
          "description": "Source currency, ISO 4217, e.g. USD."
        },
        "to": {
          "type": "string",
          "description": "Target currency, ISO 4217, e.g. EUR."
        },
        "amount": {
          "type": "number",
          "description": "Amount to convert. Defaults to 1."
        },
        "date": {
          "type": "string",
          "description": "Optional publication date, YYYY-MM-DD, within the last 90 days. Defaults to the latest publication."
        }
      },
      "required": [
        "from",
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "amount": {
              "description": "Amount to convert. Defaults to 1.",
              "type": "number"
            },
            "date": {
              "description": "Optional publication date, YYYY-MM-DD, within the last 90 days. Defaults to the latest publication.",
              "type": "string"
            },
            "from": {
              "description": "Source currency, ISO 4217, e.g. USD.",
              "type": "string"
            },
            "to": {
              "description": "Target currency, ISO 4217, e.g. EUR.",
              "type": "string"
            }
          },
          "required": [
            "from",
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}