# Numora Statistics Correlation Endpoint

> Numora Statistics Correlation 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-15).

Computes the Pearson or statistical correlation coefficient between two numerical arrays

## Facts

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

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-correlation-endpoint-b3f8d953 -d '<json body>'
```

Example prompt: Can you compute the statistical correlation between these two datasets — x is [10, 20, 30, 40, 50] and y is [12, 24, 28, 45, 52]?

## When to prefer this

Use this endpoint when you need a fast, serverless, dependency-free computation of the statistical correlation between two numeric arrays without setting up a local math library. Ideal for AI agents needing a lightweight math microservice with per-call micropayment pricing on Base, especially in environments where installing scipy or numpy is not feasible.

## Known failure modes

- Arrays x and y have different lengths — returns an error
- Non-numeric values in input arrays cause computation failure
- Empty arrays provided — returns validation error
- Missing required field x or y — returns 400-level error
- Micropayment failure via x402 protocol prevents request from being processed

## 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 (always true on success), a 'result' object containing the computed correlation coefficient and related statistics, and a 'computation' string describing in plain English what was calculated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "x",
  "y"
 ],
 "properties": {
  "x": {
   "type": "array"
  },
  "y": {
   "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-statistics-correlation-endpoint-b3f8d953/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)
