Information about private URLs
Premium featurePrivate Scanning is only available to VirusTotal Enterprise users with a Private Scanning license.
Private URLs are similar to URLs, but they are only visible to users of the uploader's group who have access to Private Scanning and to the URL (see Sharing private analyses).
Object attributes
Most URL's attributes are present in private URLs.
{
"data": {
"id": <string>,
"type": "private_url",
"links": {
"self": "https://www.virustotal.com/api/v3/private/urls/<id>"
},
"attributes": {
"tags": [
<string>,
...
],
"html_meta": {
"<str:tag_name>": ["<tag_value:string>"]
},
"favicon": {
"raw_md5": <string>,
"dhash": <string>
},
"title": <string>,
"redirection_chain": [
<string>,
...
],
"tld": <string>,
"url": <string>,
"last_final_url": <string>,
"last_analysis_results": {
"Google Safebrowsing": {
"method": <string>,
"engine_name": <string>,
"category": <string>,
"result": <string>
}
},
"last_http_response_content_length": <int>,
"trackers": {
"<str:tracker_name>": [
{
"id": "<string>",
"timestamp": <int:timestamp>,
"url": "<string>"
},...
],....
},
"outgoing_links": [
<string>,
...
],
"last_http_response_content_sha256": <string>
"last_http_response_code": <int>,
"expiration": <int>,
"last_analysis_stats": {
"malicious": <int>,
"suspicious": <int>,
"undetected": <int>,
"harmless": <int>,
"timeout": <int>
},
"last_http_response_headers": {
<string>,
...
}
},
"context_attributes": {
"role": "<string>",
"shared_with_me": <boolean>
}
}
}{
"data": {
"id": "7f182b8f63e6709a54645053736825e4c487e434239557ca197ae2cabe75feec",
"type": "private_url",
"links": {
"self": "https://www.virustotal.com/api/v3/private/urls/7f182b8f63e6709a54645053736825e4c487e434239557ca197ae2cabe75feec"
},
"attributes": {
"html_meta": {},
"redirection_chain": [
"http://masmetodo.com/"
],
"last_http_response_content_length": 57,
"last_http_response_code": 200,
"tags": [],
"title": "",
"tld": "com",
"last_http_response_content_sha256": "7c80d872930ea719369314ee88eefa05181d758fc87e0a0a5cccbf9d36456966",
"url": "http://masmetodo.com/",
"last_analysis_results": {
"Google Safebrowsing": {
"method": "blacklist",
"engine_name": "Google Safebrowsing",
"category": "harmless",
"result": "clean"
}
},
"expiration": 1723897413,
"outgoing_links": [],
"last_analysis_stats": {
"malicious": 0,
"suspicious": 0,
"undetected": 0,
"harmless": 1,
"timeout": 0
},
"last_http_response_headers": {
"Connection": "keep-alive",
"Content-Encoding": "gzip",
"Content-Type": "text/html",
"Transfer-Encoding": "chunked",
"X-Accel-Version": "0.01",
"X-Powered-By": "PleskLin",
"Date": "Wed, 07 Aug 2024 12:46:37 GMT",
"ETag": "W/\"260a46-39-605eeffe33b7a\"",
"Last-Modified": "Fri, 22 Sep 2023 09:11:53 GMT",
"Server": "nginx",
"Vary": "Accept-Encoding"
},
"last_final_url": "http://masmetodo.com/"
},
"context_attributes": {
"role": "owner",
"shared_with_me": false
}
}
}Context Attributes
Responses returning full private_url objects include a context_attributes object describing the authenticated caller's sharing relationship to the URL:
role: <string> the caller's effective role on the private URL, evaluated in priority order:"owner": the URL's owner or a group administrator of the owning group."editor": a user granted edit access directly or through the owning group."viewer": a user granted view access directly or through the owning group.
shared_with_me: <boolean>trueif the private URL has been explicitly shared with the caller or with the caller's active group (inviewersoreditors);falsefor the direct owner. For a group administrator of the owning group, if the group is inviewersoreditors,roleis"owner"andshared_with_meistrue.
context_attributes is returned on full private_url objects from GET /private/urls/{id} and relationships that return full private_url objects (such as GET /private/analyses/{id}/item).
Relationship-specific context attributesWhen a
private_urlobject is returned through a relationship,context_attributesmay also include attributes specific to that relationship (for examplepresent_in_public_vt,last_analysis_stats, orlast_analysis_date).
Relationships
Additionally, private URLs objects contain relationships with other objects in our dataset that can be retrieved as explained in the Relationships section.
The following table shows a summary of available relationships.
| Relationship | Description | Return object type |
|---|---|---|
| analyses | Private analyses associated with the URL. | List of Private Analyses |
| behaviours | Sandbox behaviour reports generated for the private URL. | List of Private URLs Behaviours |
| downloaded_files | Files downloaded when accessing the private URL. | List of downloaded Files |
| editors | Users (including service accounts) and the owning group with edit access to the private URL. Empty by default. | List of Users and Groups |
| last_serving_ip_address | Last IP address that served the URL. | A single IP address |
| network_location | Domain or IP address hosting the URL. | A single IP address or Domain |
| owner | User who owns the private URL (the original submitter). Read-only. | A single User |
| viewers | Users (including service accounts) and the owning group with read-only access to the private URL. Contains the owning group by default. | List of Users and Groups |
Default sharing permissions and rules
- Defaults on creation: When a
private_urlis created,owneris set to the submitting user,viewerscontains only the owning group ({"type": "group", "id": "<group_id>"}), andeditorsis empty ([]). - Group administrators: Administrators of the owning group automatically have effective
ownerpermissions on all private URLs in their group. - Repeated submissions: If another user from the same group submits the same URL, that user is automatically added to
editors. - Strictly intra-group scope: Private URLs are always private and can never be made public. They can only be shared with users (including service accounts) belonging to the owning group or with the owning group itselfānever with users from other organizations, other groups (including parent groups or child/sibling tenants), or Group Tokens.
- Automatic role transitions: Adding a viewer to
editorsautomatically removes them fromviewers, and adding an editor toviewersautomatically removes them fromeditors.
