agents.writerslogic.com
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 bytes and optionally 4 KiB of tail bytes. It does not decompress, validate image data, scan for malware, or prove a file is safe; a pass means the signature and the structural markers it could see are consistent with the claim.
Resource URL
https://agents.writerslogic.com/api/v1/magic-bytes
Payment options
$0.005 USDC
Max amount
- Pay to
- 0x34C2D4B19b2D61Da1eC98A3463B8E9994FB86522
- Timeout
- 300s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agents.writerslogic.com/api/v1/magic-bytes Type: http Sources: payai