get
https://www.virustotal.com/api/v3/collections//aggregations/download/
Use this endpoint to export shared attributes among associated IoCs in either JSON or CSV format.
Examples
Export commonalities from a Vulnerability.
import requests
import urllib
object_id = "vulnerability--cve-2022-30190"
format = "csv"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/aggregations/download/{format}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)