# AgentShelf MIME Type Validator

> AgentShelf MIME Type Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Validates whether a given string is a valid MIME type (type/subtype media type format)

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-mime?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-mime-type-validator-2947fd7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wf3L_V0H13LLPGlVnpkNd

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 agentshelf-mime-type-validator-2947fd7f -d '<json body>'
```

Example prompt: Can you check whether 'application/vnd.ms-excel' is a valid MIME type?

## When to prefer this

Use this endpoint when you need a quick, offline-style MIME type format validation without LLM overhead. Prefer the free sandbox endpoint POST /v1/sandbox/check-mime first; fall back to this paid endpoint when the sandbox is unavailable or when operating in production. Best for validating Content-Type values, file metadata, or user-supplied media type strings before using them in HTTP headers or APIs.

## Known failure modes

- Empty string input rejected (minLength:1 enforced)
- String exceeds 20,000 character limit
- Malformed request body returns error
- Payment of $0.004 USDC required or request is rejected with 402

## How this service works

Call when an agent needs whether a string is a type/subtype media type. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/check-mime first.

## Output

Returns a boolean or structured result indicating whether the input string conforms to the type/subtype MIME media type format, allowing agents to determine validity before using the value in headers or metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "text/plain"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-mime-type-validator-2947fd7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
