Api Endpoint

agent-data-tools.revmesh2074.workers.dev

Currency exchange rates, forex. Foreign exchange rates from the European Central Bank for about 30 major currencies (USD, EUR, GBP, JPY, CHF, SEK, CAD, AUD, CNY, INR, BRL and more). Give a base currency, optionally the target currencies and an amount, and get the rates, the converted amounts and the date the rates apply to. Use for currency conversion, invoice and price calculations, and reporting in another currency.

Open interactive test console

Offering

Provider
agent-data-tools.revmesh2074.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-data-tools.revmesh2074.workers.dev/fx
MIME type
application/json
First seen
2026-10-23T22:18:31.909Z
Last seen
Tags
currency-converter, currency-exchange-rate, exchange-rates, forex, Currency, exchange-rate, Finance, conversion

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
  }
]

Observed health

Status
Healthy
Latest latency
719 ms
Average latency
569 ms
HTTP status
402
Last checked
Reachability
100% over 7 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",
          "description": "Base currency as a three-letter ISO 4217 code, e.g. USD",
          "examples": [
            "USD"
          ]
        },
        "to": {
          "type": "string",
          "description": "Optional comma-separated target currency codes, e.g. EUR,GBP; default is all available currencies",
          "examples": [
            "EUR,GBP,SEK"
          ]
        },
        "amount": {
          "type": "number",
          "description": "Optional amount of the base currency to convert (default 1)",
          "examples": [
            100
          ]
        }
      },
      "required": [
        "from"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "description": "Base currency as a three-letter ISO 4217 code, e.g. USD",
              "examples": [
                "USD"
              ]
            },
            "to": {
              "type": "string",
              "description": "Optional comma-separated target currency codes, e.g. EUR,GBP; default is all available currencies",
              "examples": [
                "EUR,GBP,SEK"
              ]
            },
            "amount": {
              "type": "number",
              "description": "Optional amount of the base currency to convert (default 1)",
              "examples": [
                100
              ]
            }
          },
          "required": [
            "from"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string"
            },
            "amount": {
              "type": "number"
            },
            "rateDate": {
              "type": "string"
            },
            "rates": {
              "type": "object",
              "properties": {
                "EUR": {
                  "type": "number"
                },
                "GBP": {
                  "type": "number"
                },
                "SEK": {
                  "type": "number"
                }
              }
            },
            "converted": {
              "type": "object",
              "properties": {
                "EUR": {
                  "type": "number"
                },
                "GBP": {
                  "type": "number"
                },
                "SEK": {
                  "type": "number"
                }
              }
            },
            "source": {
              "type": "string"
            },
            "checkedAt": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}