---
title: "Return CVE 's associated with a specific NIST CPE"
method: GET
path: "/cpe"
tags: ["endpoints"]
---

# Return CVE 's associated with a specific NIST CPE

`GET /cpe`

## Request

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

Based on the specified CPE (Common Platform Enumeration) URI string, this endpoint will return a list of vulnerabilities that are related to the package. We support v2.2 and v2.3

## Query parameters

- `cpe` string, required
- `isVulnerable` string

## Response `200`

OK

- RenderResponseWithMetadataArrayStringV3controllersResponseMetadata
  - `_benchmark` number: Benchmark is the server-side processing time for the request in seconds. Example: 0.122322 = approximately 122 milliseconds
  - `_meta` V3controllersResponseMetadata: Meta is the metadata related to the endpoint response
    - `cpe` string
    - `cpe_struct` ApiCPE
      - `edition` string
      - `language` string
      - `other` string
      - `part` string
      - `product` string
      - `sw_edition` string
      - `target_hw` string
      - `target_sw` string
      - `update` string
      - `vendor` string
      - `version` string
    - `timestamp` string
    - `total_documents` integer
  - `data` string[]: Data is the data returned by the endpoint

## 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)
