G10 FX dashboard vs USD
GET /api/fx-dashboardSnapshot of all G10 spot exchange rates quoted against USD (EUR, GBP, JPY, CHF, CAD, AUD, NZD, SEK, NOK) using ECB reference rates. Send GET /api/fx-dashboard with no input and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with base, date, rates, usdStrengthIndex and source.
Includes the USD-strength index (simple geometric mean of inverse rates). No params.
Parameters
G10 FX dashboard vs USD takes no parameters.
Example request
curl -i "https://agent402.tools/api/fx-dashboard"
Without payment this returns HTTP 402 Payment Required with the exact price for fx-dashboard; any x402 v2 or MPP client pays it and retries.
Example response
{
"base": "USD",
"date": "2026-06-12",
"rates": {
"EUR": 0.91,
"GBP": 0.78
},
"usdStrengthIndex": 1.04,
"source": "ECB via Frankfurter"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
base | string | yes | USD |
date | string | yes | 2026-06-12 |
rates | object | yes | 2 fields: EUR, GBP |
usdStrengthIndex | number | yes | 1.04 |
source | string | yes | ECB via Frankfurter |
From an MCP client
catalog.call {
"slug": "fx-dashboard",
"params": {}
}
The hosted connector at https://agent402.tools/mcp needs a payment for fx-dashboard; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- There is no input to get wrong: any request to /api/fx-dashboard runs the tool.
- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/fx-dashboard is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/fx-dashboard");
Part of these workflows
G10 FX dashboard vs USD is one step in these 2 skill packs, each sold as a single call:
- Macro backdrop snapshot - The 'is the economic backdrop you're modeling against still current?' pack. Pull the canonical macro signals - CPI year-over-year, unemployment, fed funds, the Treasury yield curve, a G10 FX dashboard, the Sahm Rule recession indicator, and the next scheduled economic releases - in one composed workflow. Seven egress tools, one composite snapshot the agent can cite before doing any forecast or investment math.
- FX monitor - Major currency snapshot: EUR/USD, GBP/USD, JPY/USD rates plus the full FX dashboard in one call.
Related tools
Historical FX rate by date
GET /api/fx-historicalHistorical foreign-exchange rate for a specific date using European Central Bank reference rates (via Frankfurter). Retu…
FX rate time series
GET /api/fx-timeseriesDaily FX rates between two currencies across a date window using European Central Bank reference rates (via Frankfurter)…
Currency exchange rate
GET /api/fx-rateLive currency conversion using European Central Bank reference rates (via Frankfurter). Converts an amount between two c…
US CPI year-over-year inflation
GET /api/cpi-yoyLatest US Consumer Price Index year-over-year inflation rate (headline CPI-U) plus the trailing 12 months of YoY reading…
Crypto global market
GET /api/crypto-globalGlobal crypto market snapshot: total market cap, total 24h volume, BTC dominance, ETH dominance, active coin count, acti…
Effective federal funds rate
GET /api/fed-fundsCurrent effective federal funds rate (current, as of date, in percent) plus a trailing N-day history of {date, value}. S…