# Numora Modular Exponentiation API

> Numora Modular Exponentiation API 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-16).

Computes modular exponentiation (base^exp mod modulus) for integers with no external dependencies

## Facts

- Endpoint: POST https://numomo.vercel.app/api/number/modular-exp
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-modular-exponentiation-api-919951ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vKyMEhvmG-Ye0muKNdTJO

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-modular-exponentiation-api-919951ed -d '<json body>'
```

Example prompt: Can you compute 7 raised to the power of 256, modulo 1000000007 using Numora's modular exponentiation endpoint?

## When to prefer this

Use this endpoint when you need a deterministic, dependency-free modular exponentiation result for number theory, cryptographic demonstrations, or competitive programming tasks. Prefer this over general-purpose compute services when you need a lightweight, pay-per-call math API with no setup.

## Known failure modes

- Missing required field (base, exp, or mod) returns validation error
- Modulus of zero causes division by zero error
- Non-integer inputs rejected with type error
- Extremely large integers may cause timeout or overflow depending on implementation limits

## 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' (boolean), 'result' (object containing the computed value of base^exp mod modulus), and 'computation' (a human-readable string describing what was computed).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "exp",
  "mod",
  "base"
 ],
 "properties": {
  "exp": {
   "type": "integer"
  },
  "mod": {
   "type": "integer"
  },
  "base": {
   "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-modular-exponentiation-api-919951ed/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)
