WebberSites x402 Data API · Calc

by WebberSites x402 Data API

GETBase

$0.001

per call · USD Coin on Base

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.

Endpoint

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

9

Calls / 30d

3

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.webbersites.com/api/calc", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.webbersites.com/api/calc?expr=8347293847+*+9928374652" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0xdd5fcea81ca6f1eb39fed5b973de794293b81ba6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from WebberSites x402 Data API & similar services