# Content-Type Parse Utility

> Content-Type 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 normalizes HTTP Content-Type header values, extracting media type, subtype, and parameters like charset.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/content-type-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/content-type-parse-utility-572fd3e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2j0B8I1ZyK9ihe2zY-8WJ

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 content-type-parse-utility-572fd3e3 -d '<json body>'
```

Example prompt: Parse this Content-Type header value for me — 'text/html; charset=UTF-8; boundary=something' — and give me back the media type, subtype, and all the parameters separately.

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call microservice to parse Content-Type header strings into structured components without running your own parser. Useful in agent pipelines that process HTTP responses, validate file uploads, or route requests based on media type, especially when you want a deterministic utility callable via the x402 micropayment protocol.

## Known failure modes

- Malformed or non-standard Content-Type strings may produce incomplete parsing results
- Empty or null input value may return an error or empty result
- Extremely unusual MIME type formats not conforming to RFC standards may not parse correctly
- Payment failure via x402 protocol will prevent the call from completing

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with the parsed content-type broken into its components: the operation name ('content_type_parse') and a result field containing the extracted media type, subtype, and any parameters such as charset or boundary.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/content-type-parse-utility-572fd3e3/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)
