get https://www.virustotal.com/api/v3/collections//download/
Special privileges required
Vulnerability Intelligence is only available to users with the Google Threat Intelligence (Google TI) Enterprise or Enterprise Plus licenses.
Examples
Export IoCs from a vulnerability.
import requests
import urllib
object_id = "vulnerability--cve-2022-30190"
format = "json"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/download/{format}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)