81trust / 100

Currency Rate

by Data Lookup API in Markets & finance

x402 APIPassing, checked 42 min ago

Currency exchange rate for converting between any two currencies (forex/FX rate), drawn from a set of 30+ major currencies, sourced from the European Central Bank's official daily reference rates. Updates once per business day (~16:00 CET) — not a live or intraday feed.

GET https://x402-seller.onrender.com/currency/rate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
128 ms typical, 128 ms slowest 5%
Last check
42 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-seller.onrender.com/currency/rate?from=USD&to=JPY"
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%2Fx402-seller.onrender.com%2Fcurrency%2Frate
const res = await pay("https://x402-seller.onrender.com/currency/rate?from=USD&to=JPY");
console.log(await res.json());

Example input

{
  "from": "USD",
  "to": "JPY"
}

Example output

{
  "date": "2026-07-15",
  "from": "USD",
  "rate": 157.23,
  "source": "European Central Bank (ECB)",
  "to": "JPY"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
42 min agoPassed402153 ms$0.008
6 h agoPassed402128 ms$0.008