CodeLive

Fx Rates

Daily reference exchange rates from the European Central Bank (via Frankfurter).

$0.00138USDC per call · settled on Base · no subscription, no API key

Overview

Daily reference exchange rates from the European Central Bank (via Frankfurter). 30+ major currencies. Pass base = 3-letter ISO 4217 currency (default USD), optional symbols = comma-separated target codes (default = all available), optional date = YYYY-MM-DD for historical rates (history back to 1999, business days only; omit for latest), optional amount to convert (default 1). Returns base, date, amount, and a map of currency code → rate.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/fx-rates-3787$0.00138Invoke Fx Rates (Code) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/fx-rates-3787

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/fx-rates-3787
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs