# Lordevo Exact Calculator

> Lordevo Exact Calculator is a paid API for AI agents from shop.lordevo.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Evaluates a math expression exactly, preserving fractions and big integers, and returns the result with multiple representations (fraction, decimal, scientific notation)

## Facts

- Endpoint: GET https://shop.lordevo.com/api/quick/math-eval?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lordevo-exact-calculator-a76c14bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3_iysNstNA8zm9Uo563Fc

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 lordevo-exact-calculator-a76c14bb
```

Example prompt: Can you calculate 1/3 + 1/7 exactly and show me the result as a fraction, plus its decimal expansion to 30 places?

## When to prefer this

Choose this endpoint when exact symbolic or arbitrary-precision results are required — especially for fractions, big integers, or expressions involving pi, e, or standard math functions — rather than floating-point approximations. It is ideal for agents that need verifiable, lossless computation results rather than estimates from a general-purpose LLM.

## Known failure modes

- Malformed expression returns error — e.g. mismatched parentheses or unknown function name
- Expression exceeding 1,000 characters is rejected
- Invalid decimals parameter (non-numeric or out of 0–100 range) returns validation error
- Division by zero returns error or undefined result
- Very deeply nested or computationally explosive expressions may time out

## How this service works

Exact calculator: arithmetic, fractions, big integers, functions: Evaluates a math expression exactly: + - * / % ^ !, parentheses, big integers and fractions (1/3 stays 1/3), plus sqrt, round, floor, min, max, mean, gcd, lcm, comb, perm, ln, log, exp and trig (radians; deg constant). Returns result,

## Output

A JSON object containing: result (canonical string), exact (boolean indicating if result is exact), fraction (fractional form if rational), decimal (decimal expansion to requested precision), scientific (scientific notation), integer (boolean), rounded (boolean), repeating (repeating decimal pattern if any), digits, decimals, expression (echoed input), tool name, and any notes about the computation.

## 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",
     "required": [
      "expr"
     ],
     "properties": {
      "expr": {
       "type": "string",
       "description": "Math expression, up to 1,000 characters: numbers, + - * / % ^ ! ( ), functions like sqrt(), round(x, 2), comb(n, k), constants pi, e, deg"
      },
      "decimals": {
       "type": "string",
       "default": "20",
       "pattern": "^\\d{1,3}$",
       "description": "Decimal places in \"decimal\", 0-100 (default 20)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "tool",
      "result",
      "exact"
     ],
     "properties": {
      "tool": {
       "type": "string"
      },
      "exact": {
       "type": "boolean"
      },
      "notes": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "digits": {
       "type": [
        "integer",
        "null"
       ]
      },
      "number": {
       "type": [
        "number",
        "null"
       ]
      },
      "result": {
       "type": "string"
      },
      "decimal": {
       "type": "string"
      },
      "integer": {
       "type": "boolean"
      },
      "rounded": {
       "type": "boolean"
      },
      "decimals": {
       "type": "integer"
      },
      "fraction": {
       "type": [
        "string",
        "null"
       ]
      },
      "repeating": {
       "type": [
        "string",
        "null"
       ]
      },
      "expression": {
       "type": "string"
      },
      "scientific": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

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