{"slug":"artifact-inspector-use-x402atlas-com-file-e1cf52","title":"File type and MIME/media type inspector — identify bounded content by magic byte","host":"artifact-inspector.use.x402atlas.com","method":"POST","resource":"https://artifact-inspector.use.x402atlas.com/file","category":"other","description":"File type and MIME/media type inspector — identify bounded content by magic bytes and return SHA-256, size, and extension consistency without unpacking, malware scanning, or safety claims.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":634,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"content_base64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=","filename":"pixel.png"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"content_base64":{"description":"Canonical standard base64 for zero to 1 MiB caller-provided bytes; never a URL","maxLength":1398104,"minLength":0,"type":"string"},"filename":{"description":"Optional synthetic base filename used only for extension comparison; paths are rejected","maxLength":255,"minLength":1,"type":"string"}},"required":["content_base64"],"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":{"additionalProperties":false,"properties":{"_atlas":{"additionalProperties":false,"description":"Atlas documentation and related-route metadata added after deployment","properties":{"docs":{"description":"Documentation URL for this bridge","format":"uri","maxLength":512,"type":"string"},"related":{"description":"Bounded related Atlas routes","items":{"additionalProperties":false,"description":"One related Atlas route","properties":{"bridge":{"description":"Related bridge name","maxLength":64,"type":"string"},"docs":{"description":"Related bridge documentation URL","format":"uri","maxLength":512,"type":"string"},"summary":{"description":"Short capability summary","maxLength":256,"type":"string"},"url":{"description":"Related route URL","format":"uri","maxLength":512,"type":"string"}},"required":["bridge","url","docs","summary"],"type":"object"},"maxItems":3,"type":"array"}},"required":["docs"],"type":"object"},"algorithm_version":{"const":"go-content-sniff-v1","description":"Pinned bounded Go content-sniffing contract","type":"string"},"operation":{"const":"file-inspect","description":"Stable operation name","type":"string"},"result":{"additionalProperties":false,"description":"Bounded content-sniffing and integrity result","properties":{"extension":{"description":"Lowercase filename extension or empty","type":"string"},"extension_matches":{"description":"Comparison result or null when no registered extension was available","type":["boolean","null"]},"extension_media_type":{"description":"Registered media type for the extension or empty","type":"string"},"filename_provided":{"description":"Whether a synthetic filename was supplied","type":"boolean"},"media_type":{"description":"Bounded magic-sniffed media type; application/octet-stream means unknown","type":"string"},"sha256":{"description":"SHA-256 of the decoded bytes","pattern":"^[0-9a-f]{64}$","type":"string"},"size":{"description":"Decoded byte length","maximum":1048576,"minimum":0,"type":"integer"},"warnings":{"description":"Extension consistency warnings","items":{"description":"Human-readable warning","type":"string"},"maxItems":4,"type":"array"}},"required":["size","sha256","media_type","filename_provided","extension","extension_media_type","extension_matches","warnings"],"type":"object"},"warnings":{"description":"Route-level safety limitations","items":{"description":"Human-readable warning","type":"string"},"maxItems":4,"type":"array"}},"required":["operation","algorithm_version","result","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":634,"error":null}],"description_full":"File type and MIME/media type inspector — identify bounded content by magic bytes and return SHA-256, size, and extension consistency without unpacking, malware scanning, or safety claims.","last_updated":"2026-09-15T06:32:38.919Z","schemes":["exact"]}