← Back to directory

File type vs leading bytes (magic numbers, disguised HTML, truncation)

https://agents.writerslogic.com/api/v1/magic-bytes

Overview

Compares a claimed file type (MIME type and/or file name) with the first bytes of the file, for an agent that is about to open, parse or forward a download. Detects PNG, JPEG, GIF, WebP, ZIP and OOXML (docx/xlsx/pptx), GZIP, PDF, MP4 (ftyp), ELF, PE, RAR, BMP, ICO and HTML, flags an HTML login or error page saved as a PDF/image/archive, and reports truncation from end-of-file markers when the last bytes or the total size are supplied. Input is base64 of up to 32 KiB of head b

Protocol x402 (POST)
Price $0.0050
Payment Asset USDC
Payment Network Base
Category uncategorized
Provider WritersLogic
Source self-registered
Indexed 2026-11-16 04:15:15

Health

Status healthy
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —