# AgentTools MIME Type Lookup

> AgentTools MIME Type Lookup is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Look up MIME content types by substring, file extension, or category (text, application, image, audio, video, font, multipart, model)

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/mime-types?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-mime-type-lookup-fba68034
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o4njFFM3iAP4csodSsNr2

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 agenttools-mime-type-lookup-fba68034
```

Example prompt: What's the correct MIME content-type for a .svg file? Search the MIME types database for 'svg' and return the top result.

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve MIME/content-type strings for file extensions or type names — especially useful when building HTTP request headers, validating uploaded file types, or generating API documentation. Prefer this over hardcoded lookup tables when coverage across all major categories (text, application, image, audio, video, font, multipart, model) is needed.

## Known failure modes

- No results returned when query substring or extension does not match any known MIME type
- Invalid category enum value causes a 400-level error
- Overly broad query returns too many results without a limit parameter
- Non-existent or misspelled file extension returns empty result set

## How this service works

Look up MIME content types by type substring or file extension, or list a category — covering text, application, image, audio, video, font and multipart types used in web APIs. Use this when an agent needs to content-Type lookup by type or file extension.

## Output

Returns a list of matching MIME type records including the full content-type string (e.g. 'image/svg+xml'), associated file extensions, and category. Results are filtered by the provided query substring, file extension, or category enum.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "number",
       "description": "Max rows"
      },
      "query": {
       "type": "string",
       "description": "MIME substring or file extension"
      },
      "category": {
       "enum": [
        "",
        "text",
        "application",
        "image",
        "audio",
        "video",
        "font",
        "multipart",
        "model"
       ],
       "type": "string",
       "description": "Category"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-mime-type-lookup-fba68034/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
