---
title: "List Scan Hosts"
method: GET
path: "/targets/{target_id}/scans/{id}/endpoints/hosts/"
tags: ["Scans"]
---

# List Scan Hosts

`GET /targets/{target_id}/scans/{id}/endpoints/hosts/`

## Request

- Base URL: `https://api.probely.com`
- URL: `https://api.probely.com/targets/{target_id}/scans/{id}/endpoints/hosts/`
- Auth: API key in header `Authorization`

Every distinct origin (scheme, host and non-default port) in the scan's coverage, each with a count of matching endpoints — the Host filter's own options. The same host crawled over both http and https, or on two ports, appears as separate entries.

## Path parameters

- `id` string, required: A unique Base58 value identifying this object.
- `target_id` string, required

## Response `200`

- object[]
  - `host` string
  - `count` integer

## Other responses

- `401`
- `404`
- `500`

## Changes

- **2026-11-03** `0b2f6cbe644d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/targets/:target_id/scans/:id/endpoints/hosts/get.md)

---

[API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [All operations](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/revisions/0b2f6cbe644d?raw)
