๐MIME Types Database
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.
Worked examples
What MIME type is .png?
GET /api/v1/dev/mime-types?query=.png
Result: image/png
JSON-related types
GET /api/v1/dev/mime-types?query=json
Result: application/json
All image types
GET /api/v1/dev/mime-types?category=image&limit=10
Result: 7 MIME types โ image
Machine API (x402)
$0.001 / callThis tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol โ no accounts, no API keys.
GET /api/v1/dev/mime-types?query=.png HTTP/1.1
Host: agenttools-hub.vercel.app
โ 402 (payment required, instructions in headers)
โ 200 (after X-PAYMENT header; JSON body below)
{
"tool": "dev/mime-types",
"input": {"query":".png"},
"result": { "value": null, "answer": "image/png" }
}Agent docs: /llms.txt ยท OpenAPI spec ยท integration guide
About this tool
The Content-Type header tells clients how to interpret a response body. Look up MIME types by name or by file extension, or browse a category โ from text/html and application/json to font/woff2 and multipart/form-data.
Frequently asked questions
What MIME type should a JSON API return?
application/json. It is also the correct type for OpenAPI specs and machine-readable agent docs like this site's /api/openapi.json.
What is the MIME type for files with no extension?
application/octet-stream is the generic fallback for unknown binary data and triggers a download in browsers.