{
  "openapi": "3.0.1",
  "info": {
    "title": "NVD CVE Scraper · Vulnerabilities, CVSS Scores, Vendors & CWEs",
    "description": "Scrape National Vulnerability Database (NVD) CVE records, CVSS v2/v3/v4 severity scores, CWE weakness classifications, vendor products, and exploit references.",
    "version": "1.0",
    "x-build-id": "EuIyJ07qeclufcvX9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/reapx~nvd-cve-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-reapx-nvd-cve-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/reapx~nvd-cve-scraper/runs": {
      "post": {
        "operationId": "runs-sync-reapx-nvd-cve-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/reapx~nvd-cve-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-reapx-nvd-cve-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywordSearch": {
            "title": "Keyword Search",
            "type": "string",
            "description": "Filter CVE vulnerabilities matching a specific search term or product name (e.g. <code>Apache</code> or <code>WordPress</code>).<br><br><b>Consequence:</b> Broader keywords match more records, taking longer to retrieve and increasing run cost.<br><br><b>Empty value:</b> Leave empty to return all vulnerabilities without keyword filtering."
          },
          "cveId": {
            "title": "Specific CVE ID",
            "pattern": "^CVE-\\d{4}-\\d{4,7}$",
            "type": "string",
            "description": "Lookup a single specific Common Vulnerabilities and Exposures identifier (e.g. <code>CVE-2024-3094</code>).<br><br><b>Consequence:</b> Returns exactly one vulnerability record quickly at minimal cost.<br><br><b>Empty value:</b> Leave empty to search across all CVE identifiers."
          },
          "cweId": {
            "title": "CWE Weakness ID",
            "pattern": "^CWE-\\d+$",
            "type": "string",
            "description": "Filter vulnerabilities by Common Weakness Enumeration identifier (e.g. <code>CWE-79</code> for XSS or <code>CWE-89</code> for SQLi).<br><br><b>Consequence:</b> Narrows search to specific weakness categories.<br><br><b>Empty value:</b> Leave empty to include all CWE weakness types."
          },
          "cvssV3Severity": {
            "title": "CVSS v3 Base Severity",
            "enum": [
              "",
              "LOW",
              "MEDIUM",
              "HIGH",
              "CRITICAL"
            ],
            "type": "string",
            "description": "Filter vulnerabilities by CVSS v3 base severity level (<code>LOW</code>, <code>MEDIUM</code>, <code>HIGH</code>, or <code>CRITICAL</code>).<br><br><b>Consequence:</b> Restricts results to selected risk severity band.<br><br><b>Empty value:</b> Leave empty to match all severity levels."
          },
          "pubStartDate": {
            "title": "Published Start Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Start of the publication date range (e.g. <code>2024-01-01T00:00:00.000</code>).<br><br><b>Consequence:</b> NVD API requires max 120-day span between start and end date.<br><br><b>Empty value:</b> Leave empty for no publication start date limit."
          },
          "pubEndDate": {
            "title": "Published End Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "End of the publication date range (e.g. <code>2024-04-01T00:00:00.000</code>).<br><br><b>Consequence:</b> Limits total date window and reduces result size and run cost.<br><br><b>Empty value:</b> Leave empty for no publication end date limit."
          },
          "virtualMatchString": {
            "title": "CPE Virtual Match String / Vendor",
            "type": "string",
            "description": "Filter vulnerabilities by Common Platform Enumeration match string (e.g. <code>cpe:2.3:a:apache:http_server</code>).<br><br><b>Consequence:</b> Targets specific software vendor or product versions.<br><br><b>Empty value:</b> Leave empty to retrieve vulnerabilities across all vendors."
          },
          "maxItems": {
            "title": "Maximum CVEs to Return",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of CVE vulnerability records to retrieve and save to dataset.<br><br><b>Consequence:</b> Higher values allow retrieving more records but take longer and cost more per record.<br><br><b>Empty value:</b> Defaults to 200 items.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned.",
            "default": 200
          },
          "apiKey": {
            "title": "NVD API Key (Optional)",
            "type": "string",
            "description": "Optional NVD API key for higher rate limits (50 requests/30s vs 5 requests/30s without key). See <a href=\"https://nvd.nist.gov/developers/request-an-api-key\">NVD API Key Request</a>.<br><br><b>Consequence:</b> Accelerates scraping speed for large runs.<br><br><b>Empty value:</b> Scrapes without key using standard backoff."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}