{
  "x402Version": 2,
  "id": 30787,
  "slug": "30787",
  "resource": "https://fiatdock.com/v1/fx/rates",
  "description": "Live exchange rates and a conversion for ~170 currencies and the major crypto assets, with the European Central Bank reference rate beside each live one and the deviation between them - an independent check in the same answer. {from, to, amount}; send {} for USD against eight majors. Pay-per-call via x402.",
  "type": "http",
  "serviceName": "FiatDock",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xeB12bB2f52EeD33DBa6A00774E48324032Fd87C6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": 100,
            "from": "USD",
            "to": "EUR,GBP"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amount": 100,
            "asOf": "2026-10-05T00:00:00.000Z",
            "ecbDate": "2026-10-02",
            "from": "USD",
            "note": "rate = units of each target one USD buys (a mid rate, before any spread or fee).",
            "rates": [
              {
                "converted": 85.1,
                "deviationFromEcbPct": -0.024,
                "ecbRate": 0.8512,
                "rate": 0.851,
                "to": "EUR"
              },
              {
                "converted": 74.2,
                "deviationFromEcbPct": 0.013,
                "ecbRate": 0.7419,
                "rate": 0.742,
                "to": "GBP"
              }
            ],
            "source": "Coinbase exchange rates (live mid) + ECB reference rates via Frankfurter"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amount": {
                    "description": "Amount of the FROM currency to convert (default 1)",
                    "example": 100,
                    "maximum": 1000000000000000,
                    "minimum": 0,
                    "type": "number"
                  },
                  "from": {
                    "description": "Currency to convert FROM (ISO code like USD, EUR, or a crypto like BTC), default USD",
                    "example": "USD",
                    "maxLength": 10,
                    "type": "string"
                  },
                  "to": {
                    "description": "Currencies to convert TO, up to 20 (default EUR,GBP,JPY,CNY,CHF,CAD,AUD,INR) (comma-separated, or a JSON array)",
                    "example": "EUR,GBP",
                    "type": "string"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "fx",
    "currency",
    "exchange",
    "forex",
    "rates",
    "bazaar"
  ],
  "sourceHost": "fiatdock.com",
  "lastUpdated": "2026-10-13T12:46:04.177Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T12:46:03.984Z"
  },
  "metadata": {
    "serviceName": "FiatDock",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 100,
              "from": "USD",
              "to": "EUR,GBP"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amount": 100,
              "asOf": "2026-10-05T00:00:00.000Z",
              "ecbDate": "2026-10-02",
              "from": "USD",
              "note": "rate = units of each target one USD buys (a mid rate, before any spread or fee).",
              "rates": [
                {
                  "converted": 85.1,
                  "deviationFromEcbPct": -0.024,
                  "ecbRate": 0.8512,
                  "rate": 0.851,
                  "to": "EUR"
                },
                {
                  "converted": 74.2,
                  "deviationFromEcbPct": 0.013,
                  "ecbRate": 0.7419,
                  "rate": 0.742,
                  "to": "GBP"
                }
              ],
              "source": "Coinbase exchange rates (live mid) + ECB reference rates via Frankfurter"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amount": {
                      "description": "Amount of the FROM currency to convert (default 1)",
                      "example": 100,
                      "maximum": 1000000000000000,
                      "minimum": 0,
                      "type": "number"
                    },
                    "from": {
                      "description": "Currency to convert FROM (ISO code like USD, EUR, or a crypto like BTC), default USD",
                      "example": "USD",
                      "maxLength": 10,
                      "type": "string"
                    },
                    "to": {
                      "description": "Currencies to convert TO, up to 20 (default EUR,GBP,JPY,CNY,CHF,CAD,AUD,INR) (comma-separated, or a JSON array)",
                      "example": "EUR,GBP",
                      "type": "string"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "fiatdock.com",
    "manifest_name": "fiatdock.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}