# NVD CPE Dictionary Scraper API - Software Product Search (`pink_comic/nvd-cpe-dictionary-software-product-search`) Actor

Search NIST NVD's CPE Dictionary API by CPE 2.3 name or match string, keyword, product components, deprecation state, and modified range. Returns normalized components, titles, references, deprecation mappings, provenance, and bounded-query evidence.

- **URL**: https://apify.com/pink\_comic/nvd-cpe-dictionary-software-product-search.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** Developer tools, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 nvd cpe dictionary scraper api - software product  evidence items

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 CPE Dictionary Software Product Search Scraper API

Search the authoritative public **NIST National Vulnerability Database CPE 2.0 API** for CPE 2.3 product-configuration names. Use it to normalize software inventory labels and build reference inputs for later vulnerability matching.

### Fast start

Empty input uses the deterministic Microsoft Office match and returns at most 5 rows:

```json
{}
```

Focused search:

```json
{"cpeMatchString":"cpe:2.3:a:microsoft:office","vendor":"microsoft","product":"office","deprecated":"false","maxResults":5}
```

You can also use `exactCpeName`, NVD `keyword`, `part` (`a`, `o`, `h`), exact local `vendor`/`product`/`version`, deprecation state, and a paired modified date range. `maxCandidates` (up to 5,000) and `maxPages` (up to 20) strictly bound pagination and local filtering.

### Output

Each found row includes the CPE name and NVD ID, all stable CPE 2.3 components, multilingual titles, references, creation/modification timestamps, deprecation status and replacement mappings, retrieval time, query bounds, and source semantics. `NO_MATCH` and `SOURCE_UNAVAILABLE` are explicit dataset outcomes.

### Evidence limits

A CPE name identifies a standardized product configuration. It **does not prove** that software is installed, exposed, vulnerable, supported, safe, or affected by a CVE. NVD records and deprecation mappings can change; bounded results are not a complete dictionary export. Confirm inventory and CVE applicability independently.

### Pricing and runtime

Pay per event: **$0.0001 per start + $0.002 per dataset item**. The empty-input run emits at most 5 paid rows (maximum **$0.0101**). Buyer charge limits reduce `maxResults` before source work. Defaults target 128-256 MB and a 300-second run ceiling.

Source: https://nvd.nist.gov/products/cpe · API: https://services.nvd.nist.gov/rest/json/cpes/2.0

# Actor input Schema

## `cpeMatchString` (type: `string`):

NVD cpeMatchString, e.g. cpe:2.3:a:microsoft:office.

## `exactCpeName` (type: `string`):

Require an exact returned CPE name.

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

NVD keywordSearch across CPE titles.

## `part` (type: `string`):

Optional part filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `vendor` (type: `string`):

Optional exact vendor component filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `product` (type: `string`):

Optional exact product component filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `version` (type: `string`):

Optional exact version component filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `deprecated` (type: `string`):

Optional deprecation status filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `modifiedStart` (type: `string`):

RFC3339 or YYYY-MM-DD; requires modifiedEnd.

## `modifiedEnd` (type: `string`):

RFC3339 or YYYY-MM-DD; requires modifiedStart.

## `maxCandidates` (type: `integer`):

Optional maximum candidates filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## `maxPages` (type: `integer`):

Optional maximum pages filter or result-control setting. See the README for exact source semantics, bounds, and examples.

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

Optional maximum results filter or result-control setting. See the README for exact source semantics, bounds, and examples.

## Actor input object example

```json
{
  "part": "",
  "deprecated": "all",
  "maxCandidates": 200,
  "maxPages": 5,
  "maxResults": 5
}
```

# 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 = {
    "deprecated": "all",
    "maxCandidates": 200,
    "maxPages": 5,
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/nvd-cpe-dictionary-software-product-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 = {
    "deprecated": "all",
    "maxCandidates": 200,
    "maxPages": 5,
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/nvd-cpe-dictionary-software-product-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 '{
  "deprecated": "all",
  "maxCandidates": 200,
  "maxPages": 5,
  "maxResults": 5
}' |
apify call pink_comic/nvd-cpe-dictionary-software-product-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pink_comic/nvd-cpe-dictionary-software-product-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/deEskzpgSEmNc460x/builds/dJhazMzBg4l7bcE56/openapi.json
