# AgentRXI Calculator

> AgentRXI Calculator is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Evaluates math expressions, converts units across 11 dimensions, and performs date arithmetic including business-day calculations

## Facts

- Endpoint: GET https://agentrxi.com/v1/calc?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-calculator-83c5988b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ENXGB00xfDP844pETL2vP

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 agentrxi-calculator-83c5988b
```

Example prompt: What is 7! + 2^10, and also convert 150 pounds to kilograms for me?

## When to prefer this

Use this endpoint when an agent needs exact, deterministic arithmetic results rather than LLM approximations — especially for unit conversions, factorial/power calculations, or precise date arithmetic with business-day awareness. Prefer over asking the LLM directly when precision and reproducibility matter.

## Known failure modes

- Invalid or malformed math expression returns an error
- Unrecognized or incompatible unit pair (e.g. length to mass) returns an error
- Missing required query parameters returns a validation error
- Date in wrong format causes a parsing failure
- Division by zero in expression causes computation error

## How this service works

Exact calculator for agents: math expressions (functions, powers, factorials), unit conversion (length, mass, volume, area, time, speed, data, energy, pressure, power, temperature) and date arithmetic (add, diff with business days, weekday). Also callable as GET with the same fields as query parameters.

## Output

Returns a computed numeric result for math expressions, a converted value with units for unit conversions, or a resulting date/count/weekday name for date arithmetic operations

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "Unit"
      },
      "date": {
       "type": "string"
      },
      "days": {
       "type": "integer"
      },
      "expr": {
       "type": "string",
       "description": "Math expression"
      },
      "from": {
       "type": "string",
       "description": "Unit"
      },
      "date2": {
       "type": "string"
      },
      "value": {
       "type": "number"
      },
      "years": {
       "type": "integer"
      },
      "months": {
       "type": "integer"
      },
      "date_op": {
       "type": "string",
       "description": "add | diff | weekday"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-calculator-83c5988b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
