---
updatedAt: 2025-09-25T00:37:18.000Z
agentTools:
  projectIndex: https://gtidocs.readme.io/llms.txt
---

# Get objects related to a private URL

> 📘
>
> See [URL identifiers](https://gtidocs.readme.io/reference/private-urls#url-identifiers) from more information about how to generate a valid URL identifier for a URL.

URL objects have number of relationships to other URLs and objects. As mentioned in the [Relationships](https://gtidocs.readme.io/reference/introduction-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.

The relationships supported by URL objects are documented in the [URL](https://gtidocs.readme.io/reference/private-urls-object) API object page.

# OpenAPI definition

```json
{
  "info": {
    "title": "Private Scanning",
    "version": "3.0"
  },
  "openapi": "3.1.0",
  "tags": [
    {
      "name": "Private URLs"
    }
  ],
  "paths": {
    "/urls/{id}/{relationship}": {
      "get": {
        "tags": [
          "Private URLs"
        ],
        "summary": "Get objects related to a private URL",
        "description": "",
        "operationId": "private-get-objects-related-to-a-url",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "URL identifier",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "relationship",
            "in": "path",
            "description": "Relationship name (see [table](https://gtidocs.readme.io/reference/private-urls-object#relationships))",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "x-apikey",
            "in": "header",
            "description": "Your API key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of related objects to retrieve",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10,
              "maximum": 40,
              "minimum": 0
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Continuation cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://www.virustotal.com/api/v3/private"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "headers": [],
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```