# Numora Histogram Computation

> Numora Histogram Computation is a paid API for AI agents from numorapoi.orbonomy.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Computes a histogram (frequency distribution) over a numeric dataset, optionally with a specified number of bins

## Facts

- Endpoint: POST https://numorapoi.orbonomy.xyz/api/statistics/histogram
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-histogram-computation-92c64b26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vXSE5RqfVln5hhYZR3fSq

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-92c64b26 -d '<json body>'
```

Example prompt: Can you compute a histogram for this dataset with 10 bins: [2.1, 3.5, 2.8, 4.0, 1.9, 3.3, 5.2, 2.7, 4.4, 3.1, 1.5, 4.8, 3.9, 2.2, 5.0]?

## When to prefer this

Use this endpoint when you need a pure server-side histogram computation with no external dependencies and you want a lightweight, fast, micropayment-gated math call. Prefer this over local computation when you need a consistent, reproducible binning result from a hosted service, or when integrating into an agent workflow that already uses x402 micropayments on Base.

## Known failure modes

- Missing required 'data' field returns validation error
- Empty array for data may return error or trivial result
- Non-numeric values in data array may cause computation failure
- Invalid bins value (non-integer, zero, or negative) returns error
- Payment failure via x402 prevents endpoint access
- Very large arrays may hit timeout or size limits

## 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 human-readable 'computation' string describing what was calculated, and a 'result' object containing the histogram bins, bin edges or ranges, and frequency counts per bin showing how many data values fall into each interval.

## 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-92c64b26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numorapoi.orbonomy.xyz](https://www.zero.xyz/host/numorapoi.orbonomy.xyz/llms.txt)
