# Accept Header Parse Utility

> Accept Header Parse Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Parses and interprets HTTP Accept header values into structured, machine-readable format

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/accept-header-parse?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/accept-header-parse-utility-92c1588e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VBKBFjClbRGIMwiI9buHK

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 accept-header-parse-utility-92c1588e -d '<json body>'
```

Example prompt: Parse this Accept header value for me — 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' — and give me a structured breakdown of the media types and their quality factors.

## When to prefer this

Choose this endpoint when an AI agent needs to programmatically parse HTTP Accept headers during content negotiation logic, API middleware construction, or request routing decisions. Useful when you need a paid, metered, machine-callable utility for structured header parsing without implementing your own MIME type parser.

## Known failure modes

- Malformed Accept header string may produce unexpected parse results
- Missing or null value field may cause validation error
- Unsupported media type syntax may result in partial parse
- Service unavailability on Render.com free tier causing cold-start delays or timeouts
- Payment failure via x402 protocol blocking request execution

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

A JSON object containing the parsed result of the Accept header, including structured media types, quality factors (q-values), and priority ordering, along with an operation identifier confirming the accept_header_parse operation was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "accept_header_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/accept-header-parse-utility-92c1588e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
