{"slug":"tools-halowerk-com-v1-file-inspect-17bd4c","title":"Determines the actual file type from the signature, recognises Office and archiv","host":"tools.halowerk.com","method":"POST","resource":"https://tools.halowerk.com/v1/file/inspect","category":"code","description":"Determines the actual file type from the signature, recognises Office and archive contents by their directory, reports macros, embedded executables, path traversal in the archive, JavaScript and launch actions in PDF, and the mismatch between file extension and content. The file is neither executed ","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":898,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"filename":"report.txt","text":"Quarterly report draft for structural inspection."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"base64":{"description":"File content as Base64, up to about 9 MB","type":"string"},"filename":{"description":"Claimed file name, used to compare the extension","type":"string"},"text":{"description":"Alternatively: text content","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"bytes":{"type":"integer"},"claimed_extension":{"type":"string"},"detected":{"properties":{"extension":{"type":"string"},"mime":{"type":"string"}},"type":"object"},"embedded":{"type":"array"},"extension_matches":{"type":"boolean"},"findings":{"type":"array"},"magic_hex":{"type":"string"},"note":{"type":"string"},"verdict":{"type":"string"}},"required":["bytes","detected","claimed_extension","extension_matches","magic_hex","embedded","findings","verdict","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":891,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":986,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":870,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":916,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":975,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":868,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":992,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":899,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1086,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1029,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1037,"error":null}],"description_full":"Determines the actual file type from the signature, recognises Office and archive contents by their directory, reports macros, embedded executables, path traversal in the archive, JavaScript and launch actions in PDF, and the mismatch between file extension and content. The file is neither executed nor stored.","last_updated":"2026-11-23T10:36:02.19Z","schemes":["exact"]}