šŸ”’ Private URLs

Information about private URLs

🚧

Premium feature

Private 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> true if the private URL has been explicitly shared with the caller or with the caller's active group (in viewers or editors); false for the direct owner. For a group administrator of the owning group, if the group is in viewers or editors, role is "owner" and shared_with_me is true.

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 attributes

When a private_url object is returned through a relationship, context_attributes may also include attributes specific to that relationship (for example present_in_public_vt, last_analysis_stats, or last_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.

RelationshipDescriptionReturn object type
analysesPrivate analyses associated with the URL.List of Private Analyses
behavioursSandbox behaviour reports generated for the private URL.List of Private URLs Behaviours
downloaded_filesFiles downloaded when accessing the private URL.List of downloaded Files
editorsUsers (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_addressLast IP address that served the URL.A single IP address
network_locationDomain or IP address hosting the URL.A single IP address or Domain
ownerUser who owns the private URL (the original submitter). Read-only.A single User
viewersUsers (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_url is created, owner is set to the submitting user, viewers contains only the owning group ({"type": "group", "id": "<group_id>"}), and editors is empty ([]).
  • Group administrators: Administrators of the owning group automatically have effective owner permissions 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 editors automatically removes them from viewers, and adding an editor to viewers automatically removes them from editors.