thatAPI - File Type Detector
The File Type Detector API identifies file types from their actual content (magic bytes), not just file extensions. This catches disguised files, for example a .jpg that is actually an .exe. Key Features: - Magic byte detection reads the first bytes of a file to identify its true type - Filename fallback detects from extension when no content is provided - Returns MIME type, file extension, and…
thatAPI - File Type Detector endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Detect File Type /v1/file-type/detect |
Detect the MIME type of a file from its content (magic bytes) or filename. Returns MIME type, extension, category (image/document/archive/etc.), file size, and a safety flag for… |