79trust / 100

Rate

by x402.whisperbox.my.id in AI models & inference

x402 APIPassing, checked 28 min ago

Currency rate conversion

GET https://x402.whisperbox.my.id/x402/rate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
645 ms typical, 687 ms slowest 5%
Last check
28 min ago
Next check
in 4 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.whisperbox.my.id/x402/rate?from_currency=USD&to_currency=IDR"
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.whisperbox.my.id%2Fx402%2Frate
const res = await pay("https://x402.whisperbox.my.id/x402/rate?from_currency=USD&to_currency=IDR");
console.log(await res.json());

Example input

{
  "from_currency": "USD",
  "to_currency": "IDR"
}

Example output

{
  "from": "USD",
  "rate": 17862.19,
  "to": "IDR"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
28 min agoPassed402659 ms$0.01
4 h agoPassed402640 ms$0.01
7 h agoPassed402635 ms$0.01
11 h agoPassed402628 ms$0.01
14 h agoPassed402645 ms$0.01
18 h agoPassed402662 ms$0.01
22 h agoPassed402660 ms$0.01
25 h agoPassed402632 ms$0.01
30 h agoPassed402647 ms$0.01
33 h agoPassed402687 ms$0.01
36 h agoPassed402631 ms$0.01
41 h agoPassed402693 ms$0.01