# Delx Commerce — Content-Type Header Parser

> Delx Commerce — Content-Type Header Parser 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 Content-Type header string into its MIME type value and parameters (e.g. charset) with verifiable, in-memory processing and no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/content-type-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-content-type-header-parser-110eba54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4SCmb7VDpSLPxbD75L4Ua

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-content-type-header-parser-110eba54 -d '<json body>'
```

Example prompt: Parse this Content-Type header for me and tell me the MIME type and any parameters like charset: 'application/json; charset=utf-8'.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use, no-signup Content-Type header parser with cryptographic evidence of processing (input hash, no-retention guarantee). Prefer it over rolling your own parser when auditability and verifiable delivery matter, or when operating in an agent pipeline that already uses x402 micropayment infrastructure on Base or Solana.

## Known failure modes

- Malformed or empty header string may result in a parse error or null fields
- Header exceeding 8192 characters will be rejected
- Payment failure via x402 will prevent the call from completing
- Invalid USDC payment on Base or Solana will result in a 402 response

## How this service works

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

## Output

Returns a JSON object with the parsed MIME type value (e.g. 'application/json'), an object containing extracted parameters (e.g. charset), operation status ('pass'), schema identifier, and a verifiable evidence block including whether input was retained (always false), a SHA-256 hash of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "value": "application/json",
   "parameters": {
    "charset": "utf-8"
   }
  },
  "schema": "delx/util-content-type-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "5c24e73c9e741320e06a1ff85b66a54a947393edcd7062ac04e5723f7e04fe2d",
   "external_calls": 0
  },
  "operation": "web_reliability:content_type_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-content-type-header-parser-110eba54/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)
