← Back to directory

Evaluate unit-aware arithmetic and conversions such as "5 km / 2 h to m/s" with ...

https://code.halowerk.com/v1/units-calc

Overview

Evaluate unit-aware arithmetic and conversions such as "5 km / 2 h to m/s" with strict dimension checking. Uses the mathjs unit system (SI and common imperial units, prefixes, derived units) to evaluate an expression or convert a value from one unit to another. Incompatible dimensions are rejected instead of silently converted. Expression functions that could alter the evaluator (import, createUnit, evaluate, parse, simplify, derivative) are disabled.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider code
Source bazaar
Indexed 2026-11-20 14:09:42

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

{ "body": { "expression": "5 km / 2 h to m/s" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "dimension_si": "m / s", "text": "0.6944444444 m / s", "unit": "m / s", "value": 0.6944444444 }, "service": "units-calc", "status": "success" }, "type": "json" }