- Passive: the target is not contacted
Offset-based pagination: use resultsPerPage and startIndex and compare totalResults. Results are sorted ascending by the published date. To keep up to date, request only CVEs modified since the last request with lastModStartDate and lastModEndDate. Flag parameters such as hasKev, noRejected, hasCertAlerts and keywordExactMatch are sent without a value. cvssV2, V3 and V4 filters cannot be combined with one another.
Query parameters
cveIdOne CVE ID (deprecated, use cveIds). Not accepted for CVEs the NVD has not yet received
cveIdsComma-separated CVE IDs, at most 100
keywordSearchWord or phrase in the current description. Several keywords act as AND; each has an implicit trailing wildcard
keywordExactMatchFlag, no value: match the phrase in keywordSearch exactly. Requires keywordSearch
cpeNameA CPE name; part, vendor, product and version must be given (not *)
virtualMatchStringA CPE match string, broader than cpeName; combine with versionStart/versionEnd (and their Type) for version ranges
isVulnerableFlag, no value: only CVEs where the cpeName is also marked vulnerable. Requires cpeName
cweIdOnly CVEs with this weakness; NVD-CWE-Other and NVD-CWE-noinfo also work
cvssV3SeverityCVSS v3 qualitative severity
cvssV3MetricsFull or partial CVSS v3 vector string
cvssV4SeverityCVSS v4 qualitative severity
hasKevFlag, no value: only CVEs in CISA's Known Exploited Vulnerabilities catalog
kevStartDateStart of the period CVEs were added to KEV (ISO-8601); kevEndDate is also required
kevEndDateEnd of the KEV addition period
pubStartDateStart of the published period (ISO-8601); pubEndDate is also required, range at most 120 days
pubEndDateEnd of the published period
lastModStartDateStart of the last-modified period (ISO-8601); lastModEndDate is also required, range at most 120 days
lastModEndDateEnd of the last-modified period
cveTagOnly records with this CVE tag
noRejectedFlag, no value: exclude REJECT or Rejected records (included by default)
sourceIdentifierOnly CVEs where this exact source identifier appears as a data source
resultsPerPageMaximum records per response; the default and maximum is 2,000
startIndexZero-based index of the first record to return
Response fields · 17ShowHide
resultsPerPage
Records in this response
startIndex
Index of the first record
totalResults
Total records matching the request
format
Response format
version
Response version
timestamp
When the response was generated
sourceIdentifier
Identifier of the source of the CVE
published
When the CVE was published to the NVD
lastModified
When the CVE was last modified
vulnStatus
The CVE's status in the NVD
cisaExploitAdd
Date added to the KEV catalog, when listed
cisaActionDue
Date by which federal agencies must act, when listed in KEV
descriptions[]
Description in one or more languages (two-letter code)
metrics
CVSS information; optional
weaknesses[]
Weaknesses considered the cause; optional
configurations[]
Applicability statements with CPE match criteria; optional
references[]
Supplemental references with resource tags
curl 'https://services.nvd.nist.gov/rest/json/cves/2.0' \
-H 'apiKey: YOUR_API_KEY'{
"resultsPerPage": 1,
"startIndex": 0,
"totalResults": 1,
"format": "NVD_CVE",
"version": "2.0",
"timestamp": "2026-01-01T00:00:00.000",
"vulnerabilities": [
{
"cve": {
"id": "CVE-2099-0001",
"sourceIdentifier": "security@example.com",
"published": "2099-01-01T00:00:00.000",
"lastModified": "2099-01-02T00:00:00.000",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "An example vulnerability description."
}
],
"references": [
{
"url": "https://example.com/advisory",
"source": "security@example.com"
}
]
}
}
]
}