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 of…
by x402.ottoai.services · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: forex · fx rates · currency exchange · live fx · currency conversion · bazaar · builder-code · offer-receipt · otto-content-receipt
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-12
{}{
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/25845.jsonfor the price and payment options. - Pay. Call
GET https://x402.ottoai.services/fx-rates. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.001 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 10 calls · 8 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.001 | 0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.001 | 6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"data": null,
"meta": {},
"reason": "string",
"status": "success"
},
"type": "string"
}Examples
curl -X GET 'https://x402.ottoai.services/fx-rates'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://x402.ottoai.services/fx-rates", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("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 headerDetails
- Provider
- x402.ottoai.services
- Endpoint
- https://x402.ottoai.services/fx-rates
- Machine-readable
/resources/25845.json