Retrieve vulnerabilities with optional filters
Retrieve vulnerabilities with optional filtering and pagination.
Supports light mode for minimal data (returns only vulnerability ID and source). Returns full vulnerability details by default, or only IDs and sources in light mode.
Query Parameters
source : str Optional source to filter vulnerabilities (e.g., 'CVE', 'GHSA', 'PySec'). per_page : int, default=30 Maximum number of results (capped at 100). date_sort : str Field to sort by. Options: '', 'published', 'updated', 'reserved'. sort_order : str Sort order: 'asc' or 'desc'. since : str Retrieve vulnerabilities published/updated after the specified date. page : int Pagination page number. cwe : str Filter vulnerabilities by a specific CWE ID. product : str Optional product name to filter vulnerabilities (case-insensitive). If set, the endpoint returns vulnerabilities related to this product across all vendors. Use with assigner to further narrow results. assigner : str Optional CNA/assigner short name to filter results (case-insensitive). Only effective when used with product or vendor filters. light : str If '1', returns only (vulnerability_id, source) instead of full details. with_meta : str If 'true', includes metadata for each vulnerability. Ignored in light mode. with_linked : str If 'true', includes linked vulnerabilities for each result. Ignored in light mode. with_comments : str If 'true', includes comments for each result. Ignored in light mode. with_bundles : str If 'true', includes bundles for each result. Ignored in light mode. with_sightings : str If 'true', includes sightings for each result. Ignored in light mode.
Returns
list[dict[str, Any]] | list[tuple[str, str | None]] Full vulnerability details or minimal tuples if light mode is enabled.
Response
Success
Changes
Changed in 5 of the 42 revisions of this API.115
- ○
added the new optional
queryrequest parameterwith_bundlesto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterwith_commentsto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterwith_linkedto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterwith_sightingsto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
- ○
added the new optional
queryrequest parameterwith_metato all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
- ○
added the new optional
queryrequest parameterproductto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
- ○
endpoint added
endpoint-added
- ○
added the new optional
queryrequest parametercweto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterdate_sortto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterlightto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterpageto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterper_pageto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parametersinceto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parametersort_orderto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parametersourceto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
- ▲
api removed without deprecation
api-removed-without-deprecation
- ▲