Live + reference foreign-exchange (forex) rates, base USD
Live + reference foreign-exchange (forex) rates, base USD. LIVE near-real-time mid quotes for the 12 most-traded currencies (EUR, GBP, JPY, CHF, CAD, AUD, NZD, CNY, HKD, SGD, SEK, KRW), refreshed every minute with an honest market-open/stale flag, PLUS the official ECB daily reference table for ~30 currencies. Derive any cross-rate or pair. For agents pricing cross-border ops, treasury, invoicing and FX conversion. Keyless, pay-per-call.
1000 (raw units)
price
256
calls / 30d
11
unique payers
2026-09-11
updated
Provider
x402.ottoai.services · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"data": {
"base": "USD",
"generatedAt": "2026-06-29T12:37:10.000Z",
"live": {
"asOf": "2026-06-29T12:37:06.000Z",
"marketOpen": true,
"rates": {
"AUD": 1.4495,
"CAD": 1.4206,
"CHF": 0.8088,
"CNY": 6.7836,
"EUR": 0.8768,
"GBP": 0.7559,
"HKD": 7.8415,
"JPY": 161.89,
"KRW": 1543.51,
"NZD": 1.7698,
"SEK": 9.7314,
"SGD": 1.2938
},
"source": "Yahoo",
"stale": false,
"staleSymbols": []
},
"liveAvailable": true,
"reference": {
"date": "2026-06-26",
"rates": {
"AUD": 1.4488,
"CAD": 1.4182,
"CHF": 0.8085,
"CNY": 6.7982,
"EUR": 0.8771,
"GBP": 0.7565,
"JPY": 161.65
},
"source": "ECB"
}
},
"meta": {
"degraded": false,
"generatedAt": "",
"stalenessSec": 0,
"validUntil": ""
},
"status": "success"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {},
"meta": {
"type": "object"
},
"reason": {
"description": "status=unavailable only; every >=400 is UNCHARGED",
"type": "string"
},
"status": {
"enum": [
"success",
"unavailable"
],
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_hc2dhq09"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
"resourceUrl": "https://x402.ottoai.services/fx-rates",
"scheme": "exact",
"validUntil": 1789148577,
"version": 1
},
"signature": "0x474faa244b5f5272477988f75149e5f8abdb23b42a7be2de67eb316779944df4443c27cbac4e6988b3157c9ec2a90f1dd29337d160870e0b67153ae967412b241c"
},
{
"acceptIndex": 1,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
"resourceUrl": "https://x402.ottoai.services/fx-rates",
"scheme": "exact",
"validUntil": 1789148577,
"version": 1
},
"signature": "0x488fd49eae99d888d1273c198fabbaa33b3274621de395babbfe7c8b0d5aad7a530a05c47fe87faff463d15fe8de2f23dff4482cc11e92102cc94559d205163f1c"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"otto-content-receipt": {}
}Use it
curl
curl "https://x402.ottoai.services/fx-rates" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.ottoai.services/fx-rates");
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://x402.ottoai.services/fx-rates")
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/141.json, and this resource appears in /discovery/resources and /discovery/search.