82trust / 100

Calc

by WebberSites x402 Data API in Developer tools

x402 APIPassing, checked 29 min ago

Exact math for agents — the arithmetic LLMs get plausibly wrong. Evaluates an expression at 50-significant-digit precision (BigNumber): big-integer multiplication, high-precision division, roots, logs, factorials, unit conversions (12 inch to cm). GET ?expr=…, result returned as an exact string. Deterministic, no AI, never executed as code.

GET https://api.webbersites.com/api/calc

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.webbersites.com/api/calc?expr=8347293847+*+9928374652"
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.webbersites.com%2Fapi%2Fcalc
const res = await pay("https://api.webbersites.com/api/calc?expr=8347293847+*+9928374652");
console.log(await res.json());

Example input

{
  "expr": "8347293847 * 9928374652"
}

Example output

{
  "expr": "8347293847 * 9928374652",
  "precision": "50 significant digits",
  "result": "82875060643350366244",
  "type": "BigNumber"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
29 min agoPassed402136 ms$0.001
6 h agoPassed402127 ms$0.001