{
  "x402Version": 2,
  "id": 8112,
  "slug": "8112",
  "resource": "https://flat-rate-llm.kikoribera03.workers.dev/v1/fx/convert",
  "description": "Converts an amount 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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "amount": 100,
            "from": "USD",
            "to": "EUR"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "amount": 100,
            "converted": 86.0882,
            "date": "2026-09-10",
            "dateRequested": null,
            "from": "USD",
            "rate": 0.860882,
            "source": "European Central Bank euro foreign exchange reference rates",
            "to": "EUR",
            "viaEur": false
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "flat-rate-llm.kikoribera03.workers.dev",
  "lastUpdated": "2026-09-11T09:53:59.088Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-11T09:53:58.647Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "flat-rate-llm.kikoribera03.workers.dev",
    "manifest_name": "flat-rate-llm.kikoribera03.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}