{"uid":"cap_13unvEoDNiINmD-eZLDBf","slug":"artifact-inspector-file-type-mime-inspector-c8a4ad27","name":"Artifact Inspector — File Type & MIME Inspector","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.","url":"https://artifact-inspector.use.x402atlas.com/file","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qTmgLKeQQcH_KH5g09She","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Identifies a file's type and MIME/media type via magic bytes, returning SHA-256 hash, file size, detected extension, and extension-consistency analysis without unpacking or scanning for malware.","exampleAgentPrompt":"Can you inspect this file and tell me its real MIME type based on its magic bytes, whether the extension matches the actual content, its SHA-256 hash, and its size — without unpacking or scanning it?","exampleUseCases":[{"title":"Upload validation before file storage","prompt":"I'm about to store this binary blob. Can you check its true MIME type from the magic bytes, verify the .png extension is consistent with the actual content, and give me the SHA-256 fingerprint and file size?"},{"title":"Detecting disguised executable in user upload","prompt":"A user uploaded a file claiming to be a JPEG but I'm suspicious. Can you inspect it with magic bytes to identify the real file type and tell me if the extension is consistent, along with its SHA-256 hash?"},{"title":"Cataloging unknown binary artifacts","prompt":"I have an unknown binary file with no extension. Can you identify its MIME type and file format from magic bytes, and return the SHA-256 hash and file size so I can catalog it properly?"}],"resultDescription":"Returns the detected MIME/media type identified from magic bytes, the SHA-256 hash of the file content, the file size in bytes, the detected file extension, and a flag or indicator of whether the declared/actual extension is consistent with the detected content type.","failureModes":["File content is empty or zero-byte — returns error","File payload exceeds maximum allowed size — returns size limit error","Content is ambiguous or uses uncommon magic bytes — may return low-confidence or generic MIME type","Malformed multipart or encoding issues — returns parse error","Payment not included or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight file type identification based on magic bytes without unpacking archives or executing any code — ideal for upload validation pipelines, file cataloging, or forensic triage where you need a SHA-256 fingerprint and extension consistency check in a single call. Prefer it over full malware scanners when you only need type identification and integrity hashing, not threat detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:59.886Z","isFirstParty":false}