# Numora Statistics Regression Endpoint

> Numora Statistics Regression Endpoint 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-14).

Fits a polynomial regression model to paired x/y data arrays and returns the regression coefficients and fit statistics

## Facts

- Endpoint: POST https://numomo.vercel.app/api/statistics/regression
- 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-regression-endpoint-3a4ddbc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zzL1vShuJkXXvZqt8FIN0

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-regression-endpoint-3a4ddbc1 -d '<json body>'
```

Example prompt: Run a degree-2 polynomial regression on these x values [1, 2, 3, 4, 5] and y values [2.1, 4.0, 9.2, 16.1, 25.3] and give me the regression coefficients.

## When to prefer this

Choose this endpoint when you need pure server-side polynomial regression computation with no external dependencies, paid per-call via USDC micropayment. Ideal for AI agents that need deterministic, reproducible curve fitting on arbitrary numeric arrays without setting up a statistics library. Prefer over general-purpose code execution endpoints when you want a single clean regression result with no environment setup.

## Known failure modes

- x and y arrays of different lengths — mismatched input sizes will cause an error
- degree parameter too high relative to number of data points — underdetermined system
- non-numeric values in x or y arrays — type validation failure
- missing required x or y fields — 400 bad request
- degree not provided defaults to linear (degree 1) — may not suit higher-order needs
- payment failure via x402 micropayment protocol — 402 response if USDC balance insufficient

## 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 'computation' string describing what was computed, and a 'result' object containing the polynomial regression coefficients (and potentially R-squared or other fit metrics) for the specified degree fit to the input x/y arrays.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "x",
  "y"
 ],
 "properties": {
  "x": {
   "type": "array"
  },
  "y": {
   "type": "array"
  },
  "degree": {
   "type": "integer"
  }
 }
}
```

## 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-regression-endpoint-3a4ddbc1/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)
