# KiHustle Pearson Correlation Coefficient Calculator

> KiHustle Pearson Correlation Coefficient Calculator is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Computes the Pearson correlation coefficient between two numeric data series

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/json-correlation-pearson?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-pearson-correlation-coefficient-calculator-ec450ae6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qZzHIWaZ47y9sVAg5l7DX

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 kihustle-pearson-correlation-coefficient-calculator-ec450ae6 -d '<json body>'
```

Example prompt: Can you calculate the Pearson correlation between these two data series? Series A: [1, 2, 3, 4, 5] and Series B: [2.1, 3.9, 6.2, 7.8, 10.1]

## When to prefer this

Choose this endpoint when you need a quick, inexpensive ($0.002 USDC) stateless Pearson correlation computation via a simple API call, especially in automated agent pipelines that already handle x402 micropayments. Prefer this over local computation when you need a hosted, consistent implementation or when working within an agent environment without access to statistical libraries.

## Known failure modes

- Mismatched array lengths — series_a and series_b must have equal number of elements
- Empty arrays or single-element arrays may produce undefined or division-by-zero results
- Non-numeric values in either array will cause processing errors
- Zero-variance series (all identical values) will produce NaN or error due to undefined standard deviation
- Payment failure via x402 protocol returns 402 status before computation

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object containing the Pearson correlation coefficient (r value) between the two input numeric series, along with a success status indicator. The r value ranges from -1 (perfect negative correlation) to +1 (perfect positive correlation), with 0 indicating no linear relationship.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "series_a": {
   "type": "array",
   "items": {
    "type": "number"
   }
  },
  "series_b": {
   "type": "array",
   "items": {
    "type": "number"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-pearson-correlation-coefficient-calculator-ec450ae6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
