# Delx Commerce Latency Summary API

> Delx Commerce Latency Summary API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Computes descriptive latency statistics (min, max, mean, p50, p95, p99) from an array of millisecond latency values

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/latency-summary?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-latency-summary-api-93027a37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWuR_bPx3e7QESEUrYHe2

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 delx-commerce-latency-summary-api-93027a37 -d '<json body>'
```

Example prompt: I have a list of API response times in milliseconds — [12, 22, 18, 55, 30] — can you compute the latency summary including p50, p95, and p99 for me?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call latency statistics summary without setting up any analytics infrastructure or accounts. It is ideal for agents that periodically collect timing data and need computed percentiles on demand, especially in cost-sensitive or serverless contexts where a $0.002 per-call model is preferable to a subscription-based observability platform.

## Known failure modes

- Empty array input returns a validation error (minItems: 1)
- Array exceeding 10,000 items is rejected (maxItems: 10000)
- Non-numeric values in the array cause a schema validation failure
- Payment failure or insufficient USDC balance on Base/Solana returns a 402 response
- Network timeout if the request takes too long to process

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the count of samples, minimum, maximum, mean, p50, p95, and p99 latency values in milliseconds, plus a schema version identifier ('delx/latency-summary/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latencies_ms": {
   "type": "array",
   "items": {
    "type": "number",
    "minimum": 0
   },
   "maxItems": 10000,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 5,
  "max_ms": 55,
  "min_ms": 12,
  "p50_ms": 22,
  "p95_ms": 50.2,
  "p99_ms": 54.04,
  "schema": "delx/latency-summary/v1",
  "mean_ms": 27.6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-latency-summary-api-93027a37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
