# Delx LCM (Least Common Multiple)

> Delx LCM (Least Common Multiple) is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes the least common multiple of two integers, useful for cadence alignment, tile sizing, and schedule math in agent workflows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/lcm
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-lcm-least-common-multiple-e10a9809
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RW0XHU1z5Q5LiYJEmsnIe

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 delx-lcm-least-common-multiple-e10a9809 -d '<json body>'
```

Example prompt: What's the least common multiple of 12 and 18? I need it to align two repeating task schedules that run every 12 and 18 steps respectively.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, pay-per-call LCM computation with no API key or subscription overhead, especially inside agent workflows requiring cadence alignment, tile sizing, or schedule synchronization. Prefer over general math APIs when you want first-party JSON output and micro-payment billing only on successful results.

## Known failure modes

- Zero input: LCM is mathematically undefined or zero when either operand is 0
- Non-integer inputs: structured validation error returned, no charge applied
- Missing required fields: validation error with no billing
- Overflow: very large integers may cause computation issues depending on implementation limits

## How this service works

Least common multiple. Use for cadence alignment, tile sizes, or schedule math in agent workflows. Returns LCM of two integers. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a JSON object containing the least common multiple of the two input integers as a single deterministic integer value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "integer",
   "description": "First integer operand."
  },
  "b": {
   "type": "integer",
   "description": "Second integer operand."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": 18,
  "b": 24,
  "lcm": 72,
  "schema": "delx/lcm/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-lcm-least-common-multiple-e10a9809/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
