Daily reference foreign-exchange rate for any supported fiat currency pair using Frankfurt
Daily reference foreign-exchange rate for any supported fiat currency pair using Frankfurter/ECB reference data. Query base and quote ISO 4217 codes. For conversion, normalization, accounting and reporting; not live trading data.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-16
updated
Provider
wallet-services-poc-clean-mainnet.3hz-services.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xEb0f642c1B71Ec3b3594303de1D09EA2532B0f5e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"base": "EUR",
"quote": "USD"
},
"type": "http"
},
"output": {
"example": {
"base": "EUR",
"date": "2026-09-16",
"fetched_at": "2026-09-16T12:00:00.000Z",
"quote": "USD",
"rate": 1.1549,
"rate_type": "daily_reference",
"source": "Frankfurter",
"source_url": "https://api.frankfurter.dev/v2/rate/EUR/USD"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"base": {
"default": "EUR",
"description": "Three-letter base currency code",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"quote": {
"default": "USD",
"description": "Three-letter quote currency code",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"properties": {
"base": {
"type": "string"
},
"date": {
"type": "string"
},
"fetched_at": {
"type": "string"
},
"quote": {
"type": "string"
},
"rate": {
"type": "number"
},
"rate_type": {
"type": "string"
},
"source": {
"type": "string"
},
"source_url": {
"type": "string"
}
},
"required": [
"base",
"quote",
"rate",
"date",
"source",
"source_url",
"rate_type",
"fetched_at"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}
}
}Use it
curl
curl "https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/fx-rate" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/fx-rate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/fx-rate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7119.json, and this resource appears in /discovery/resources and /discovery/search.