Api Endpoint

Exact Math Calculator | Lordevo

Exact calculator for agents: evaluates a math expression with big integers and exact fractions (1/3 stays 1/3), powers, factorials, sqrt, round, gcd, lcm, comb, perm, logs and trig. Returns result, fraction, decimal to N places, repeating decimal and whether it is exact. Offline.

Open interactive test console

Offering

Provider
shop.lordevo.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://shop.lordevo.com/api/quick/math-eval
MIME type
application/json
First seen
2026-11-01T15:05:36.808Z
Last seen
Tags
calculator, Math, exact math, big integer, fractions

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.0021 USDC
Atomic price: 2100 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2100",
    "payTo": "0x0876A79Bb5A88Bf338E6b47b4530359527b01d73"
  }
]

Observed health

Status
Healthy
Latest latency
810 ms
Average latency
1460 ms
HTTP status
402
Last checked
Reachability
88.9% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "expr": {
          "type": "string",
          "description": "Math expression, up to 1,000 characters, e.g. sqrt(16/9) + cbrt(-27) + 8^(1/3) or comb(52, 5): numbers, + - * / % ^ ! ( ), functions like sqrt(), round(x, 2), constants pi, e, deg"
        },
        "decimals": {
          "type": "string",
          "description": "Decimal places in \"decimal\", 0-100 (default 20)",
          "pattern": "^\\d{1,3}$",
          "default": "20"
        }
      },
      "required": [
        "expr"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "tool": {
          "type": "string"
        },
        "expression": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "exact": {
          "type": "boolean"
        },
        "integer": {
          "type": "boolean"
        },
        "fraction": {
          "type": [
            "string",
            "null"
          ]
        },
        "decimal": {
          "type": "string"
        },
        "decimals": {
          "type": "integer"
        },
        "rounded": {
          "type": "boolean"
        },
        "repeating": {
          "type": [
            "string",
            "null"
          ]
        },
        "scientific": {
          "type": "string"
        },
        "number": {
          "type": [
            "number",
            "null"
          ]
        },
        "digits": {
          "type": [
            "integer",
            "null"
          ]
        },
        "notes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "tool",
        "result",
        "exact"
      ]
    }
  },
  "required": [
    "type"
  ]
}