# KiHustle Spearman Correlation API

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

Computes the Spearman rank-order correlation coefficient between two numerical data series

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/json-correlation-spearman
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-spearman-correlation-api-0d4b2b1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lrjHuVKy3i8Gl9XtRGcm1

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-spearman-correlation-api-0d4b2b1a -d '<json body>'
```

Example prompt: Can you compute the Spearman correlation between these two data series — series A is [1, 2, 3, 4, 5] and series B is [5, 6, 7, 8, 7] — and tell me how strongly they're related?

## When to prefer this

Choose this endpoint when you need a non-parametric rank-order correlation that is robust to outliers and non-normal distributions. Prefer Spearman over Pearson when your data may not be linearly related or when you're working with ordinal data. This is a simple, inexpensive per-call computation suitable for two numeric arrays of any real-world measurement.

## Known failure modes

- Mismatched array lengths between series_a and series_b causing a processing error
- Empty arrays provided resulting in undefined correlation
- Non-numeric values in arrays causing parsing failure
- Constant series (no rank variation) leading to undefined or NaN correlation
- Payment failure due to insufficient USDC balance blocking the request

## 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 a 'result' field with the computed Spearman correlation value (a number between -1 and 1) and a 'status' field confirming success. A value near 1 indicates strong positive rank correlation, near -1 strong negative, and near 0 no monotonic 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-spearman-correlation-api-0d4b2b1a/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)
