# Delx Commerce MIME Lookup

> Delx Commerce MIME Lookup 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).

Looks up the MIME type for a given file type or content descriptor via a pay-per-call API using USDC micropayments.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/mime-lookup?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-mime-lookup-ca348e00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GT9JcJHDxvjQcmGNhcKZ6

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-mime-lookup-ca348e00 -d '<json body>'
```

Example prompt: What is the MIME type for a .svg file? Look it up and give me the exact content-type string I should use.

## When to prefer this

Use this endpoint when an agent needs a quick, authoritative MIME type lookup for a specific file extension or content descriptor without setting up a local lookup table, and when micropayment via USDC on Base or Solana is acceptable. Prefer this over hardcoded lookup tables when up-to-date or comprehensive coverage across many formats is needed.

## Known failure modes

- Unknown or non-standard file extension returns empty or null MIME type
- Malformed request body causes 400-level error
- Payment failure (insufficient USDC balance) results in 402 Payment Required
- Unsupported bodyType enum value causes validation error

## 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 containing the resolved MIME type string (e.g. 'image/svg+xml') corresponding to the queried file type or content descriptor.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-mime-lookup-ca348e00/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)
