# Numora Regression Analysis API

> Numora Regression Analysis API 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-14).

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

## Facts

- Endpoint: POST https://numormo.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-regression-analysis-api-9b85d6f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__HFcOnjOwbHZ-a9YXj91E

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-regression-analysis-api-9b85d6f3 -d '<json body>'
```

Example prompt: Can you fit a quadratic (degree 2) polynomial regression to my data — x values are [1, 2, 3, 4, 5] and y values are [2.1, 3.9, 9.2, 15.8, 25.1]?

## When to prefer this

Choose this endpoint when you need fast, serverless polynomial regression computation without setting up a local math library or calling a heavy data-science platform. Ideal for AI agents that need on-demand regression fitting within a workflow, especially when payment via x402 micropayments on Base is acceptable. Prefer alternatives if you need advanced statistical outputs (p-values, confidence intervals), very large datasets, or batch regression across many variable pairs.

## Known failure modes

- x and y arrays of mismatched lengths return a validation error
- empty or null arrays cause a 400-level error
- non-numeric values in x or y arrays cause parsing failure
- degree parameter set to 0 or negative may return an error or trivial result
- very large arrays may cause timeout or memory issues on the serverless instance

## 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 flag, a human-readable computation description, and a result object containing regression coefficients (polynomial terms), and optionally goodness-of-fit metrics such as R-squared. The result varies by degree of polynomial 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-regression-analysis-api-9b85d6f3/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)
