
Archive Explorer API
Security
Safely look inside ZIP, JAR, RAR, 7z and TAR archives without extracting them, and flag disguised executables before you open anything.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
20 requests per minute
Endpoints
1 endpoint available
Overview
List what is inside a ZIP archive and flag risky entries, without extracting or running anything. Works with anything that is a ZIP inside: .zip, .jar, .apk, .docx, .xlsx and so on. RAR, 7z, TAR and GZ are only supported on the web page.
Checks
- By name: unsafe paths that try to write outside the destination folder, executables and scripts, double extensions like
invoice.pdf.exe, and macro-enabled Office files. - By content (when
scanis on): the same checks as the Suspicious File Scanner, on the first 5 MB of each file.
Each entry's severity is the worse of its name and content results.
Limits
- One archive up to 25 MB. Encrypted entries are listed but not scanned.
- Up to 5000 entries are listed (
truncatedis true when there are more). - Content scans cover up to 200 files and 100 MB of decompressed data per request (
scanLimitReachedsays when the limit cut it short).
Endpoints
POST
https://opentools.ca/api/v1/tools/archive-explorerList a ZIP archive and flag risky entries
Request Body
Content-Type: multipart/form-data
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | file | Required | The ZIP archive (or JAR, APK, DOCX, XLSX...), up to 25 MB. |
| scan | boolean | Optional | Also inspect each file's contents. "false" checks names only.Default: true |
Response Example
{
"success": true,
"name": "download.zip",
"format": "zip",
"entryCount": 3,
"truncated": false,
"summary": {
"danger": 1,
"warn": 0,
"ok": 1
},
"scanned": 2,
"scanLimitReached": false,
"entries": [
{
"path": "docs/",
"isDirectory": true,
"size": null,
"modified": "2026-03-14T09:12:00.000Z",
"severity": "ok",
"nameReasons": [],
"scan": null
},
{
"path": "docs/readme.txt",
"isDirectory": false,
"size": 1204,
"modified": "2026-03-14T09:12:00.000Z",
"severity": "ok",
"nameReasons": [],
"scan": {
"verdict": "ok",
"detectedType": "Plain text",
"findings": []
}
},
{
"path": "invoice.pdf.exe",
"isDirectory": false,
"size": 48213,
"modified": "2026-03-14T09:12:00.000Z",
"severity": "danger",
"nameReasons": [
"Executable / script (.exe) — can run code if opened",
"Double extension — disguised to look like a .pdf file"
],
"scan": {
"verdict": "danger",
"detectedType": "Windows executable / DLL (PE)",
"findings": [
{
"severity": "danger",
"title": "This is a program, not a document",
"detail": "Detected as: Windows executable / DLL (PE). Only run it if you completely trust the source."
}
]
}
}
]
}Error Codes
400
Bad Request - missing or invalid fields (see details)401
Unauthorized - missing or invalid API key403
Forbidden - API key inactive or expired, or request IP not allowed413
Payload Too Large - a file is over 25 MB415
Unsupported Media Type - the file is not a ZIP archive422
Unprocessable - the archive is damaged or could not be read429
Too Many Requests - more than 20 requests per minute for this key500
Internal Server ErrorCode Examples
curl -X POST https://opentools.ca/api/v1/tools/archive-explorer \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@download.zip"Rather use it in your browser? Open the Archive Explorer