Identify what a file really is from its magic bytes — 70+ formats
Identify what a file really is from its magic bytes — 70+ formats: images (png, jpg, gif, webp, heic, avif, svg…), pdf, office (docx/xlsx/pptx, OLE doc/xls, odt, epub), archives (zip, gz, 7z, rar, tar, zst), audio/video (mp3, wav, flac, mp4, mov, webm, mkv…), executables (exe, elf, mach-o, wasm, jar, apk), fonts, sqlite, parquet, and text types (json, csv, html, xml, ics). Compares with the filename extension: extension_mismatch=true flags renamed or disguised uploads; is_exe
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/security/file-type
| Category | Image and media |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-30 | valid payment request | 402 | $0.001 | 966 ms |
| 2026-11-29 | valid payment request | 402 | $0.001 | 966 ms |
| 2026-11-28 | valid payment request | 402 | $0.001 | 1042 ms |
| 2026-11-27 | valid payment request | 402 | $0.001 | 935 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"base64": "JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+Pg==",
"filename": "invoice.docx"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"base64": {
"description": "File content (or its first \u2265512 bytes) as base64 / data URL",
"type": "string"
},
"filename": {
"description": "Optional filename to check the extension against",
"type": "string"
},
"hex": {
"description": "Alternative: first bytes as hex",
"type": "string"
},
"text": {
"description": "Alternative: text content",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}