Scan report for a file hash (MD5, SHA1 or SHA256).
GET/hash/{hash}
- Takes: File
- Passive: the target is not contacted
Returns the stored multi-engine scan report for a hash, with community votes.
Path parameters
hashThe MD5, SHA1 or SHA256 hash to look up
Headers
apikeyThe apikey identifies and authenticates the user
Response fields · 9ShowHide
scan_result_history_length
Number of historical scan results for the file
file_id
File id for the submitted file
data_id
The dataId assigned to the file
sandbox_id
Sandbox id for the dataId
scan_results
The results of the scan
file_info
Information about the file
share_file
Whether the file can be shared
up
Positive community feedback
down
Negative community feedback
curl 'https://api.metadefender.com/v4/hash/d41d8cd98f00b204e9800998ecf8427e' \
-H 'apikey: YOUR_API_KEY'{
"scan_result_history_length": 1,
"file_id": "EXAMPLEFILEID",
"data_id": "EXAMPLEDATAID",
"votes": {
"up": 0,
"down": 0
}
}