---
title: "Retrieve a list of C2 Hostnames"
method: GET
path: "/pdns/vulncheck-c2"
tags: ["endpoints"]
---

# Retrieve a list of C2 Hostnames

`GET /pdns/vulncheck-c2`

## Request

- Base URL: `https://api.vulncheck.com/v3`
- URL: `https://api.vulncheck.com/v3/pdns/vulncheck-c2`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/vulncheck/apis/vulncheck-api/docs/pdns/vulncheck-c2/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of hostnames, identified as running Command & Control infrastructure.

## Query parameters

- `format` 'txt' | 'json' | 'text'

## Response `200`

OK

- string

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/vulncheck/apis/vulncheck-api.md) - [All operations](https://skmtc.dev/vulncheck/apis/vulncheck-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vulncheck/apis/vulncheck-api/revisions/7c714606affe?raw)
