National Vulnerability Database API
U.S. National Vulnerability Database
- Our call
- HTTP 200
- Latency
- 217 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=1Press Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=1'import requests
r = requests.get("https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=1", timeout=10)
r.raise_for_status()
print(r.json())National Vulnerability Database docsMore Security APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=1- Result
- HTTP 200 in 217 ms
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 2,517 bytes, a JSON object
- Fields
resultsPerPagestartIndextotalResultsformatversiontimestampvulnerabilities- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Security
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- nvd.nist.gov answered 200 in 2062 ms on 2026-11-06 Measured
National Vulnerability Database is listed in Security. National Vulnerability Database needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 59 Security APIs: 19 need no key, 39 need an API key and 1 uses OAuth, and 23 of them are marked as allowing browser calls. 8 others have the same setup, such as EmailRep, FilterLists and Microsoft Security Response Center (MSRC).
National Vulnerability Database and other Security APIs
| Fact | National Vulnerability Database (this page) | UK Police | Classify | Defend Network | Escape |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Not recorded | Yes | Yes | No |
| Our test call Measured by us | 217 ms | 717 ms | Not tested | Not tested | Not tested |
| Browser call Measured by us | Allowed | Allowed | — | — | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does National Vulnerability Database need an API key?
National Vulnerability Database needs no key: you can call it without signing up.
Can I call National Vulnerability Database from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the National Vulnerability Database docs?
At https://nvd.nist.gov/vuln/Data-Feeds/JSON-feed-changelog. When we checked, the link answered 200 in 2062 ms.
What are some alternatives to National Vulnerability Database?
Other Security APIs in the list include EmailRep, FilterLists, Microsoft Security Response Center (MSRC) and Mozilla http scanner.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.