80trust / 100

Convert

by payload402 in Documents & files

x402 APIPassing, checked 1 h ago

Convert amounts between ISO 4217 currencies using ECB daily reference rates (Frankfurter). Use for invoices, travel budgets, expense reports, and shopping comparisons when you need a verifiable rate instead of LLM arithmetic. Not live tradable FX — rates follow ECB business-day publication.

GET https://payload402.edgebytenet.workers.dev/convert

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
746 ms typical, 971 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://payload402.edgebytenet.workers.dev/convert?amount=10&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%2Fpayload402.edgebytenet.workers.dev%2Fconvert
const res = await pay("https://payload402.edgebytenet.workers.dev/convert?amount=10&from=USD&to=EUR");
console.log(await res.json());

Example input

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

Example output

{
  "amount": 10,
  "converted": 8.5825,
  "date": "2026-08-29",
  "from": "USD",
  "note": "ECB daily reference rates, not live quotes",
  "rate": 0.85825,
  "source": "frankfurter",
  "to": "EUR"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402595 ms$0.001
5 h agoPassed402746 ms$0.001
8 h agoPassed402712 ms$0.001
11 h agoPassed402872 ms$0.001
15 h agoPassed402698 ms$0.001
19 h agoPassed402971 ms$0.001
23 h agoPassed402911 ms$0.001
27 h agoPassed402667 ms$0.001
30 h agoPassed402663 ms$0.001
33 h agoPassed4021.1 s$0.001
38 h agoPassed402890 ms$0.001