FX monitor
Major currency snapshot: EUR/USD, GBP/USD, JPY/USD rates plus the full FX dashboard in one call.
3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.
When to use this pack
Quick read on major crosses - are any at extremes, and what's the full dashboard showing.
Tools in this pack
All 3 run inside the single $0.009 call above. Each is also callable on its own if you only need one part.
- Currency exchange rate GET /api/fx-rate Live currency conversion using European Central Bank reference rates (via Frankfurter). Converts an amount between two currencies and returns the rate and date. ?from=USD&to=EUR&amount=100
- G10 FX dashboard vs USD GET /api/fx-dashboard Snapshot of all G10 spot exchange rates quoted against USD (EUR, GBP, JPY, CHF, CAD, AUD, NZD, SEK, NOK) using ECB reference rates. Includes the USD-strength index (simple geometric mean of inverse rates). No params.
- Historical FX rate by date GET /api/fx-historical Historical foreign-exchange rate for a specific date using European Central Bank reference rates (via Frankfurter). Returns the rate that was published on (or rolled forward to) the requested date. ?from=USD&to=EUR&date=2024-01-02
Bought one at a time, these 3 tools cost $0.009 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.009.
Workflow
- Pull EUR/USD, GBP/USD, and JPY/USD spot rates.
- Get the full FX dashboard for a broader view of currency movements.
- Pull the recent historical series for EUR/USD with fx-historical - a spot rate only means something read against its own trend.
What one call returns
A JSON object with pack, args, steps, summary; steps holds one entry per tool (fx-rate, fx-dashboard, fx-historical), each with its own result or error. Full example on the API page.
Call it directly
Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):
import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-fx-monitor", {});
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Give me a major currency snapshot using Agent402's fx-monitor skill pack. Get (1) EUR/USD, GBP/USD, JPY/USD spot rates, (2) the full FX dashboard, (3) the recent EUR/USD history via fx-historical. Flag any pair at a multi-month extreme.