# KiHustle Spearman Rank Correlation API

> KiHustle Spearman Rank 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-10-13).

Computes the Spearman rank correlation coefficient between two numerical data series

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/json-correlation-spearman?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-spearman-rank-correlation-api-a35be3f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MxiiW-5GpUeoKfYgW6A6N

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-rank-correlation-api-a35be3f9 -d '<json body>'
```

Example prompt: Can you calculate the Spearman rank correlation between these two series: [1, 2, 3, 4, 5] and [5, 6, 7, 8, 7]? I want to know how strongly they're monotonically related.

## When to prefer this

Choose this endpoint when you need a non-parametric rank-based correlation measure that does not assume a normal distribution or linear relationship — ideal for ordinal data, ranked scores, or data with outliers. Prefer over Pearson correlation when the data may not be normally distributed or when you care about monotonic rather than strictly linear association. At $0.002 per call, it is cost-effective for lightweight statistical computations in automated workflows.

## Known failure modes

- Mismatched series lengths (series_a and series_b must have equal number of elements)
- Empty arrays provided as input
- Non-numeric values in either series causing parsing errors
- Network timeout or payment processing failure via x402 protocol
- Ambiguous or missing input schema fields returning a 400-level error

## 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 with a 'result' field containing the computed Spearman correlation value (ranging from -1 to +1) and a 'status' field indicating whether the computation succeeded. A value near +1 indicates strong positive monotonic correlation, near -1 indicates strong negative monotonic correlation, and near 0 indicates 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-rank-correlation-api-a35be3f9/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)
