82trust / 100
Ecb Fx
by Maxwell x402 in Markets & finance
x402 APIPassing, checked 4 min ago
ECB euro foreign exchange reference rates (EUR base) for one currency (e.g. USD): the latest rate and about three months of daily history in date order, as published by the European Central Bank.
GET https://api.maxwellinternational.ai/v1/macro/ecb/fx
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 213 ms typical, 213 ms slowest 5%
- Last check
- 4 min ago
- Next check
- in 24 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/macro/ecb/fx?pair=USD"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fmacro%2Fecb%2Ffx
const res = await pay("https://api.maxwellinternational.ai/v1/macro/ecb/fx?pair=USD");
console.log(await res.json());Example input
{
"pair": "USD"
}Example output
{
"base": "EUR",
"count": 65,
"currency": "USD",
"fetchedAt": "2026-10-05T08:12:36.034Z",
"latest": {
"date": "2026-10-02",
"rate": 1.1225
},
"observations": [
{
"date": "2026-07-06",
"rate": 1.1415
}
],
"ok": true,
"pair": "EURUSD",
"quote": "USD",
"source": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 min ago | Passed | 402 | 213 ms | $0.005 |
| 5 h ago | Passed | 402 | 224 ms | $0.005 |