Get objects related to a file

File objects have many relationships to other files and objects. As mentioned in the Relationships section, those related objects can be retrieved by sending GET requests to the relationship URL.

Some relationships are accessible only to users who have access to VirusTotal Enterprise package.

More common relationships are described in the File object documentation and you can use the metadata endpoint to get the full list of relationships.

Path Params
string
required

SHA-256, SHA-1 or MD5 identifying the file

string
required

Relationship name (see table)

Query Params
int32
Defaults to 10

Maximum number of related objects to retrieve

string

Continuation cursor

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