# NVD CVE Search: NIST Vulnerability Export (`ucchiii/nvd-cve-search`) Actor

NVD CVE Search: find CVEs in the NIST National Vulnerability Database by keyword, product (CPE), CVE ID, severity, score, date or CISA KEV status. One row per CVE with CVSS, CWE, affected products and references. Optional own API key. Empty input = free demo. $0.67 per 1,000 CVEs.

- **URL**: https://apify.com/ucchiii/nvd-cve-search.md
- **Developed by:** [Actor Factory](https://apify.com/ucchiii) (community)
- **Categories:** Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.47 / 1,000 cves

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## NVD CVE Search: CVEs from the NIST vulnerability database

**For security engineers, DevSecOps and vulnerability-management teams, MSPs and researchers who need to know which CVEs affect the software they run, without copying them out of the NVD website by hand.**
Search the NIST National Vulnerability Database by keyword, product, CVE ID, severity, score, date or CISA KEV status and get **one clean row per CVE**. **$0.67 per 1,000 CVEs**, you pay only for CVEs returned.

- **Official API**: reads the NVD CVE API 2.0 (`services.nvd.nist.gov/rest/json/cves/2.0`). No scraping, no login, no proxies.
- **Ready-to-use fields**: CVE ID, description, CVSS score, severity and vector (newest CVSS version available), CWE IDs, published / modified dates, status, CISA Known Exploited flag with due date, affected product names (CPE), reference links, NVD page URL.
- **Filters**: keyword, exact product (CPE name), CVE ID list, CVSS v3 severity, minimum score, published within N days, known exploited only, hide rejected.
- **Your own NVD API key is optional**: without a key the Actor waits 6.5 s between requests; with your free key (nvd.nist.gov/developers/request-an-api-key) it waits 0.7 s, about 8 times faster. The key is used only to call NVD and is never logged or stored. Nothing is shared: no key of ours is involved.
- **Rate limit respected, fixed limits**: NVD allows 5 requests per 30 s without a key and 50 with one; the Actor stays under both and retries 403 / 429 / 5xx with backoff. At most **1,000 CVEs and 25 API calls per run**, at most 20 CVE-ID lookups, date windows up to 120 days (the NVD maximum). These limits cannot be changed from the input; `maxResults` can only lower them. For more, narrow the filters and run again.
- **Free demo**: leave the input empty and the Actor returns 3 sample CVEs without charging.

### Input

```json
{
  "keyword": "openssl",
  "severity": "HIGH",
  "minCvssScore": 7.5,
  "publishedWithinDays": 30,
  "knownExploitedOnly": false,
  "maxResults": 100,
  "apiKey": "optional, your own NVD key"
}
```

- `keyword`: words searched in the CVE description (all must match).
- `cveIds`: a list such as `CVE-2021-44228`. When set, the other search fields are ignored (the minimum score still applies).
- `cpeName`: a CPE 2.3 name, e.g. `cpe:2.3:a:openssl:openssl:3.0.0:*:*:*:*:*:*:*`, for CVEs affecting exactly that product version.
- `severity`: `LOW`, `MEDIUM`, `HIGH` or `CRITICAL` (CVSS v3).
- `minCvssScore`: 0 to 10. CVEs without any score are dropped when it is set.
- `publishedWithinDays`: 1 to 120.
- `knownExploitedOnly`, `hideRejected` (default on), `maxResults` (default 100, maximum 1,000).

### Output (one item per CVE)

```json
{
  "cveId": "CVE-2021-44228", "published": "2021-12-10T10:15:09.143", "lastModified": "2025-10-27T16:15:41.250",
  "status": "Analyzed",
  "description": "Apache Log4j2 2.0-beta9 through 2.15.0 JNDI features ... do not protect against attacker controlled LDAP ...",
  "cvssVersion": "3.1", "cvssScore": 10.0, "severity": "CRITICAL",
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
  "cwes": ["CWE-502", "CWE-20"],
  "knownExploited": true, "kevDateAdded": "2021-12-10", "kevDueDate": "2021-12-24",
  "affectedCpes": ["cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*"], "affectedCpesTotal": 1,
  "references": ["https://logging.apache.org/log4j/2.x/security.html"], "referencesTotal": 1,
  "sourceIdentifier": "security@apache.org",
  "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44228"
}
```

- `cvssScore` / `severity` come from the newest CVSS version NVD has for the CVE (4.0, 3.1, 3.0, then 2.0); `cvssVersion` says which. They are `null` for CVEs NVD has not scored yet.
- `affectedCpes` lists at most 20 and `references` at most 10 entries; the `...Total` fields give the full counts. The full list is on the NVD page.
- Demo rows carry `_demo: true`.
- A summary (per query: ok, not_found, error; matches on NVD; whether a limit stopped the run) is saved to the key-value store as `SUMMARY`.

### Pricing

Pay per event: **$0.00067 per CVE returned** ($0.67 per 1,000). Filters are applied before charging. The empty-input demo is free. Set a max charge per run in the run options to cap spend.

### Use cases

- Check what is new and critical for your stack each morning (run daily with `publishedWithinDays` and `severity`)
- Prioritise patching: `knownExploitedOnly` with a minimum score
- Enrich an asset or SBOM list: look up a list of CVE IDs in bulk
- Security research and reporting by CWE, product or period

### Notes

- Data comes only from the public NVD CVE API 2.0. No personal data is collected. The NVD database is a US government work (NIST).
- **This product uses the NVD API but is not endorsed or certified by the NVD.** Not affiliated with NIST.
- NVD data can lag: new CVEs may have no score or no affected-product list yet.
- A CVE ID that NVD does not know is reported as `not_found` in `SUMMARY` and is not charged.

### More tools from the same developer

- [Website Technology Detector](https://apify.com/ucchiii/website-technology-detector) — tech stack of websites in bulk: CMS, frameworks, analytics and tag IDs, CDN, consent tools
- [Bulk URL Status Checker](https://apify.com/ucchiii/url-status-checker) — bulk HTTP status and redirect-chain checker for URL lists
- [Domain WHOIS & DNS Lookup](https://apify.com/ucchiii/domain-whois) — bulk WHOIS (RDAP) and DNS lookup: registrar, expiry, days left, A/MX/NS, no personal data
- [DNS Lookup](https://apify.com/ucchiii/dns-records-lookup) — bulk DNS lookup: A, AAAA, MX, NS, TXT, SPF and DMARC per domain

# Actor input Schema

## `keyword` (type: `string`):

Search the CVE descriptions, e.g. 'openssl' or 'remote code execution' (several words must all match). Leave everything empty to run a free demo (not charged).

## `cveIds` (type: `array`):

Look up specific CVEs, one per line, e.g. CVE-2021-44228. Up to 20 per run. When set, the other search fields are ignored (the minimum CVSS score still applies).

## `cpeName` (type: `string`):

Only CVEs that affect this exact product version, as a CPE 2.3 name, e.g. cpe:2.3:a:openssl:openssl:3.0.0:*:*:*:*:*:*:\*. Find CPE names in the NVD product dictionary.

## `severity` (type: `string`):

Keep only CVEs with this CVSS v3 severity. Empty = any severity.

## `minCvssScore` (type: `number`):

Keep only CVEs whose base score (newest CVSS version available) is at least this value, 0 to 10, e.g. 7.0. CVEs without a score are dropped when this is set. Empty = no limit.

## `publishedWithinDays` (type: `integer`):

Only CVEs first published in the last N days. NVD allows at most 120 days (values above are lowered to 120). Empty = any date.

## `knownExploitedOnly` (type: `boolean`):

Keep only CVEs that are in the CISA Known Exploited Vulnerabilities catalog.

## `hideRejected` (type: `boolean`):

Leave out CVEs marked Rejected.

## `maxResults` (type: `integer`):

Stop after this many CVEs. Default 100. There is a fixed maximum of 1,000 CVEs per run; run again with narrower filters for more.

## `apiKey` (type: `string`):

Optional. Your own free key from nvd.nist.gov/developers/request-an-api-key makes runs about 8 times faster (the Actor waits 0.7 s instead of 6.5 s between requests). It is used only to call NVD and is never logged or stored.

## Actor input object example

```json
{
  "keyword": "openssl",
  "knownExploitedOnly": false,
  "hideRejected": true,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

One item per CVE: cveId, published, lastModified, status, description, CVSS version, score, severity and vector, CWE ids, CISA KEV flag and dates, affected CPE names, reference URLs and the NVD page URL.

## `summary` (type: `string`):

Record SUMMARY: per-query status (ok, not_found, error, skipped_limit), matches on NVD and any limit that stopped the run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "openssl"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ucchiii/nvd-cve-search").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keyword": "openssl" }

# Run the Actor and wait for it to finish
run = client.actor("ucchiii/nvd-cve-search").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "openssl"
}' |
apify call ucchiii/nvd-cve-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ucchiii/nvd-cve-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lDfEJ6ydaCrfl6ogt/builds/HboeV2doYhj2nRSd8/openapi.json
