# Numora GCD & LCM Calculator

> Numora GCD & LCM Calculator is a paid API for AI agents from numomo.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Computes the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two integers

## Facts

- Endpoint: POST https://numomo.vercel.app/api/number/gcd-lcm
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-gcd-lcm-calculator-edb18770
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c01SsPgjcaDMNOFMGU4YI

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 numora-gcd-lcm-calculator-edb18770 -d '<json body>'
```

Example prompt: What are the GCD and LCM of 48 and 180?

## When to prefer this

Choose this endpoint when you need both GCD and LCM for a pair of integers in a single call with no external dependencies. Ideal for agents handling number theory problems, fraction simplification, scheduling alignment, or algebraic computation without spinning up a local math library. Prefer over general-purpose code execution when a deterministic, low-latency, micropayment-gated math endpoint is acceptable.

## Known failure modes

- Non-integer inputs (e.g. floats or strings) fail schema validation
- Missing required field `a` or `b` returns an error
- Both inputs being zero is mathematically undefined and may return an error
- Payment failure via x402 micropayment returns a 402 status before computation runs

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with `success: true`, a `result` object containing the GCD and LCM of the two provided integers, and a `computation` string describing what was calculated in human-readable form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "a",
  "b"
 ],
 "properties": {
  "a": {
   "type": "integer"
  },
  "b": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-gcd-lcm-calculator-edb18770/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numomo.vercel.app](https://www.zero.xyz/host/numomo.vercel.app/llms.txt)
