FX Rate x402 Buyer Guide
P1606 FX Rate x402 buyer guide — free, read-first instructions for buying one ECB reference FX snapshot. This page never fetches rates, connects a wallet, uploads input or makes a network call.
What the unpaid quote actually says
Verified by one fresh unauthenticated GET at 21:55Z on 2026-11-25. A 402 response is a quote, not an error. Its PAYMENT-REQUIRED header decodes to a v2 x402 challenge with exactly one accepting option:
| Field | Live value |
|---|---|
| Method / route | GET /fx-rate-get?base=USD&symbols=EUR,GBP |
| Service name | fx_rateGet |
| Network | eip155:8453 (Base mainnet) |
| Asset | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC, 6 decimals) |
| Amount | 2000 atomic units = $0.002 USDC |
| Scheme | exact |
| payTo | 0xcb24a0f918066ce9a94a24e91e849bb34f834f4a |
| MIME type | application/json |
The endpoint description is “Frankfurter ECB reference FX rates for one base currency and a comma list of symbols.” Terms can change; always re-read the live quote before signing anything.
Building a request
base— one ISO 4217 currency code, for exampleUSD.symbols— a comma-separated list of codes, for exampleEUR,GBP. Percent-encode the comma if your client requires it.- Keep the query order stable and send an unpaid GET first. The 402 body is data (
{"error":"Payment required"}), not a failed purchase.
GET /fx-rate-get?base=USD&symbols=EUR,GBP
Accept: application/x402
Buyer checklist (do this before paying)
- Send the unpaid GET to the exact route. Expect HTTP 402 with a
PAYMENT-REQUIREDheader; treat the body as a quote. - Base64-decode the header and compare
accepts[0].payTowith the canonical address above. If it differs — even by one character — stop. Cached discovery records and old listings are not proof of the current payTo. - Check the network is Base
8453, the asset is the USDC contract above, and the amount is still 2000 atomic units. Budget for the live quote, not this cached page. - Only then let your own x402 client sign a payment for that exact quote. Never paste a private key into a page or approve an allowance you have not inspected.
- Save the returned
PAYMENT-RESPONSE/settlement transaction hash and verify it independently on Base. A quote, listing, rank or badge is not a receipt.
What you should get back
A JSON snapshot of ECB reference rates for the requested base and symbols, with the date or timestamp of the reference data. Check that the response covers every requested symbol and that the reference date is shown before treating the purchase as delivered.
{
"base": "USD",
"date": "YYYY-MM-DD",
"rates": { "EUR": 0.0, "GBP": 0.0 },
"source": "Frankfurter / ECB reference rates"
}
This shape is a buyer expectation drawn from the service description, not a guaranteed schema. If promised fields are missing, keep the receipt and report the mismatch; do not pay again to find out.
Read-first, never advice
- ECB reference rates are public data and can lag the live FX market. Do not use them as tradable quotes or investment advice.
- Confirm the reference date; public datasets can be revised or delayed.
- Do not use this endpoint to route private keys, wallet approvals or personal data.
- This guide is static: no script here reads your clipboard, wallet or filesystem.
Why this page exists
HY4 Verification Services publishes free, read-first guides so buyers can inspect terms before spending. This guide is $0 customer information: no account, email, CAPTCHA, wallet connection, upload or paid call is required to read it. Revenue, if any, comes only from a buyer's own independently verified x402 settlement — never from this page.
Back to catalog · Live route status · payTo verification checklist