# Issue Category Stats

GET /easm/issues/stats/category-type: Counts issues per category and type.

Source: https://docs.deepinfo.com/reference/easm/issue-category-stats/

Last updated: 2026-09-27

---
`GET https://api.deepinfo.com/v1/easm/issues/stats/category-type`

Counts issues per category and type.

## Authentication

Send your API key in the `apikey` request header.

## Query Parameters

| Parameter | Required | Description | Example |
|---|---|---|---|
| `asset` | Optional |  |  |

## Response Fields

An array of objects:

| Field | Type |
|---|---|
| `category` | string |
| `count` | integer |
| `severity_stats` | array of object |

## Response Schema

_Inferred from examples._ Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract. The response body is an array; `[]` marks its elements.

| Field | Type |
|---|---|
| `[].category` | string |
| `[].count` | number |
| `[].severity_stats` | array<object> |
| `[].severity_stats[].severity` | string |
| `[].severity_stats[].count` | number |

## Examples

### 200 · OK

```bash
curl 'https://api.deepinfo.com/v1/easm/issues/stats/category-type' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

`Content-Type: application/json` · `deepinfo-request-id: 00000000-0000-4000-8000-0000356d0001`

```json
[
  {
    "category": "SSL/TLS",
    "count": 29,
    "severity_stats": [
      {
        "severity": "Critical",
        "count": 10
      },
      {
        "severity": "High",
        "count": 11
      }
    ]
  },
  {
    "category": "DNS",
    "count": 30,
    "severity_stats": [
      {
        "severity": "Critical",
        "count": 13
      },
      {
        "severity": "High",
        "count": 14
      }
    ]
  }
]
```
