Skip to content
GET /v1/meta

Spec & dataset stats

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/mimetypes-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/mimetypes-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mimetypes-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mimetypes-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/mimetypes-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "service": "mimetypes-api",
        "sources": {
            "iana": 2215,
            "none": 98,
            "nginx": 13,
            "apache": 275
        },
        "endpoints": {
            "GET /v1/list": "List media types (source=iana|apache|nginx|none; limit, offset).",
            "GET /v1/meta": "This document.",
            "GET /v1/type": "Media-type detail by name (name=, e.g. application/json).",
            "GET /v1/search": "Search media types (q=, min 2 chars; source=).",
            "GET /v1/extension": "Media type(s) for a file extension (ext=, e.g. png)."
        },
        "description": "Canonical MIME / media-type database (jshttp mime-db: IANA + Apache + nginx): resolve a media type to its file extensions, charset and compressibility, reverse-lookup the media type for a file extension, search and list types by source. No key.",
        "total_types": 2601,
        "total_extensions": 1302,
        "types_with_extensions": 1025
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:15.465Z",
        "request_id": "8f96d749-cd99-465d-882a-4022c7445ea5"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}