Get a list of analyses for a file

This endpoint allows you to retrieve all analyses performed on a certain sha256 hash using cursored listings.

import requests

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

url = "https://www.virustotal.com/api/v3/monitor_partner/hashes/<sha256>/analyses"
response = session.get(url)
print(response.text)
{
  "data": [
    {
      "id": "d917dd47406322341cef40cf38091292962ba81d42983456aae4dc4f7967afb1-1517474700",
      "type": "monitor_analysis",
      "attributes": {
        "analysis_results": {
          "{engine name}": {
            "category": "undetected",
            "engine_name": "{engine name}",
            "engine_update": "20180201",
            "engine_version": "1.1.1.3",
            "method": "blacklist",
            "result": null
          }
        },
        "date": 1517474787,
        "detections_count": 1,
        "sha256": "d917dd47406322341cef40cf38091292962ba81d42983456aae4dc4f7967afb1",
        "tags": [
          "detected",
          "{engine name}"
        ]
      }
    }
  ]
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!