$0.001
per call · USD Coin on Base
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.
Endpoint
GET https://x402.ottoai.services/fx-rates279
Calls / 30d
29
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.ottoai.services/fx-rates", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://x402.ottoai.services/fx-rates" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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"
}Payment details
0x0e84ddedaae6a779c462c22a59f301ec31b6b808USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from Otto AI & similar services
Otto AI · Tweet Search
x402.ottoai.services
Search X/Twitter for any query and get the actual matching tweets — keyword, $CASHTAG, from:handle (a user timeline), @handle (mentions), or boolean OR. Each tweet returns author, full text (long-form note tweets included), timestamp, likes and retweets (reply/quote counts when available). Most-recent-first for real-time monitoring and alerting. Live X search backend, pay-per-call USDC, structured JSON.
Otto AI · Crypto News
x402.ottoai.services
Importance-ranked crypto headlines with per-article source links and publish times, plus a sentiment-scored market brief. Regenerated hourly; meta carries the snapshot's age and a fresh/stale verdict.
Otto AI · Equity News
x402.ottoai.services
Latest company news for a vendor-resolved equity: licensed Finnhub headlines from the trailing seven days with publication time, source, and summary. Only articles that name the company are served — labelled `primary` when the headline names it, `mentioned` when only the summary does — so a symbol-tagged story about another company never fills the list. Redirect URLs withheld; no sentiment is fabricated.