---
title: "Count Scan Endpoints"
method: GET
path: "/targets/{target_id}/scans/{id}/endpoint-counts/"
tags: ["Scans"]
---

# Count Scan Endpoints

`GET /targets/{target_id}/scans/{id}/endpoint-counts/`

## Request

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

Every coverage count in one call, over the scan's whole coverage: the total, and the endpoints per category, status code group, HTTP method and authentication state. Each count equals what the matching endpoints filter selects.

## Path parameters

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

## Response `200`

- CoverageEndpointCounts: Endpoints per filter value, over the whole scan's coverage.
  - `total` integer, required: Every coverage endpoint.
  - `category` object, required: Endpoints per `category` filter value: `accepted`, `limits_hit`, `deduplicated` and `out_of_scope`, each always present.
  - `status_code_group` object, required: Endpoints per `status_code_group` filter value: `1` to `5`, `other` and `none`, each always present.
  - `method` object, required: Endpoints per HTTP method, upper-cased. A method with no endpoints is left out.
  - `authenticated` object, required: Endpoints per authentication state: `true`, `false`, and `unknown` for the ones the crawler did not record. A state with no endpoints is left out.

## 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/endpoint-counts/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)
