---
title: "NVD API: Search CVEs in the NVD | Perceptlayer"
description: "CVEs from the National Vulnerability Database by keyword, CPE, CVSS v3 severity, publication dates (up to 120 days) or CISA KEV listing. Paged."
url: https://perceptlayer.com/apis/nvd/cve-search
---

[APIs](https://perceptlayer.com/apis) / [NVD](https://perceptlayer.com/apis/nvd) / Search CVEs in the NVD

# NVD: Search CVEs in the NVD

CVEs from the National Vulnerability Database by keyword, CPE, CVSS v3 severity, publication dates (up to 120 days) or CISA KEV listing. Paged.

GET `/v1/nvd/cve-search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | Optional | Up to 200 characters Words to find in the CVE description. |
| `cpe_name` | string | Optional | Up to 300 characters A full CPE 2.3 name; returns CVEs that affect it, such as cpe:2.3:a:apache:log4j:2.14.1:\*:\*:\*:\*:\*:\*:\*. |
| `cvss_v3_severity` | string | Optional | LOW, MEDIUM, HIGH, CRITICAL Only CVEs with this CVSS v3 severity. |
| `pub_start_date` | string | Optional | Up to 10 characters Published on or after this date, YYYY-MM-DD. Needs pub\_end\_date; the range can span at most 120 days. |
| `pub_end_date` | string | Optional | Up to 10 characters Published on or before this date, YYYY-MM-DD. Needs pub\_start\_date. |
| `has_kev` | boolean | Optional | Any true for only CVEs in CISA's Known Exploited Vulnerabilities catalogue. |
| `page` | integer | Optional | Any Results page, from 1. |
| `per_page` | integer | Optional | Any Results per page, 1 to 100. Default 20. |

## Example request

NVD

GET /v1/nvd/cve-search?keyword=openssl&cvss\_v3\_severity=CRITICAL&per\_page=10 

```
{
  "success": true,
  "data": {
    "total": 44,
    "page": 1,
    "has_more": true,
    "count": 10,
    "items": [
      {
        "id": "CVE-2003-0545",
        "status": "Modified",
        "published": "2003-11-17T05:00:00.000",
        "last_modified": "2026-06-16T22:02:24.593",
        "description": "Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an SSL client certificate with a certain invalid ASN.1 encoding.",
        "cvss_v31": {
          "score": 9.8,
          "severity": "CRITICAL",
          "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "exploitability_score": 3.9,
          "impact_score": 5.9,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "cvss_v2": {
          "score": 10,
          "severity": "HIGH",
          "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
          "exploitability_score": 10,
          "impact_score": 10,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "weaknesses": [
          "CWE-415"
        ],
        "url": "https://nvd.nist.gov/vuln/detail/CVE-2003-0545"
      },
      {
        "id": "CVE-2010-1378",
        "status": "Modified",
        "published": "2010-11-15T23:00:01.627",
        "last_modified": "2026-06-16T23:18:14.233",
        "description": "OpenSSL in Apple Mac OS X 10.6.x before 10.6.5 does not properly perform arithmetic, which allows remote attackers to bypass X.509 certificate authentication via an arbitrary certificate issued by a legitimate Certification Authority.",
        "cvss_v31": {
          "score": 9.8,
          "severity": "CRITICAL",
          "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "exploitability_score": 3.9,
          "impact_score": 5.9,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "cvss_v2": {
          "score": 7.5,
          "severity": "HIGH",
          "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "exploitability_score": 10,
          "impact_score": 6.4,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "weaknesses": [
          "CWE-295"
        ],
        "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1378"
      },
      {
        "id": "CVE-2016-0705",
        "status": "Modified",
        "published": "2016-03-03T20:59:00.953",
        "last_modified": "2026-06-17T00:38:03.350",
        "description": "Double free vulnerability in the dsa_priv_decode function in crypto/dsa/dsa_ameth.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g allows remote attackers to cause a denial of service (memory corruption) or possibly have unspecified…",
        "cvss_v31": {
          "score": 9.8,
          "severity": "CRITICAL",
          "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "exploitability_score": 3.9,
          "impact_score": 5.9,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "cvss_v2": {
          "score": 10,
          "severity": "HIGH",
          "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
          "exploitability_score": 10,
          "impact_score": 10,
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        "weaknesses": [
          "NVD-CWE-Other"
        ],
        "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-0705"
      }
    ],
    "notice": "This product uses the NVD API but is not endorsed or certified by the NVD."
  },
  "meta": {
    "request_id": "req_37ed3b8b3d4f40a7951a7d26f7cd10dd",
    "credits_charged": 1,
    "credits_remaining": 164
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/nvd?try=cve-search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.items` has these 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `status` | string |
| `published` | string |
| `last_modified` | string |
| `description` | string |
| `cvss_v31` | object |
| `cvss_v2` | object |
| `weaknesses` | string\[\] |
| `url` | url |
