# Numora Modular Exponentiation API

> Numora Modular Exponentiation API is a paid API for AI agents from numorapoi.orbonomy.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Computes modular exponentiation (base^exp mod modulus) for integers, useful in cryptography and number theory

## Facts

- Endpoint: POST https://numorapoi.orbonomy.xyz/api/number/modular-exp
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-modular-exponentiation-api-05d5157b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AhqIam5A09Qt_ulBY3lJ6

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-05d5157b -d '<json body>'
```

Example prompt: Can you calculate 7 raised to the power of 256, modulo 1000003? I need the modular exponentiation result.

## When to prefer this

Use this endpoint when you need to compute large integer modular exponentiation without setting up local math libraries, especially in cryptographic contexts (RSA, Diffie-Hellman), number theory problems, or when running in an environment with zero external dependencies. Prefer this over general-purpose compute services when you need a simple, pay-per-call math API with no setup.

## Known failure modes

- Missing required fields (base, exp, or mod) returns a validation error
- mod value of 0 causes division by zero error
- Non-integer inputs rejected with type error
- Payment failure via x402 if insufficient USDC balance
- Very large integers may cause timeout or overflow errors

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

## 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-05d5157b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numorapoi.orbonomy.xyz](https://www.zero.xyz/host/numorapoi.orbonomy.xyz/llms.txt)
