81trust / 100

Fx Convert

by flat-rate-llm.kikoribera03.workers.dev in Documents & files

x402 APIPassing, checked 20 min ago

Converts an amount between any two of the ~30 currencies in the European Central Bank's official reference rates, on today's publication or on a past date within the last 90 days. Returns the rate used, its publication date and whether it was crossed through the euro. This is the auditable rate accounting and customs ask for, not a live market quote: it is published once a day and it is reproducible.

GET https://flat-rate-llm.kikoribera03.workers.dev/v1/fx/convert

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
44 ms typical, 384 ms slowest 5%
Last check
20 min ago
Next check
in 9 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://flat-rate-llm.kikoribera03.workers.dev/v1/fx/convert?amount=100&from=USD&to=EUR"
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%2Fflat-rate-llm.kikoribera03.workers.dev%2Fv1%2Ffx%2Fconvert
const res = await pay("https://flat-rate-llm.kikoribera03.workers.dev/v1/fx/convert?amount=100&from=USD&to=EUR");
console.log(await res.json());

Example input

{
  "amount": 100,
  "from": "USD",
  "to": "EUR"
}

Example output

{
  "amount": 100,
  "converted": 86.0882,
  "date": "2026-09-10",
  "dateRequested": null,
  "from": "USD",
  "rate": 0.860882,
  "source": "European Central Bank euro foreign exchange reference rates",
  "to": "EUR",
  "viaEur": false
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
20 min agoPassed402384 ms$0.005
3 h agoPassed40244 ms$0.005
7 h agoPassed402471 ms$0.005
12 h agoPassed40244 ms$0.005