{
  "x402Version": 2,
  "id": 36619,
  "slug": "36619",
  "resource": "https://exchange.use.x402atlas.com/currency-exchange-rate",
  "description": "Get current exchange rate between two currencies using ECB data. Supports all major currencies. Returns rate, inverse rate, and date.",
  "type": "http",
  "serviceName": "Currency Exchange Rate",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "date": {
            "description": "ECB publication date (YYYY-MM-DD) of the rate; last business day on weekends/holidays.",
            "format": "date",
            "type": "string"
          },
          "from": {
            "description": "Base currency code, upper-cased.",
            "type": "string"
          },
          "inverse_rate": {
            "description": "Units of `from` per 1 unit of `to` (1/rate, 6 decimals).",
            "type": "number"
          },
          "rate": {
            "description": "Units of `to` per 1 unit of `from`.",
            "type": "number"
          },
          "to": {
            "description": "Quote currency code, upper-cased.",
            "type": "string"
          }
        },
        "required": [
          "from",
          "to",
          "rate",
          "inverse_rate",
          "date"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "finance",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": "USD",
            "to": "EUR"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "date": "2026-10-07",
            "from": "USD",
            "inverse_rate": 1.176471,
            "rate": 0.85,
            "to": "EUR"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "from": {
                    "default": "USD",
                    "description": "Optional base currency, 3-letter ISO 4217 code from the ECB set",
                    "enum": [
                      "AUD",
                      "BGN",
                      "BRL",
                      "CAD",
                      "CHF",
                      "CNY",
                      "CZK",
                      "DKK",
                      "EUR",
                      "GBP",
                      "HKD",
                      "HUF",
                      "IDR",
                      "ILS",
                      "INR",
                      "ISK",
                      "JPY",
                      "KRW",
                      "MXN",
                      "MYR",
                      "NOK",
                      "NZD",
                      "PHP",
                      "PLN",
                      "RON",
                      "SEK",
                      "SGD",
                      "THB",
                      "TRY",
                      "USD",
                      "ZAR"
                    ],
                    "type": "string"
                  },
                  "to": {
                    "default": "EUR",
                    "description": "Optional quote currency, 3-letter ISO 4217 code from the ECB set, must differ from `from`",
                    "enum": [
                      "AUD",
                      "BGN",
                      "BRL",
                      "CAD",
                      "CHF",
                      "CNY",
                      "CZK",
                      "DKK",
                      "EUR",
                      "GBP",
                      "HKD",
                      "HUF",
                      "IDR",
                      "ILS",
                      "INR",
                      "ISK",
                      "JPY",
                      "KRW",
                      "MXN",
                      "MYR",
                      "NOK",
                      "NZD",
                      "PHP",
                      "PLN",
                      "RON",
                      "SEK",
                      "SGD",
                      "THB",
                      "TRY",
                      "USD",
                      "ZAR"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "date": {
                    "description": "ECB publication date (YYYY-MM-DD) of the rate; last business day on weekends/holidays.",
                    "format": "date",
                    "type": "string"
                  },
                  "from": {
                    "description": "Base currency code, upper-cased.",
                    "type": "string"
                  },
                  "inverse_rate": {
                    "description": "Units of `from` per 1 unit of `to` (1/rate, 6 decimals).",
                    "type": "number"
                  },
                  "rate": {
                    "description": "Units of `to` per 1 unit of `from`.",
                    "type": "number"
                  },
                  "to": {
                    "description": "Quote currency code, upper-cased.",
                    "type": "string"
                  }
                },
                "required": [
                  "from",
                  "to",
                  "rate",
                  "inverse_rate",
                  "date"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "currency",
        "exchange-rate",
        "forex",
        "fx",
        "ecb"
      ]
    }
  },
  "tags": [
    "currency",
    "exchange-rate",
    "forex",
    "fx",
    "ecb",
    "bazaar"
  ],
  "sourceHost": "exchange.use.x402atlas.com",
  "lastUpdated": "2026-10-09T04:17:59.754Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-09T04:17:59.618Z"
  },
  "metadata": {
    "serviceName": "Currency Exchange Rate",
    "extensions": {
      "bazaar": {
        "category": "finance",
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "from": "USD",
              "to": "EUR"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "date": "2026-10-07",
              "from": "USD",
              "inverse_rate": 1.176471,
              "rate": 0.85,
              "to": "EUR"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "from": {
                      "default": "USD",
                      "description": "Optional base currency, 3-letter ISO 4217 code from the ECB set",
                      "enum": [
                        "AUD",
                        "BGN",
                        "BRL",
                        "CAD",
                        "CHF",
                        "CNY",
                        "CZK",
                        "DKK",
                        "EUR",
                        "GBP",
                        "HKD",
                        "HUF",
                        "IDR",
                        "ILS",
                        "INR",
                        "ISK",
                        "JPY",
                        "KRW",
                        "MXN",
                        "MYR",
                        "NOK",
                        "NZD",
                        "PHP",
                        "PLN",
                        "RON",
                        "SEK",
                        "SGD",
                        "THB",
                        "TRY",
                        "USD",
                        "ZAR"
                      ],
                      "type": "string"
                    },
                    "to": {
                      "default": "EUR",
                      "description": "Optional quote currency, 3-letter ISO 4217 code from the ECB set, must differ from `from`",
                      "enum": [
                        "AUD",
                        "BGN",
                        "BRL",
                        "CAD",
                        "CHF",
                        "CNY",
                        "CZK",
                        "DKK",
                        "EUR",
                        "GBP",
                        "HKD",
                        "HUF",
                        "IDR",
                        "ILS",
                        "INR",
                        "ISK",
                        "JPY",
                        "KRW",
                        "MXN",
                        "MYR",
                        "NOK",
                        "NZD",
                        "PHP",
                        "PLN",
                        "RON",
                        "SEK",
                        "SGD",
                        "THB",
                        "TRY",
                        "USD",
                        "ZAR"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "date": {
                      "description": "ECB publication date (YYYY-MM-DD) of the rate; last business day on weekends/holidays.",
                      "format": "date",
                      "type": "string"
                    },
                    "from": {
                      "description": "Base currency code, upper-cased.",
                      "type": "string"
                    },
                    "inverse_rate": {
                      "description": "Units of `from` per 1 unit of `to` (1/rate, 6 decimals).",
                      "type": "number"
                    },
                    "rate": {
                      "description": "Units of `to` per 1 unit of `from`.",
                      "type": "number"
                    },
                    "to": {
                      "description": "Quote currency code, upper-cased.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "from",
                    "to",
                    "rate",
                    "inverse_rate",
                    "date"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "currency",
          "exchange-rate",
          "forex",
          "fx",
          "ecb"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "exchange.use.x402atlas.com",
    "manifest_name": "exchange.use.x402atlas.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": {
      "date": "string",
      "from": "string",
      "inverse_rate": 0,
      "rate": 0,
      "to": "string"
    },
    "type": "string"
  }
}