← Marketplace
Robinhood Chain
FX Rates
Official foreign-exchange reference rates from the European Central Bank via Frankfurter: latest and historical rates for 30+ currencies, machine-payable per request.
Offers
| Offer | Endpoint | Price |
|---|---|---|
Supported currencies Map of every supported currency code to its full name, e.g. {"USD":"United States Dollar"}. | /m/fx/currencies | 0.005 USDG |
Historical rates Rates for any past date since 1999. Append the date to the path, e.g. historical/2024-01-02?base=USD. Date ranges work too: historical/2024-01-01..2024-01-31. | /m/fx/historical | 0.005 USDG |
Latest rates Current ECB reference rates. Pass ?base=USD to set the base currency and &symbols=EUR,GBP,JPY to limit the response. | /m/fx/latest | 0.005 USDG |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
Sign in with your wallet to try an endpoint straight from the browser.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
// x402 exact scheme (permit2) on Robinhood Chain
// 1. GET the endpoint, read the payment-required header (base64 JSON)
// 2. Sign PermitWitnessTransferFrom against Permit2 for the advertised offer
// (spender = x402ExactPermit2Proxy, witness.to = merchant wallet)
// 3. Retry with the payment-signature header; settlement tx arrives
// in the payment-response header
const res = await fetch('https://api.meshgateway.co/m/fx/currencies', {
headers: { 'payment-signature': signedPaymentPayload },
})Or inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/fx/currencies # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …