SBOM Toolkit CycloneDX Validate Summarize Diff Vuln API
Free tier included · CybersecuritySBOM Toolkit API is a single micro-API that does what several expensive supply-chain services do — validate CycloneDX 1.2-1.7 JSON SBOMs against the official strict schemas plus spec rules the schema can't check (unique bom-refs, resolvable dependency refs, valid package URLs), summarize composition (nested components, ecosystems by purl type, licenses, vulnerabilities by severity, gaps without version/license/purl, tools), diff two SBOMs by package URL (added/removed/changed versions and licenses), generate a CycloneDX 1.5 SBOM from a dependency list, run full validation with caller-supplied content hash checks, check components against the OSV.dev vulnerability database, and batch up to 100 operations in one request.
The newer /api/v1/* endpoints add network-backed features: /api/v1/vuln-check queries OSV.dev, and /api/v1/generate and /api/v1/validate/full may consult external package metadata. Core endpoints (/validate, /summarize, /diff) are offline and deterministic; network-backed endpoints call the official host(s) api.osv.dev.
Use cases: (1) CI gates that fail builds on invalid or vulnerable SBOMs; (2) procurement/security teams comparing SBOMs before/after dependency upgrades; (3) platform teams generating SBOMs from build manifests without installing syft/trivy/cdxgen; (4) no-code pipelines orchestrating validate→summarize→diff in one batched call.
Honest limits: max body 10 MB on every endpoint; /api/v1/batch supports up to 100 sub-operations; /api/v1/vuln-check rate-limited by OSV.dev availability; /api/v1/generate and /api/v1/validate/full depend on external package registries. Core /validate, /summarize and /diff remain offline and deterministic.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | Root metadata: API name, version, and links to docs and health. |
GET | /health | Liveness probe; returns status "ok" while the process is up. |
POST | /validate | Validate a CycloneDX SBOM against the official strict JSON schema for its specVersion plus spec rules the schema cannot express (unique bom-refs, dependency refs that resolve). Send the SBOM at the root of the body or nested under sbom. |
POST | /summarize | Summarize a CycloneDX SBOM: component count, components by type, vulnerabilities, dependencies, top licenses, ecosystems by purl type, vulnerabilities by severity, gaps (components without version/license/purl), services, tools, and subject metadata. |
POST | /diff | Diff two CycloneDX SBOMs by component name. Returns added components, removed components, changed versions, changed licenses, and a summary count. |
POST | /api/v1/generate | Generate a CycloneDX 1.5 SBOM from a list of dependencies. Accepts component names, versions, package URLs, and optional caller-supplied artifact hashes. |
POST | /api/v1/validate/full | Full validation of a CycloneDX SBOM including verification of caller-supplied component content hashes. |
POST | /api/v1/vuln-check | Check components against the OSV.dev vulnerability database. Returns vulnerability details for each component found. |
POST | /api/v1/batch | Run multiple SBOM operations (validate, summarize, diff) in a single request. Supports up to 100 operations. |
Quick start
curl -X POST "https://sbom.p.rapidapi.com/validate" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: sbom.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"bomFormat":"CycloneDX","specVersion":"1.5","serialNumber":"urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79","version":1,"components":[{"type":"library","name":"requests","version":"2.31.0","bom-ref":"pkg:pypi/requests@2.31.0","licenses":[{"license":{"id":"Apache-2.0"}}]},{"type":"library","name":"urllib3","version":"2.0.7","bom-ref":"pkg:pypi/urllib3@2.0.7","licenses":[{"license":{"id":"MIT"}}]}],"dependencies":[{"ref":"pkg:pypi/requests@2.31.0","dependsOn":["pkg:pypi/urllib3@2.0.7"]}],"vulnerabilities":[{"id":"CVE-2024-0001","source":{"name":"NVD"}}]}'
FAQ
Are the core validate/summarize/diff endpoints offline and private?
Yes. /validate, /summarize and /diff make no external network calls, store nothing, and keep no logs. The /api/v1/* endpoints (generate, validate/full, vuln-check, batch) may consult external package registries and OSV.dev by design.
What CycloneDX versions and formats are supported?
CycloneDX JSON specVersion 1.2 through 1.7, validated against the official strict JSON schemas. SBOMs may be sent at the root of the request body or nested under a `sbom` key.
What is the maximum SBOM size I can send?
10 MB on every endpoint. /api/v1/batch supports up to 100 sub-operations per request.
How does /api/v1/vuln-check source its data?
It queries the OSV.dev public vulnerability database in real time. Results depend on OSV.dev availability and indexing latency.
Try SBOM Toolkit CycloneDX Validate Summarize Diff Vuln free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI