SearchComponents
Search for software components across ecosystems using name, vendor, or PURL patterns.Request Format
The search supports multiple modes:- General search — Free-text search using the
searchparameter - Targeted search — Use
vendorandcomponentparameters - Ecosystem filtering — Use
packageto filter by ecosystem (e.g., github, maven, npm)
HTTP Request Example
Response Example
Thecomponentfield is deprecated and will be removed in future versions. Use thenamefield instead, which provides the same information.
ComponentVersions
Get available versions for a software component, including license metadata.Request Format
- Requires a valid PURL (Package URL)
- Optional
limitparameter sets number of versions returned
HTTP Request Example
Response Format
The method returns comprehensive version information including:component: Contains the component details and version listname: Component namepurl: Package URL identifierurl: Component repository or homepage URLversions: List of available versions with metadata
status: Response status indicating success or failure
- Version identifier and release date
- Associated licenses with SPDX information
- SPDX approval status for each license
Response Example
ComponentStatistics
Get code statistics for software components, including file counts, line counts and language breakdown.HTTP Request Example
Response Format
The method returns comprehensive code statistics including:components: List of analyzed components with their statisticsstatus: Response status indicating success or failure
- Component identification (PURL and version)
- Overall code metrics (total files, lines, blank lines)
- Language breakdown with file counts per programming language