# Numora Statistics Sampling API

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

Performs statistical sampling on a dataset using simple random, systematic, or bootstrap sampling methods

## Facts

- Endpoint: POST https://numormo.vercel.app/api/statistics/sampling
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-statistics-sampling-api-3a3bfb66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fVh-i0wnZvqkfx03IKY2N

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-statistics-sampling-api-3a3bfb66 -d '<json body>'
```

Example prompt: Draw a simple random sample of 30 items from this dataset [12, 45, 7, 88, 23, 56, 91, 34, 67, 10, 5, 78, 43, 29, 61, 82, 15, 39, 72, 54, 18, 63, 47, 95, 31, 84, 22, 58, 76, 40, 9, 66, 51, 87, 25, 70, 38, 93, 17, 62] using simple random sampling.

## When to prefer this

Choose this endpoint when you need a pure math, dependency-free statistical sampling computation on a known dataset and do not need database access, external data fetching, or ML-based sample generation. Prefer it over custom code execution when you need auditable, consistent sampling logic via API with micropayment-based access. Best for agents performing statistical analysis pipelines that require sampling as an intermediate step.

## Known failure modes

- n exceeds dataset length for non-bootstrap methods — returns error or unexpected behavior
- invalid method enum value — request rejected or defaults used
- empty data array — computation fails with no items to sample
- n is zero or negative — invalid sample size error
- data array contains non-numeric values when numeric computation is expected

## 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 success boolean, a result object containing the sampled subset of the input data, and a human-readable computation string describing what was computed. The result reflects the selected sample indices or values depending on the sampling method chosen.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "n",
  "data"
 ],
 "properties": {
  "n": {
   "type": "integer"
  },
  "data": {
   "type": "array"
  },
  "method": {
   "enum": [
    "simple",
    "systematic",
    "bootstrap"
   ],
   "type": "string"
  }
 }
}
```

## 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-statistics-sampling-api-3a3bfb66/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)
