← Back to directory

Evaluate a math expression and get the exact number back, so the agent does not ...

https://agents.204-168-199-108.sslip.io/v1/util/calc

Overview

Evaluate a math expression and get the exact number back, so the agent does not do arithmetic in its head. Supports + - * / % ^ (or **), parentheses, implicit multiplication (2pi), factorial (5!), constants pi, e, tau, phi, and functions sqrt, cbrt, abs, exp, ln, log (base 10), log2, sin/cos/tan (radians) and inverses, floor, ceil, round, min, max, pow, hypot. Optional named variables. Safe parser (no code execution); errors such as division by zero return 400 (not charged).

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Calculator math expression eval
Source bazaar
Indexed 2026-11-25 21:04:58

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "expression": "principal*(1+rate/12)^(12*years)", "precision": "2", "vars": "principal=10000,rate=0.05,years=10" }, "type": "http" }

Output Schema

{ "example": { "expression": "principal*(1+rate/12)^(12*years)", "note": "IEEE-754 double precision; trig functions use radians; log = log10, ln = natural log; ^ and ** are power.", "precision": 2, "result": 16470.09, "result_text": "16,470.09", "vars": { "principal": 10000, "rate": 0.05, "years": 10 } }, "type": "json" }