# NVD CVE database API — $0.0004 per CVE

> NVD CVE database API: vulnerabilities by keyword with CVE id, CVSS score and severity. $0.0004 per delivered CVE, nothing delivered means nothing charged.

[Home](https://quanticdata.io/) / [Collectors](https://quanticdata.io/collectors/) / CVE API

[All collectors](https://quanticdata.io/collectors/)

# NVD CVE database API

OSINT & security · v1.1.0 · `nvd_cve`

$0.0004 / CVE

$0.40 / 1K · pay per delivered CVE

A CVE API turns the NIST National Vulnerability Database into rows instead of a nested JSON tree you have to walk. Send a keyword — a product, a vendor, a library — and optionally a severity, and each matching vulnerability comes back as one flat record: the CVE id, its description, the best available CVSS base score and severity, the CWE weakness ids, the published and modified dates and the reference links.

By [Aldo Morese](https://quanticdata.io/about/), founder of QuanticData · Published Aug 21, 2026 · Updated Sep 3, 2026

[Run in dashboard](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-hero) · [See the request](https://quanticdata.io/collectors/cve-api/#integration)

$0.0004 per delivered CVE · $2 free every month · Failed runs never billed

On this page:

- [Try it](https://quanticdata.io/collectors/cve-api/#try)
- [What it is](https://quanticdata.io/collectors/cve-api/#what)
- [Limits](https://quanticdata.io/collectors/cve-api/#caps)
- [Output fields](https://quanticdata.io/collectors/cve-api/#output)
- [Inputs](https://quanticdata.io/collectors/cve-api/#input)
- [Pricing](https://quanticdata.io/collectors/cve-api/#pricing)
- [Integration](https://quanticdata.io/collectors/cve-api/#integration)
- [Use cases](https://quanticdata.io/collectors/cve-api/#use-cases)
- [Versus the alternatives](https://quanticdata.io/collectors/cve-api/#compare)
- [FAQ](https://quanticdata.io/collectors/cve-api/#faq)

What it does

## What a CVE API does

The NVD carries CVSS in three flavours — v3.1, v3.0 and v2 — and fills them in unevenly across records, so the score you actually want is wherever it happens to exist. This resolves the best available metric and hands you a single base score, severity label and vector string per CVE, which is the difference between a populated column and three partly-empty ones.

The public NVD 2.0 API throttles hard without a key and nests its scores several levels deep under version-specific metric arrays. This flattens each record, lifts the CWE weakness ids up as a plain array and returns the references as their own list, so a vulnerability is a row you can store next to a package name rather than a document you re-parse on every call.

## Inputs

The whole request. Anything you leave out falls back to the default shown in the catalog.

| Input | Type | Required | What it does |
| --- | --- | --- | --- |
| `keyword` | string | no | Search term (product, vendor, CVE text). |
| `severity` | string | no | Filter to a CVSS v3 severity. One of: `LOW`, `MEDIUM`, `HIGH`, `CRITICAL`. |
| `cve_id` | string | no | Look up one CVE, e.g. CVE-2021-44228. |
| `known_exploited` | boolean | no | Only CVEs in the CISA Known Exploited Vulnerabilities catalog. |
| `max_results` | integer | no | How many CVEs to deliver at most (1–200). You pay only for delivered CVEs. |

Outputs — 23 fields, one row per CVE

## What one CVE looks like

Every delivered CVE carries these fields. Nullable means the source did not publish it — the field stays empty instead of being guessed.

| Field | Type | What it holds |
| --- | --- | --- |
| `rank` | integer | 1-based position. |
| `cve_id` | string | CVE identifier. |
| `description` | string · nullable | English description. |
| `cvss_score` | number · nullable | CVSS base score. |
| `severity` | string · nullable | CVSS severity. |
| `cvss_vector` | string · nullable | CVSS vector string. |
| `cwe` | string[] | CWE weakness ids. |
| `published` | string · nullable | Publish date. |
| `last_modified` | string · nullable | Last modified date. |
| `status` | string · nullable | Vulnerability status. |
| `references` | string[] | Reference URLs. |
| `url` | string | NVD detail page. |
| `cvss_version` | string · nullable | CVSS version of the score. |
| `exploitability_score` | number · nullable | CVSS exploitability sub-score. |
| `impact_score` | number · nullable | CVSS impact sub-score. |
| `attack_vector` | string · nullable | Attack vector (NETWORK, LOCAL…). |
| `affected_products` | string[] | Vulnerable vendor:product pairs from the CPE configurations. |
| `source` | string · nullable | Organisation that assigned the CVE. |
| `known_exploited` | boolean | In the CISA Known Exploited Vulnerabilities catalog. |
| `kev_added` | string · nullable | Date added to the CISA KEV catalog. |
| `kev_due_date` | string · nullable | CISA remediation due date. |
| `kev_required_action` | string · nullable | CISA required action. |
| `patch_urls` | string[] | References tagged Patch or Vendor Advisory. |

Integration

## One POST, typed rows

Base URL `https://api.quanticdata.io/v1`, Bearer auth, the same key as every other Data API. Endpoint: `POST /v1/scraper/collectors/nvd_cve/run`.

cURL:

```bash
curl -X POST https://api.quanticdata.io/v1/scraper/collectors/nvd_cve/run \
  -H "Authorization: Bearer $QD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"log4j","max_results":20}'
```

Python:

```python
import requests

r = requests.post(
    "https://api.quanticdata.io/v1/scraper/collectors/nvd_cve/run",
    headers={"Authorization": f"Bearer {QD_API_KEY}"},
    json={
        "keyword": "log4j",
        "max_results": 20
    },
    timeout=120,
)
for row in r.json()["payload"]["results"]:
    print(row)
```

Node.js:

```javascript
const res = await fetch(
  "https://api.quanticdata.io/v1/scraper/collectors/nvd_cve/run",
  {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.QD_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({"keyword":"log4j","max_results":20}),
  },
);
const { payload } = await res.json();
console.table(payload.results);
```

MCP:

```bash
claude mcp add quanticdata \
  -e QUANTICDATA_API_KEY=qd_live_your_key_here \
  -- npx -y quanticdata-mcp

# then, in the chat:
> run the nvd_cve collector with keyword="log4j" and max_results=20
```

Example response

POST /v1/scraper/collectors/nvd_cve/run

```bash
$ curl $QD/nvd_cve/run \
    -H "Authorization: Bearer $QD_API_KEY" \
    -d '{"keyword": "log4j", "max_results": 20}'
{ "status": "done", "count": 20,
  "results": [
    {
      "cve_id": "…",
      "description": "…",
      "cvss_score": …,
      "severity": "…" } ],
  "cost": 0.008 }
# 20 CVEs × $0.0004 · nothing delivered, nothing charged
```

Price

## Limits, in plain numbers

Everything that bounds one run of this collector. No hidden throttles.

Max per run

200 CVEs

Price

$0.0004 / CVE

Per 1,000

$0.40

Failed runs

Free zero rows, zero charge

Free every month

$2 no card

Rate limit

20 req/min on the free tier

Changelog

- `v1.1.0` 2026-10-04
- `v1.0.0` 2026-08-24 Initial release

Every run records the collector version it ran on. Breaking output changes bump the major version.

Try it

## CVE vulnerabilities (NVD), running now

Change the input and run it against the live collector — nothing to install, no sign-up.

Run it from your own code, on your own inputs

Same collector, same rows — $2 of free API credit every month, no card.

[Get my free API key](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-closing)

![CVE API: from keyword, QuanticData reads the vulnerability record and returns one row per CVE with description, cvss_score and severity, at $0.0004 per delivered CVE.](https://quanticdata.io/collectors/cve-api/diagram.webp?v=20261004f)

*You send keyword and severity; the run reads the source and comes back as CVEs with rank, cve_id and description — 23 fields on every row — and you are billed $0.0004 for each CVE actually delivered, nothing for a run that delivers none.*

**$0.0004 / CVE** · 5,000 CVEs on the free $2 every month

**Semantic input** · keyword, severity, max_results — no URL lists

**Up to 200** · CVEs per run, pagination handled for you

**No browser** · read over HTTP/TLS — cheaper and faster than rendering

Pricing

## CVE API pricing

$0.0004 per delivered CVE. A run that delivers nothing costs nothing: blocked pages, challenges and retries are on us, and the $2 monthly allowance covers about 5,000 CVEs before you spend anything.

**$0.0004** per delivered CVE · *$0.4 per 1,000 delivered CVEs*

**5,000 CVEs** · on the free allowance · *$2 every month, no card*

**Zero rows** · zero charge · *blocks, captchas and retries are on us*

**−30%** on volume tiers · *the catalog returns your key's price*

- [Pay as you go](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-tier-1): $0/mo · $2 free credit / month · 20 requests / min (300 on real balance) · List unit prices
- [Starter](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-tier-2): $19/mo · $15 free credit / month · 300 requests / min · 10% off unit prices
- [Growth](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-tier-3): Most popular · $79/mo · $50 free credit / month · 600 requests / min · 20% off unit prices
- [Scale](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-tier-4): $299/mo · $250 free credit / month · 1,200 requests / min · 30% off unit prices

Same wallet, same key and same $2 monthly allowance as every other [Data API](https://quanticdata.io/web-data-api-for-ai/). Prices are launch pricing read live from the billing config — `GET /v1/scraper/collectors` returns the price your key actually pays.

## What people build with the CVE API

Three shapes of work this endpoint was designed around.

### Vulnerability feeds

Query a product or library name on a schedule and each new CVE arrives with its CVSS score and CWE ids already extracted, ready to diff against the last pull.

### Severity-gated alerts

Filter to CRITICAL or HIGH and route only the vulnerabilities that clear your threshold into a table, leaving the low-severity noise out of the pipeline.

### Weakness datasets

The CWE array on every row groups vulnerabilities by the class of bug, so a corpus of CVEs can be sliced by weakness type rather than by free-text search alone.

## CVE API versus rolling your own

The differences that actually cost time when you build this in-house.

|  | DIY scraper | This collector |
| --- | --- | --- |
| CVSS version | Read the v3.1, v3.0 and v2 metric blocks yourself | Best available score, severity and vector, resolved for you |
| Response shape | Scores buried under versioned metric arrays | One flat row per CVE, CWE ids as a plain array |
| Without a key | Throttled after a handful of calls | Keyless, with the rate limit handled our side |

## What people search for

Live autocomplete demand around CVE vulnerabilities (NVD), pulled with our own Keyword ideas collector.

Searches:

- [cve database api free](https://quanticdata.io/collectors/cve-api/#try)
- [cve database api python](https://quanticdata.io/collectors/cve-api/#try)
- [cve database api key](https://quanticdata.io/collectors/cve-api/#try)
- [cve list api](https://quanticdata.io/collectors/cve-api/#try)
- [vulnerability database api](https://quanticdata.io/collectors/cve-api/#try)
- [nist cve database api](https://quanticdata.io/collectors/cve-api/#try)
- [mitre cve database api](https://quanticdata.io/collectors/cve-api/#try)
- [redhat cve database api](https://quanticdata.io/collectors/cve-api/#try)
- [cve vulnerability database api](https://quanticdata.io/collectors/cve-api/#try)
- [nvd cve database api](https://quanticdata.io/collectors/cve-api/#try)
- [cve database rest api](https://quanticdata.io/collectors/cve-api/#try)
- [database api example](https://quanticdata.io/collectors/cve-api/#try)
- [cve db api](https://quanticdata.io/collectors/cve-api/#try)
- [cve data api](https://quanticdata.io/collectors/cve-api/#try)
- [red hat cve database api](https://quanticdata.io/collectors/cve-api/#try)
- [cve database list](https://quanticdata.io/collectors/cve-api/#try)

![CVE API: the POST to the nvd_cve collector, 20 CVEs delivered and the bill, 20 × $0.0004 = $0.008 in usage.cost_usd; zero CVEs would cost $0.](https://quanticdata.io/collectors/cve-api/diagram2.webp?v=20261004f)

*The same call you would paste into a terminal: a Bearer key, keyword and severity in the body, and back the envelope every QuanticData endpoint returns — type, message, payload — where count is how many CVEs arrived and usage.cost_usd is $0.008, which is 20 × $0.0004. A run that delivers nothing costs nothing. The key is good for 20 req/min on the free tier.*

## Sources and standards

The platform documentation and standards this collector is built against — check any claim on this page against the primary source:

- [NIST NVD: vulnerability API documentation](https://nvd.nist.gov/developers/vulnerabilities)
- [MITRE: the CVE Program](https://www.cve.org/)
- [FIRST: Common Vulnerability Scoring System (CVSS) specification](https://www.first.org/cvss/v3.1/specification-document)

## FAQ

Questions we get about the CVE API.

[Something else? Ask us](https://quanticdata.io/collectors/cve-api/#ask)

### Do I need an NVD API key?

No. The public NVD 2.0 endpoint rate-limits sharply for unauthenticated callers; that limit is handled on our side, so you send a keyword and get CVE rows back without registering for or holding a key.

### Which CVSS version does cvss_score come from?

The best one present on the record: v3.1 is preferred, then v3.0, then v2. You get one score, severity and vector per CVE instead of three partly-filled metric blocks to reconcile yourself.

### Can I return only critical vulnerabilities?

Yes — set `severity` to LOW, MEDIUM, HIGH or CRITICAL and only CVEs at that CVSS v3 severity come back, so a feed can be gated down to the rows that matter.

### Is there a free CVE API?

Every account gets $2 of credit every month with no card, which is about 5,000 delivered CVEs on this endpoint at $0.0004 each. It renews monthly, and a run that delivers nothing is never billed — so a failed or blocked attempt does not eat the allowance.

### How much does one run cost?

Multiply the rows you actually receive by $0.0004. A run capped at 200 CVEs — the maximum for this collector — costs $0.08 if every row comes back, and less when the source has fewer. Volume tiers take up to 30% off, and `GET /v1/scraper/collectors` returns the price your key actually pays.

## Run the CVE API now

$2 of free credit every month, no card. Your key returns its own prices from `GET /v1/scraper/collectors`.

[Run in dashboard](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fnvd_cve&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=cve-api-cta-3)

![Illustration: three coloured zones of the page that is read (Vulnerability record) turn into clean JSON with the fields description, cvss_score and severity; 23 fields on every row.](https://quanticdata.io/collectors/cve-api/hero.webp?v=20261004h)

Related:

- [All 100+ collectors](https://quanticdata.io/collectors/)
- [Certificate transparency API](https://quanticdata.io/collectors/certificate-transparency-api/)
- [GitHub repository search API](https://quanticdata.io/collectors/github-repository-search-api/)
- [npm registry API](https://quanticdata.io/collectors/npm-registry-api/)
- [Documentation](https://quanticdata.io/docs/)

In code:

- [CVE API in Python](https://quanticdata.io/collectors/cve-api/python/)

---

Source: https://quanticdata.io/collectors/cve-api/ · Site index for AI: https://quanticdata.io/llms.txt
