---
title: "Get objects related to a Port Analysis"
method: GET
path: "/port_analyses/{id}/{relationship}"
tags: ["Internet Scanning"]
---

# Get objects related to a Port Analysis

`GET /port_analyses/{id}/{relationship}`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/port_analyses/{id}/{relationship}`
- Auth: none required

## Path parameters

- `id` string, required
- `relationship` string, required

## Query parameters

- `limit` integer
- `cursor` string

## Headers

- `x-apikey` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/virustotal/apis/ioc-investigation.md) - [All operations](https://skmtc.dev/virustotal/apis/ioc-investigation/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/ioc-investigation/revisions/4d4fadbb8cbc?raw)
