# Maha Strategies Unit & Uncertainty Converter

> Maha Strategies Unit & Uncertainty Converter is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Converts a decimal measurement value and its standard uncertainty between supported length, mass, time, or temperature units using exact rational arithmetic.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/unit-uncertainty-conversion
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maha-strategies-unit-uncertainty-converter-23e698c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RwBoIYefIz_A8YFQnkAF6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maha-strategies-unit-uncertainty-converter-23e698c0 -d '<json body>'
```

Example prompt: Convert 2.54 cm to millimeters — the measured value is 2.54 and the standard uncertainty is 0.01 cm; give me the result as an absolute quantity.

## When to prefer this

Choose this endpoint when you need exact, auditable unit conversion with correct uncertainty propagation for a single measurement in the supported physical quantity domains (length, mass, time, temperature). It is ideal when exact rational arithmetic matters and you need a receipt/digest for provenance. Prefer alternatives if you need bulk conversions, unsupported units (e.g. imperial or astronomical units), or combined expanded uncertainty (coverage factor k).

## Known failure modes

- Mismatched quantity type — converting a temperature difference using 'absolute' instead of 'difference' (or vice versa) will produce incorrect offset handling
- Unsupported unit pair — units outside the supported enum (e.g. miles, pounds, Rankine) will be rejected
- Value or uncertainty string exceeding 21 characters will be rejected
- Attempting to convert between incompatible physical quantity types (e.g. length to mass) will be rejected
- Malformed numeric strings (non-decimal formats) will cause validation errors

## How this service works

Convert a measurement without losing declared uncertainty: one decimal value and standard uncertainty across supported length, mass, time or temperature units using exact rational scale/offset arithmetic. No unit guessing, physical validation or expanded uncertainty.

## Output

Returns the converted numeric value and propagated standard uncertainty in the target unit, computed via exact rational scale/offset arithmetic. Also includes a version string, offer ID, amount in base units, input digest, and receipt digest for auditability.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "dataClass": {
       "type": "string",
       "enum": [
        "public",
        "synthetic"
       ]
      },
      "value": {
       "type": "string",
       "maxLength": 21
      },
      "standardUncertainty": {
       "type": "string",
       "maxLength": 21
      },
      "from": {
       "type": "string",
       "enum": [
        "m",
        "cm",
        "mm",
        "km",
        "kg",
        "g",
        "s",
        "min",
        "h",
        "K",
        "degC",
        "degF"
       ]
      },
      "to": {
       "type": "string",
       "enum": [
        "m",
        "cm",
        "mm",
        "km",
        "kg",
        "g",
        "s",
        "min",
        "h",
        "K",
        "degC",
        "degF"
       ]
      },
      "quantity": {
       "type": "string",
       "enum": [
        "absolute",
        "difference"
       ]
      }
     },
     "required": [
      "dataClass",
      "value",
      "standardUncertainty",
      "from",
      "to",
      "quantity"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "version": {
       "type": "string",
       "enum": [
        "maha-microproducts/0.1"
       ]
      },
      "offerId": {
       "type": "string",
       "enum": [
        "unit-uncertainty-conversion"
       ]
      },
      "amountBaseUnits": {
       "type": "string",
       "enum": [
        "8000"
       ]
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "result": {
       "type": "object"
      },
      "boundaries": {
       "type": "array",
       "minItems": 0,
       "maxItems": 128
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      }
     },
     "required": [
      "version
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maha-strategies-unit-uncertainty-converter-23e698c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
