Get a list of items with a given sha256 hash

This endpoint allows you to retrieve file paths, descriptions, etc. for all files in monitor with a certain sha256 hash.

import requests

session = requests.Session()
session.headers = {'X-Apikey': '<api-key>'}

url = "https://www.virustotal.com/api/v3/monitor_partner/hashes/<sha256>/items"
response = session.get(url)
print(response.text)
{
 "data": [
  {
   "attributes": {
    "creation_date": 1517387994,
    "details": "Original filename: \"shvlres.dll\"",
    "first_detection_date": 1517388090,
    "last_analysis_date": 1517474787,
    "last_analysis_results": {
     "[ENGINE-NAME]": {
      "category": "undetected",
      "engine_name": "[ENGINE-NAME]",
      "engine_update": "20180201",
      "engine_version": "1.1.1.3",
      "method": "blacklist",
      "result": null
     }...
    },
    "last_detections_count": 1,
    "md5": "1d5544d6ca1ac6674e9ea11d4b947c35",
    "path": "shvlres.dll",
    "sha1": "9024e1b34143321f4fb6ea717cde48a293bf99e0",
    "sha256": "d917dd47406322341cef40cf38091292962ba81d42983456aae4dc4f7967afb1",
    "size": 2178131
   },
   "id": "[MONITOR-ID]",
   "type": "monitor_item"
  }
 ]}
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!