# Delx Commerce — Link Header Parse

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

Parses an HTTP Link header string into structured entries with values and parameters (e.g. rel, type)

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/link-header-parse?utm_source=zero.xyz
- Price: $0.001/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-link-header-parse-bef002b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VEsrq0Ef2Z4Hfqds3H0r5

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-link-header-parse-bef002b6 -d '<json body>'
```

Example prompt: Parse this HTTP Link header string for me and pull out all the entries with their URLs and rel parameters: '<https://api.example.com/items?page=2>; rel="next", <https://api.example.com/items?page=1>; rel="prev"'

## When to prefer this

Choose this endpoint when an agent needs to reliably parse HTTP Link headers into structured data — particularly for navigating paginated REST APIs or extracting link relations. It is pay-per-call with no signup, offers verifiable in-memory processing (no data retention), and is purpose-built for agent workflows using x402 micropayments on Base/Solana. Prefer it over ad-hoc string splitting when you need structured, auditable parsing with a cryptographic evidence receipt.

## Known failure modes

- Malformed or non-standard Link header strings may result in zero parsed entries or a failed status
- Input exceeding 8192 characters will be rejected
- Missing or empty 'header' field may cause a parse error or empty result
- Unexpected header encoding may cause parameter extraction to be incomplete

## 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 a count of parsed entries and an array of entry objects, each with a 'value' (the URL) and a 'parameters' map (e.g. rel, type). Also includes a schema identifier, status ('pass'), and an evidence block confirming no data retention, the SHA-256 of the input, and zero external calls made.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 1,
   "entries": [
    {
     "value": "https://api.example.com/items?page=2",
     "parameters": {
      "rel": "next"
     }
    }
   ]
  },
  "schema": "delx/util-link-header-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "c29e9d075fe214f8f36932c4673fa5d7a8d63984c8a0ca8a21112ef48942249c",
   "external_calls": 0
  },
  "operation": "web_reliability:link_header_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-link-header-parse-bef002b6/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)
