# Numora Histogram Computation

> Numora Histogram Computation 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-15).

Computes a histogram (bin counts and edges) for a given array of numeric data with a configurable number of bins

## Facts

- Endpoint: POST https://numormo.vercel.app/api/statistics/histogram
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-histogram-computation-2894a241
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rdRBIoaES8nFg4xYlx8LM

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-histogram-computation-2894a241 -d '<json body>'
```

Example prompt: Can you compute a histogram for this dataset [2.1, 3.5, 3.8, 5.0, 5.1, 7.4, 8.0, 9.2, 9.9, 10.0] using 5 bins and show me the frequency counts and bin edges?

## When to prefer this

Choose this endpoint when you need a pure server-side numerical histogram computation with no external dependencies — ideal for AI agents that have a raw numeric array and need bin counts and edges without installing a local math library. Prefer this over client-side approaches when running in environments without numpy/scipy, or when you need a reliable, stateless micropayment-accessible computation API on Base.

## Known failure modes

- Missing or empty 'data' array returns a 400 error
- Non-numeric values in the data array may cause a computation error
- Requesting 0 or negative bins may return an error or undefined behavior
- Very large arrays may increase latency but should still complete
- Payment not included or insufficient USDC will result in a 402 Payment Required response

## 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 computation string describing what was calculated, and a result object containing bin counts (frequencies per interval) and bin edges (the boundary values defining each bin). The number of edges is bins+1.

## 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-histogram-computation-2894a241/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)
