# SignalDesk AI Percentile Calculator

> SignalDesk AI Percentile Calculator is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Computes a percentile value from a list of numeric observations using R-7 linear interpolation

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/stats/percentile?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-percentile-calculator-03f859b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_72Vyo5H4-Uf8CR4l_knAT

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 signaldesk-ai-percentile-calculator-03f859b2 -d '<json body>'
```

Example prompt: What is the 95th percentile of these response times: [120, 340, 210, 890, 450, 670, 130, 980, 310, 560, 720, 440]?

## When to prefer this

Choose this endpoint when you need a statistically rigorous percentile calculation (R-7 linear interpolation, consistent with R, Excel, NumPy) on up to 1,000 observations without standing up your own compute. It is especially useful in agent pipelines where you want a paid, metered, reliable computation call rather than running local statistics code. Prefer it for performance monitoring (p95/p99 latency), grading, benchmarking, or any scenario where you need a single precise percentile rather than a full distribution summary.

## Known failure modes

- Empty or missing 'values' array returns a validation error
- More than 1000 items in the array exceeds the maxItems limit and is rejected
- Values outside the range -1e15 to 1e15 fail schema validation
- Percentile outside 0-100 range returns a validation error
- Non-finite numbers (NaN, Infinity) in the values array may be rejected
- Malformed JSON body returns a 400-level error

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with a 'value' field containing the computed percentile as a number (using R-7 linear interpolation, the same method used by R, Excel, and NumPy by default), and a 'method' field confirming the interpolation algorithm used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "items": {
    "type": "number",
    "maximum": 1000000000000000,
    "minimum": -1000000000000000
   },
   "maxItems": 1000,
   "minItems": 1,
   "description": "Up to 1000 finite observations."
  },
  "percentile": {
   "type": "number",
   "maximum": 100,
   "minimum": 0,
   "description": "Percentile 0..100."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 7.5,
  "method": "R-7 linear interpolation"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-percentile-calculator-03f859b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
