# CVE Vulnerability Intelligence API (`soilair/cve-vulnerability-intelligence-api`) Actor

Search NIST NVD CVEs with CVSS, CWE and references, enriched with CISA Known Exploited Vulnerabilities, remediation dates, ransomware flags and actions.

- **URL**: https://apify.com/soilair/cve-vulnerability-intelligence-api.md
- **Developed by:** [Salih Can Kurnaz](https://apify.com/soilair) (community)
- **Categories:** Developer tools, Business
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 cve results

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?

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

## CVE Vulnerability Intelligence API

Search NIST NVD CVE 2.0 data and enrich every normalized vulnerability with CISA Known Exploited Vulnerabilities context.

This production candidate supports exact CVE lookup and bounded filtered search while requiring no NVD API key, CISA key, browser, login, cookie, or proxy.

### Search modes

Exact lookup uses `cveIds` and takes precedence over search filters.

Search mode supports:

- keyword search,
- CVSS v3 severity,
- CISA KEV-only filtering,
- NVD publication-date windows,
- bounded pagination.

Publication windows require both start and end values and are rejected when they exceed NVD's 120-day maximum.

The Actor caps `maxResults` at 500 and `pageSize` at 100 even though the upstream NVD API permits larger pages. This keeps keyless runtime and billing predictable.

### Keyless NVD pacing

NVD's anonymous API has a tighter request limit than API-key traffic. The Actor therefore spaces NVD calls by at least 6.2 seconds. It does not ask customers for an NVD API key.

### Output

Each row includes CVE metadata, best available CVSS, CWE IDs, references, direct NVD URL, and CISA KEV enrichment.

`knownExploited=true` is based on the live CISA KEV catalog. KEV rows can also include date-added, remediation due date, ransomware campaign use, and required action.

### Pagination

Search pagination uses NVD's `resultsPerPage` and `startIndex` contract. The Actor stops when it reaches the customer's maximum unique result count or the upstream result set ends.

### Data sources

- NIST NVD CVE API 2.0
- CISA Known Exploited Vulnerabilities JSON catalog

Both are public sources. This Actor does not infer active exploitation from CVSS severity. Active exploitation is represented only by the official KEV join.

### CVSS v3 filter semantics

NVD's `cvssV3Severity` search filter is specifically a CVSS v3.x filter. A CVE can also contain CVSS v4.0 metrics whose qualitative severity differs from its CVSS v3.x severity.

For that reason this Actor exposes two layers:

- `cvssVersion`, `cvssScore`, `severity`, `vectorString`: best available metric, preferring CVSS v4.0 when present.
- `cvssV3Version`, `cvssV3Score`, `cvssV3Severity`, `cvssV3Vector`: explicit CVSS v3.x metric.

When you search with `severity=CRITICAL`, validate the filter meaning against `cvssV3Severity`. The best-available `severity` may legitimately differ when a newer CVSS v4.0 metric exists.

### Pricing and billing

This Actor uses Apify pay-per-event pricing.

The primary billable result event is `cve-result`. One event corresponds to one normalized CVE record successfully written to the default Dataset. The platform's synthetic `apify-actor-start` event is charged separately at run start.

Billing is event-specific and tied directly to Dataset emission. If the Apify event charge limit is reached, the Actor stops emitting additional paid result rows.

# Actor input Schema

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

Optional exact CVE IDs. When supplied, exact lookup mode takes precedence over search filters.

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

Optional NVD keyword search. Leave empty to search only with other filters.

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

Optional NVD CVSS v3 qualitative severity filter.

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

Return only CVEs that NVD marks as present in CISA's Known Exploited Vulnerabilities catalog.

## `publishedStart` (type: `string`):

Optional NVD publication-window start in ISO 8601 form, for example 2026-05-01T00:00:00.000. Requires publishedEnd.

## `publishedEnd` (type: `string`):

Optional NVD publication-window end in ISO 8601 form. The pair may span at most 120 days.

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

Maximum number of unique normalized CVE rows emitted.

## `pageSize` (type: `integer`):

Number of NVD records requested per page. This Actor caps it at 100 for predictable keyless operation.

## Actor input object example

```json
{
  "cveIds": [],
  "keyword": "",
  "severity": "ANY",
  "knownExploitedOnly": false,
  "publishedStart": "",
  "publishedEnd": "",
  "maxResults": 100,
  "pageSize": 50
}
```

# Actor output Schema

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

Default Dataset rows.

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

Query, pagination, coverage and KEV metrics.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("soilair/cve-vulnerability-intelligence-api").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("soilair/cve-vulnerability-intelligence-api").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 '{}' |
apify call soilair/cve-vulnerability-intelligence-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,soilair/cve-vulnerability-intelligence-api"
        }
    }
}

```

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/Z5jUBSEC2eVfTmKzX/builds/ashyvzNyH8iuyN3ZE/openapi.json
