Export IOCs from a given report's relationship

🚧

Special privileges required

Reports & Analysis are only available to users with the Google Threat Intelligence (Google TI) Enterprise or Enterprise Plus licenses.

Examples

Export the list of domains related to a given Report.

import requests
import urllib

object_id = "report--24-10074013"
relationship = "domains"
format = "stix"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/{relationship}/download/{format}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Path Params
string
required

Report's ID

string
required

Relationship name (see table)

string
required

Export format (one of json, csv, or stix)

Headers
string
required

Your API key

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json