# Numora Statistics Histogram

> Numora Statistics Histogram 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 a histogram (bin counts and ranges) for a given dataset of numeric values

## Facts

- Endpoint: POST https://numomo.vercel.app/api/statistics/histogram
- 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-statistics-histogram-df98b8f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wa7THOR4drpY6QP0YXvz1

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-histogram-df98b8f6 -d '<json body>'
```

Example prompt: Can you compute a histogram for this dataset — [12, 15, 14, 10, 18, 22, 25, 13, 17, 19, 21, 11, 16, 20, 23] — using 5 bins?

## When to prefer this

Choose this endpoint when you need a server-side, dependency-free histogram computation over a raw numeric array without standing up any local math library. Ideal for AI agents that need to summarize data distributions on the fly, especially in environments where running local statistical libraries is impractical. Prefer this over general-purpose computation APIs when you want a pure math result with no external data dependencies and micropayment-based access.

## Known failure modes

- Empty or missing data array returns an error
- Non-numeric values in the data array cause computation failure
- Bin count less than 1 or greater than data length may return an error or degenerate result
- Very large datasets may time out
- Mismatched data types (e.g. strings in array) cause validation failure

## 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 success flag, a human-readable computation description, and a result object containing bin definitions (edges/ranges) and the count of data points that fall into each bin, enabling frequency distribution analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "bins": {
   "type": "integer"
  },
  "data": {
   "type": "array"
  }
 }
}
```

## 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-histogram-df98b8f6/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)
