Skip to content

Calana2/nvd-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVD-API

National Vulnerability Database API Client

2025-08-21-145451_1366x721_scrot

Build & Install

git clone https://github.com/Calana2/National_Vulnerability_Database_Api-Client.git
cd National_Vulnerability_Database_Api-Client
chmod u+x install.sh
sudo ./install.sh

Usage

$ nvdapi
NVD API Client

Usage: nvdapi [options]

Options
-h, --help         Print help
-id, --cve-id      Returns a specific vulnerability identified by its unique Common Vulnerabilities and Exposures identifier
-keyword           Returns CVEs where the word or phrase is found in the description
-cwe               Returns CVEs that include a weakness identified by CWE-ID
-lcwe, --list-cwe  Show the top 1000 CWE
-v, --verbose      Show references (only for --cve-id)
-q, --quiet        Show only CVE IDs (for --keyword and --cwe)

API KEY

  • The public rate limit (without an API key) is 5 requests in a rolling 30-second window; the rate limit with an API key is 50 requests in a rolling 30-second window. More information here: https://nvd.nist.gov/developers/request-an-api-key
  • If you are going to use an API key, create a .env file and add the following line:
 API_KEY="yourAPIKEY"

This product uses data from the NVD API but is not endorsed or certified by the NVD.

About

NVD API client written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published