# Numora Statistics Regression Endpoint

> Numora Statistics Regression Endpoint is a paid API for AI agents from numormor.netlify.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Performs polynomial regression on paired x/y data arrays, returning fitted coefficients and goodness-of-fit metrics with zero external dependencies

## Facts

- Endpoint: POST https://numormor.netlify.app/api/statistics/regression
- 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-statistics-regression-endpoint-9e18c868
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZgxfjRwNvY_xLSVG6RL62

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-9e18c868 -d '<json body>'
```

Example prompt: Fit a quadratic polynomial (degree 2) regression to these data points — x: [1, 2, 3, 4, 5] and y: [2.1, 3.9, 9.1, 15.8, 25.2] — and tell me the coefficients and how well the curve fits.

## When to prefer this

Choose this endpoint when you need serverless, dependency-free polynomial regression computed on-demand with micropayment pricing — ideal for AI agents that need to fit curves to small-to-medium datasets without spinning up a data science stack or calling a heavy analytics platform. Prefer over general-purpose computation APIs when you need the result immediately with predictable per-call cost.

## Known failure modes

- x and y arrays of mismatched length — validation error returned
- degree parameter exceeds number of data points — underdetermined system error
- non-numeric values in x or y arrays — type error
- missing required x or y fields — 400 bad request
- degree not a positive integer — parameter validation error
- payment not included or insufficient — 402 Payment Required

## 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 flag, a computation string describing what was computed, and a result object containing regression coefficients, R-squared goodness-of-fit score, and other fitted model statistics appropriate to the polynomial degree requested.

## 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-9e18c868/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormor.netlify.app](https://www.zero.xyz/host/numormor.netlify.app/llms.txt)
