Api Endpoint

FX rate (Chainlink on-chain)

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.

Open interactive test console

Offering

Provider
apexfaucet.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://apexfaucet.xyz/api/x402/fx-rate
MIME type
application/json
First seen
2026-10-16T01:53:48.755Z
Last seen
Tags
Exchange Rate, Currency, FX, forex, gold price

Payment pricing

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

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
1000 atomic units
Atomic price: 1000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 3
1000 atomic units
Atomic price: 1000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 6
10000000000000000 atomic units
Atomic price: 10000000000000000 · Network: eip155:56 · Asset: 0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d · Scheme: exact
Payment option 7
10000000000000000 atomic units
Atomic price: 10000000000000000 · Network: eip155:56 · Asset: 0xcE24439F2D9C6a2289F741120FE202248B666666 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
    "amount": "10000000000000000",
    "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
    "amount": "10000000000000000",
    "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD"
  }
]

Observed health

Status
Healthy
Latest latency
414 ms
Average latency
1013 ms
HTTP status
402
Last checked
Reachability
92.9% 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",
          "pattern": "^[A-Za-z]{3}$",
          "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."
        },
        "to": {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$",
          "description": "Target code (default USD)."
        },
        "amount": {
          "type": "string",
          "description": "Optional amount to convert (default 1)."
        }
      },
      "required": [
        "from"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ]
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "from"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^[A-Za-z]{3}$",
              "description": "Target code (default USD)."
            },
            "from": {
              "type": "string",
              "pattern": "^[A-Za-z]{3}$",
              "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."
            },
            "amount": {
              "type": "string",
              "description": "Optional amount to convert (default 1)."
            }
          }
        }
      }
    },
    "output": {
      "type": "object"
    }
  }
}