# CWE Timeline

GET /explore/vulnerability-insight/cwe-timeline: Time series of CVEs per CWE (weakness type).

Source: https://docs.deepinfo.com/reference/vulnerability/cwe-timeline/

Last updated: 2026-09-27

---
`GET https://api.deepinfo.com/v1/explore/vulnerability-insight/cwe-timeline`

Time series of CVEs per CWE (weakness type).

## Authentication

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

## Response Fields

An array of objects:

| Field | Type |
|---|---|
| `year` | integer |
| `cwe_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 |
|---|---|
| `[].year` | number |
| `[].cwe_stats` | array |

## Examples

### 200 · OK

```bash
curl 'https://api.deepinfo.com/v1/explore/vulnerability-insight/cwe-timeline' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

`Content-Type: application/json` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
[
  {
    "year": 1988,
    "cwe_stats": []
  },
  {
    "year": 1989,
    "cwe_stats": []
  }
]
```

## Worked Examples

Worked examples of this endpoint, each on its own page with the exact request and its response: [CWE Timeline Examples](/reference/vulnerability/cwe-timeline/examples/).

- [CVEs per CWE, Year by Year](/reference/vulnerability/cwe-timeline/examples/default/): For every year since 1988, the CWE weakness types of that year's CVEs with their counts.
