Osv
Use the OSV API to identify known vulnerabilities affecting open source packages and Git commits. Provide a package name, ecosystem, and version, use a Package URL, or submit a commit hash. Query individual dependencies or batches, then retrieve full advisory records by vulnerability ID to review affected version ranges, available fix information, and reference links. Use the results to check dependency inventories, investigate vulnerable releases, or add vulnerability checks to build workflows. Coverage depends on the indexed advisory sources and ecosystem. The detail page includes request and response examples, supported parameters, and usage pricing.
- Endpoints
- 3In this collection
- Providers
- 1Unique providers
- Requests
- —Loading...
- Success rate
- —Loading...
- Response P50
- —Loading...
Available APIs
OSV Vulnerability Details API
Use the OSV Vulnerability Details API to retrieve a known vulnerability record by its database identifier. Provide the exact OSV, GHSA, CVE, or other supported record ID and receive the available advisory text, affected packages and ranges, publication and modification dates, severity information, and reference links. Use the record to investigate a batch-query match, document remediation evidence, or refresh a vulnerability knowledge base. Alias identifiers are included when supplied by the source, and withdrawn records must be interpreted using their withdrawal timestamp. The detail page includes complete request and response examples, the identifier parameter, and per-request pricing.
OSV Batch Vulnerability Query API
Use the OSV Batch Vulnerability Query API to check multiple open source package versions or Git commits in one request. Submit up to 1,000 query objects using package identifiers, Package URLs, or commit hashes, and receive matching vulnerability IDs and modification timestamps in the same order. Use the compact results to check a dependency inventory, identify packages requiring investigation, or schedule advisory refreshes. Fetch full records separately through the vulnerability details API, and follow continuation tokens for individual results when present. The detail page includes complete documentation examples, supported batch parameters, and fixed per-request pricing.
OSV Package Vulnerability Query API
Use the OSV Package Vulnerability Query API to find known vulnerabilities affecting an open source package version or Git commit. Identify a package with its name and ecosystem or a Package URL, or provide a commit hash, then continue with a page token when more results are available. Review affected version ranges, published advisories, and available fix references to check dependency updates, investigate a vulnerable release, or add checks to a build workflow. Results reflect the indexed database rather than a scan of your source code. The detail page includes request and response examples, supported parameters, and per-request pricing.
Common questions
How are Osv APIs priced?
Each endpoint publishes its own rate and billing unit. Compare the selected implementation and request-specific conditions; a collection starting price is not a quote for every request.
How do I authenticate Osv requests?
Use your OpenAny API key from a secure environment variable for supported account-based calls. Never paste secrets into prompts, documentation examples or public logs.
Are all implementations interchangeable?
No. Read each endpoint request schema, response examples and limitations before execution. Different suppliers may expose different fields and behavior; approve the budget before a paid call.
Use Osv with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.