# Numora Random Number Generation API

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

Generates arrays of random numbers following a specified statistical distribution (normal, uniform, Poisson, exponential, or binomial)

## Facts

- Endpoint: POST https://numormo.vercel.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-1b52ba78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6xGNXb2zl036QYKx2ugBy

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-1b52ba78 -d '<json body>'
```

Example prompt: Generate 500 random samples from a normal distribution using Numora — I need them for a Monte Carlo simulation I'm running.

## When to prefer this

Choose this endpoint when you need server-side statistical random number generation with no external dependencies, especially when working within an x402 micropayment workflow on Base. Ideal for agents that need to sample from named statistical distributions (normal, uniform, Poisson, exponential, binomial) without setting up a local math library or relying on a general-purpose compute environment.

## Known failure modes

- Missing required 'n' or 'type' fields returns a validation error
- Invalid distribution type (not one of normal/uniform/poisson/exponential/binomial) causes rejection
- Invalid or missing distribution parameters for parameterized distributions (e.g. binomial without p and trials) may cause errors
- Non-integer or negative 'n' values will be rejected
- Payment failure via x402 micropayment protocol results in 402 Payment Required

## 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

A JSON object containing a 'result' object with the generated array of random numbers, a 'computation' string describing what was computed (e.g. 'Generated 100 normal random variates'), and a 'success' boolean set to true.

## 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-1b52ba78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormo.vercel.app](https://www.zero.xyz/host/numormo.vercel.app/llms.txt)
