31 ways to filter NIST's vulnerability database, verified live
The NVD (National Vulnerability Database) is NIST's public catalog of every CVE ever assigned — hundreds of thousands of records, free, no API key required. Most people hit it one of two ways: pull the whole firehose and filter client-side, or grab a handful of fields and call it done. Neither matches what the API itself can actually do.
Three filters, three real results
Severity, by the current standard. CVSS v3 defines four qualitative severity bands — LOW, MEDIUM, HIGH, CRITICAL — and the API will filter directly on them.
GET https://services.nvd.nist.gov/rest/json/cves/2.0?cvssV3Severity=CRITICAL Checked live: 30,854 CVEs currently carry a CRITICAL CVSS v3 rating. That is not a sample — it is every CRITICAL-rated CVE NIST has published, queryable in one call.
Which vulnerabilities are actually being exploited right now. CISA maintains a separate, much smaller list: the Known Exploited Vulnerabilities (KEV) catalog — CVEs with documented evidence of active exploitation in the wild, not just a theoretical score. The NVD API can filter straight to it.
GET https://services.nvd.nist.gov/rest/json/cves/2.0?hasKev Checked live: 1,790 CVEs are currently in the KEV catalog — out of hundreds of thousands of total CVEs. That ratio is the whole point: CVSS severity tells you how bad a vulnerability could be, KEV tells you it already has been.
A specific weakness class, not just a specific bug. Every CVE can carry a CWE (Common Weakness Enumeration) ID — the category of flaw, not the individual instance. CWE-79 is cross-site scripting.
GET https://services.nvd.nist.gov/rest/json/cves/2.0?cweId=CWE-79 Checked live: 25,560 CVEs are tagged CWE-79. Swap the ID and you're filtering on SQL injection (CWE-89), path traversal (CWE-22), or any of the other ~900 CWE categories — one parameter, not a keyword guess.
What this actually unlocks
None of these three are exotic. They're the first three someone building a vulnerability feed, a compliance report, or a threat-prioritization dashboard would reach for — "what's critical," "what's actually being exploited," "what kind of bug is this." The API has supported all three (plus CVSS v2 and v4, CPE matching, date-range queries on publish/modify/KEV-add dates, source attribution, and CVE-ID lookup — 31 filter parameters in total) for a while; the gap has mostly been on the client side, not NIST's.
Try it on Apify → — three live examples wired to exactly the queries above: critical-severity CVEs, the full KEV catalog export, and CWE-79 lookups.
Endpoints and counts verified live against services.nvd.nist.gov on 2026-11-23. All three queries run with no API key required.
