# Server Timing Parse

> Server Timing Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Parses and validates Server-Timing HTTP header metrics and durations from a caller-supplied header string, returning normalized findings and a pass/advisory status.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/server-timing-parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/server-timing-parse-7a1adc88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wPQghhy30RWW1C7mNoVfr

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 server-timing-parse-7a1adc88 -d '<json body>'
```

Example prompt: Parse this Server-Timing header for me and tell me if it's valid — the header value is 'cache;desc="Cache Read";dur=23.2, db;dur=53, app;dur=47.2' — I need the normalized metrics and whether it passes.

## When to prefer this

Use this endpoint when you need a deterministic, stateless, zero-retention parse and validation of a Server-Timing HTTP header before making decisions about caching, redirecting, or retrying a web response. Prefer it over manual regex parsing when you need normalized output and an explicit pass/advisory finding in structured JSON. It requires no API key and charges a flat $0.001 USDC per call via x402 on Base.

## Known failure modes

- Malformed or empty header string returns advisory status with parsing error detail
- Header exceeding 8192 character limit is rejected with input validation error
- Header with non-numeric duration values returns advisory finding
- Missing or null header field results in input schema validation error
- Payment failure via x402 returns 402 response before processing begins

## How this service works

Server Timing Parse: Server Timing Parse parses bounded Server-Timing metrics and durations from bounded caller-supplied values without an external provider. Call Server Timing Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Server Timing Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only executi…

## Output

Returns a versioned deterministic JSON object containing: the normalized Server-Timing metrics extracted from the header, the computed finding based on the parsed values, and an explicit pass or advisory status indicating whether the header is well-formed and the timing values are within expected bounds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "header": {
   "type": "string",
   "maxLength": 8192,
   "description": "Header supplied to Server Timing Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 2,
   "entries": [
    {
     "value": "db",
     "parameters": {
      "dur": "53.2"
     }
    },
    {
     "value": "app",
     "parameters": {
      "dur": "47.1",
      "desc": "render"
     }
    }
   ]
  },
  "schema": "delx/util-server-timing-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "708230c66f5cfef7f0f9156cce490fe9b28111b12282cf61b6a7a8f6bbabced1",
   "external_calls": 0
  },
  "operation": "web_reliability:server_timing_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/server-timing-parse-7a1adc88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
