# 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-09-14).

Computes the Spearman rank correlation coefficient between two numerical data series

## Facts

- Endpoint: POST https://kihustle.tech/agents/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-rank-correlation-api-12c6bd25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fAdQSzXSvVB59UBSoHjdu

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-12c6bd25 -d '<json body>'
```

Example prompt: Can you compute the Spearman rank correlation between these two series — series A is [1, 2, 3, 4, 5] and series B is [5, 6, 7, 8, 7]?

## When to prefer this

Choose this endpoint when you need a non-parametric measure of association between two numeric series that does not assume a normal distribution. Prefer Spearman over Pearson when data may be ordinal, contain outliers, or have a monotonic but non-linear relationship. Ideal for ranked survey data, financial ranks, or any scenario where rank order matters more than exact values.

## Known failure modes

- Mismatched array lengths between series_a and series_b — may return an error or undefined result
- Empty arrays provided — likely returns an error response
- Non-numeric values in arrays — schema validation may reject input
- Arrays with too few elements for meaningful correlation — result may be unreliable
- Network or payment failure returns 402 if USDC payment not processed

## 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 Spearman rank correlation coefficient (rho) between the two input series, along with a status field indicating success. The result scalar ranges from -1 (perfect inverse rank correlation) to +1 (perfect rank correlation), with 0 indicating 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-12c6bd25/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)
