# NVD CVE Vulnerability Scraper – CVSS, CWE & References (`ninhothedev/nvd-cve-scraper`) Actor

$0.35/1K 🔥 Fast NVD CVE scraper! Vulnerabilities — CVSS score, severity, CWE, references & dates by keyword or CVE ID. JSON, CSV, Excel or API in seconds. Search & pull thousands of CVEs for security, threat intel & compliance ⚡

- **URL**: https://apify.com/ninhothedev/nvd-cve-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## NVD CVE Vulnerability Scraper – CVSS, CWE & References

**Get clean CVE vulnerability data from the official NVD: CVSS scores & severity, attack vector, CWE weaknesses, references and status. Search by keyword, severity and publish date, or fetch by CVE ID. As JSON, CSV or Excel. Free, no key.**

### 💵 Pricing

**Pay per result — ~$1.50 per 1,000 CVEs.** No subscription, no proxy needed. You only pay for the data you scrape, and new Apify accounts include free monthly credits so you can test it for **$0**.

### 🔎 What can it extract?

- CVE ID, published & last-modified dates, status
- English description
- **CVSS base score + severity** (v3.1 → v3.0 → v2 fallback)
- CVSS vector string and **attack vector**
- **CWE weaknesses** (e.g. `CWE-79`)
- All reference URLs
- Direct NVD detail link

### 🚀 How do I use it?

1. Click **Try for free**.
2. Set the input (see example below).
3. Click **Start** and download results as JSON, CSV or Excel — or pull them via the API / schedule them.

### ⚙️ Input example

```json
{
  "mode": "search",
  "keyword": "log4j",
  "severity": "CRITICAL",
  "maxItems": 100
}
```

Fetch specific CVEs:

```json
{
  "mode": "cves",
  "cveIds": ["CVE-2021-44228"]
}
```

### 📦 Output example

```json
{
  "id": "CVE-2021-44228",
  "cvss_score": 10.0,
  "cvss_severity": "CRITICAL",
  "attack_vector": "NETWORK",
  "cwe": ["CWE-502", "CWE-917"],
  "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44228"
}
```

### 🎯 Use cases

- **Security research** — track new and critical vulnerabilities
- **Vulnerability management** — feed CVSS/CWE into your risk workflow
- **Threat intelligence** — enrich indicators with authoritative NVD data
- **Compliance** — evidence for audits and SLA reporting

### 💰 How much will it cost?

You pay only the per-result price (no proxy cost):
100 → ~$0.15 · 1,000 → ~$1.50 · 10,000 → ~$15

### 🆚 Why this one

| Feature | This actor | Others |
|---|---|---|
| Official NVD source | ✅ | varies |
| CVSS v3.1/v3.0/v2 fallback | ✅ | partial |
| CWE + references + vector | ✅ | partial |
| No key needed | ✅ | sometimes |

### 🔗 Related actors

- [OSV Scraper](https://apify.com/ninhothedev/osv-scraper) — open-source vulnerabilities
- [DNS Records Scraper](https://apify.com/ninhothedev/dns-records-scraper) — DNS
- [RDAP Domain Scraper](https://apify.com/ninhothedev/rdap-domain-scraper) — domain registration
- [Website Tech Stack Detector](https://apify.com/ninhothedev/website-tech-stack-detector) — tech fingerprint

### ❓ FAQ

**Key/proxy?** No. **Rate limits?** The actor respects NVD's 5 req/30s public limit automatically. **Bulk?** Use keyword + severity + date range.

### 🛟 Support

Found a bug or need an extra field? Open an issue on the actor — fixes and new fields ship fast.

### Legal & privacy

Data via the public NVD CVE API 2.0 (nvd.nist.gov). CVE® is a registered trademark of The MITRE Corporation.

***

**Keywords:** cve scraper, nvd scraper, vulnerability data, cvss score, cwe, security, threat intelligence, vulnerability management, JSON CSV Excel

# Actor input Schema

## `mode` (type: `string`):

search = query the NVD by keyword, optional CVSS severity and publish date range. cves = fetch specific CVE IDs.

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

Free-text keyword to search CVEs (mode=search), e.g. a product, vendor or CVE title such as 'log4j'.

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

Filter by CVSS v3 base severity (mode=search). 'any' returns all severities.

## `pubStartDate` (type: `string`):

Only CVEs published on/after this date (mode=search), format YYYY-MM-DD. Requires 'Published to' as well.

## `pubEndDate` (type: `string`):

Only CVEs published on/before this date (mode=search), format YYYY-MM-DD. Requires 'Published from' as well.

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

Explicit CVE IDs to fetch (mode=cves), e.g. \["CVE-2021-44228"].

## `maxItems` (type: `integer`):

Maximum number of CVEs to return.

## Actor input object example

```json
{
  "mode": "search",
  "keyword": "log4j",
  "severity": "any",
  "cveIds": [],
  "maxItems": 100
}
```

# Actor output Schema

## `cves` (type: `string`):

No description

# 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": "log4j",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/nvd-cve-scraper").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": "log4j",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/nvd-cve-scraper").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": "log4j",
  "maxItems": 100
}' |
apify call ninhothedev/nvd-cve-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/7tniJ7pMfDQEyRqg9/builds/vDxL4bIigI8NAdY6e/openapi.json
