Get a Threat Profile

🚧

Public Preview

Threat Profile module is provided as a public preview and is subject to change. Use with caution.

Use this endpoint to get a certain Threat Profile object.

Next to the Threat Profile object, you'll see a parameter specifying your relationship to it, structured as follows:

"context_attributes":
{
  "shared_with_me": "<_boolean_> if the Threat Profile has been shared with ('true') or created by the user ('false').",
  "role": "<_string_> user's role or privileges regarding the Threat Profile as 'viewer','owner' or 'editor'."
}

Examples

Get my Threat Profiles with 54c06160a3cf4578878f68f0df2bf877 identifier.

import requests

profile_id = "54c06160a3cf4578878f68f0df2bf877"
url = f"https://www.virustotal.com/api/v3/threat_profiles/{profile_id}"
headers = {
    "accept": "application/json","x-apikey": <api-key>
}
response = requests.get(url, headers=headers)
Language
Click Try It! to start a request and see the response here!