Live fiat exchange rates and crypto spot prices. It is built for autonomous AI agents: discover it, pay for it, and consume it in a single request via the x402 protocol — no API key, no account.
GET https://x402render.vercel.app/fx
Example: /fx?from=USD&to=EUR | /fx?crypto=bitcoin,ethereum&vs=usd
from | string — base fiat ISO code, e.g. USD (fiat mode) |
to | string — quote fiat ISO code, e.g. EUR (fiat mode) |
crypto | string — coin id(s), e.g. bitcoin,ethereum (crypto mode) |
vs | string — fiat to price crypto in, default usd (crypto mode) |
The endpoint returns HTTP 402 Payment Required with the price, asset (USDC), network (Base / eip155:8453), and pay-to address. Your agent pays on-chain and resends with the payment proof header. Compatible with @coinbase/x402 and @piprail/sdk.
See the full catalog at x402render, the machine-readable list at /discovery/resources, or the spec at /openapi.json.