# Numora Random Number Generation API

> Numora Random Number Generation API is a paid API for AI agents from numormor.netlify.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Generates n random numbers of a specified type (e.g. integer, float, normal) with optional distribution parameters

## Facts

- Endpoint: POST https://numormor.netlify.app/api/generate/random
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-random-number-generation-api-0ee20d11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qu5De0EUEWvEpWZQAnAeN

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-random-number-generation-api-0ee20d11 -d '<json body>'
```

Example prompt: Generate 50 random numbers of type 'normal' using Numora's random endpoint — standard normal distribution, mean 0, standard deviation 1.

## When to prefer this

Use this endpoint when you need pure server-side random number generation with no external dependencies, especially for statistical sampling, simulations, or testing — and when you want a math-focused API with micropayment pricing rather than a general-purpose RNG library.

## Known failure modes

- Missing required field 'n' or 'type' returns a validation error
- Invalid type string not recognized by the API returns an error
- Non-integer value for n causes schema validation failure
- Payment not included or insufficient USDC causes 402 Payment Required
- Unsupported params object structure may cause computation 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 success=true, a result object containing the generated random numbers (array or structured output), and a human-readable computation string describing what was produced.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "n",
  "type"
 ],
 "properties": {
  "n": {
   "type": "integer"
  },
  "type": {
   "enum": [
    "normal",
    "uniform",
    "poisson",
    "exponential",
    "binomial"
   ],
   "type": "string"
  },
  "params": {
   "type": "object"
  }
 }
}
```

## 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-random-number-generation-api-0ee20d11/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormor.netlify.app](https://www.zero.xyz/host/numormor.netlify.app/llms.txt)
