National Vulnerability Database API
Overview
The National Vulnerability Database (NVD) API gives you access to the U.S. government's comprehensive catalog of known cybersecurity vulnerabilities. Each entry (CVE) includes severity scores, affected software, and remediation details. It's a go-to source for building security dashboards or checking whether software you use has known flaws.
Beginner Tip
Use the resultsPerPage and startIndex parameters to paginate through results — the default page size is 2,000 entries, which can be slow; start with resultsPerPage=20 while exploring.
Available Data
Example Response
{
"name": "Japan",
"capital": "Tokyo",
"population": 125800000,
"region": "Asia",
"languages": [
"Japanese"
],
"flag": "https://flagcdn.com/jp.svg",
"currencies": [
{
"code": "JPY",
"name": "Japanese yen"
}
]
} Field Reference
resultsPerPage Number of CVE records returned in this response page. startIndex Zero-based offset used for pagination. totalResults Total number of CVEs matching your query. vulnerabilities List of CVE objects, each containing ID, description, severity, and affected product details. cve.id The CVE identifier (e.g., CVE-2024-12345) for the vulnerability. cve.metrics CVSS scoring data including base score and severity level (LOW/MEDIUM/HIGH/CRITICAL). Implementation Example
const url = "https://nvd.nist.gov/vuln/Data-Feeds/JSON-feed-changelog";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Classify
Classify provides programmatic access to encrypting & decrypting text messages via REST API.
Dehash.lt
Dehash.lt provides programmatic access to hash decryption md5, sha1, sha3, sha256, sha384, sha512 via REST API.
EmailRep
⭐ Beginner's PickEmailRep is a free API that evaluates the risk and reputation of an email address in seconds.
Escape
⭐ Beginner's PickEscapeAPI is a simple open-source utility API that takes raw user input and returns properly escaped versions safe for use in HTML, SQL, shell, and other contexts.
FilterLists
⭐ Beginner's PickFilterLists is a community-maintained directory API that catalogs hundreds of filter lists used by ad blockers and firewalls like uBlock Origin and Pi-hole.