{
  "x402Version": 2,
  "id": 57851,
  "slug": "57851",
  "resource": "https://apexfaucet.xyz/api/x402/fx-rate",
  "description": "Currency exchange rate and conversion, read on chain from Chainlink FX feeds on Ethereum: pass ?from=EUR&to=JPY&amount=100. EUR, GBP, JPY, CHF, AUD, CAD, CNY, KRW, SGD, TRY, BRL, NZD, PHP, USD, plus gold (XAU) and silver (XAG). Cross rates come from two USD feeds, and each leg carries its feed address, round and age. A retired or unknown feed is refused before any charge.",
  "type": "http",
  "serviceName": "Exchange rate",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791909159/bazaar-icons/f4adc3a60c4cd07b.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "1000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD",
      "asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
      "amount": "10000000000000000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD",
      "asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
      "amount": "10000000000000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "discoverable": true,
          "method": "GET",
          "queryParams": {
            "amount": "100",
            "from": "EUR",
            "to": "USD"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "amount": 100,
              "block": 26184801,
              "blockTime": "2026-10-13T16:35:35.000Z",
              "converted": 112.01,
              "from": "EUR",
              "legs": [
                {
                  "ageSeconds": 11503,
                  "feed": "0xb49f677943BC038e9857d61E7d053CaA2C1734C1",
                  "pair": "EUR/USD",
                  "roundId": "92233720368547762553",
                  "updatedAt": "2026-10-13T13:23:59.000Z",
                  "usd": 1.1201
                }
              ],
              "method": "one Chainlink feed on Ethereum",
              "ok": true,
              "rate": 1.1201,
              "to": "USD"
            },
            "ok": true,
            "paid": 0.001
          },
          "schema": {
            "properties": {
              "data": {
                "type": "object"
              },
              "ok": {
                "type": "boolean"
              },
              "paid": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "amount": {
                    "description": "Optional amount to convert (default 1).",
                    "type": "string"
                  },
                  "from": {
                    "description": "3-letter code: EUR, GBP, JPY, CHF, AUD, CAD, CNY, KRW, SGD, TRY, BRL, NZD, PHP, USD, or XAU / XAG for gold and silver.",
                    "pattern": "^[A-Za-z]{3}$",
                    "type": "string"
                  },
                  "to": {
                    "description": "Target code (default USD).",
                    "pattern": "^[A-Za-z]{3}$",
                    "type": "string"
                  }
                },
                "required": [
                  "from"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "exchange rate",
    "currency",
    "fx",
    "forex",
    "gold price",
    "bazaar"
  ],
  "sourceHost": "apexfaucet.xyz",
  "lastUpdated": "2026-10-13T16:35:43.958Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T16:35:43.38Z"
  },
  "metadata": {
    "serviceName": "Exchange rate",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791909159/bazaar-icons/f4adc3a60c4cd07b.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "discoverable": true,
            "method": "GET",
            "queryParams": {
              "amount": "100",
              "from": "EUR",
              "to": "USD"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "amount": 100,
                "block": 26184801,
                "blockTime": "2026-10-13T16:35:35.000Z",
                "converted": 112.01,
                "from": "EUR",
                "legs": [
                  {
                    "ageSeconds": 11503,
                    "feed": "0xb49f677943BC038e9857d61E7d053CaA2C1734C1",
                    "pair": "EUR/USD",
                    "roundId": "92233720368547762553",
                    "updatedAt": "2026-10-13T13:23:59.000Z",
                    "usd": 1.1201
                  }
                ],
                "method": "one Chainlink feed on Ethereum",
                "ok": true,
                "rate": 1.1201,
                "to": "USD"
              },
              "ok": true,
              "paid": 0.001
            },
            "schema": {
              "properties": {
                "data": {
                  "type": "object"
                },
                "ok": {
                  "type": "boolean"
                },
                "paid": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "amount": {
                      "description": "Optional amount to convert (default 1).",
                      "type": "string"
                    },
                    "from": {
                      "description": "3-letter code: EUR, GBP, JPY, CHF, AUD, CAD, CNY, KRW, SGD, TRY, BRL, NZD, PHP, USD, or XAU / XAG for gold and silver.",
                      "pattern": "^[A-Za-z]{3}$",
                      "type": "string"
                    },
                    "to": {
                      "description": "Target code (default USD).",
                      "pattern": "^[A-Za-z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "from"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "type": "object"
            },
            "output": {
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apexfaucet.xyz",
    "manifest_name": "apexfaucet.xyz",
    "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": {}
}