API (1.0)
Download the OpenAPI specification
OSV API
Want a quick example?
Please see the quickstart.
How does the API work?
There are four different types of requests that can be made of the API.
- Query vulnerabilities for a particular project at a given commit hash or version.
- Batched query vulnerabilities for given package versions and commit hashes.
- Return a
Vulnerability
object for a given OSV ID. - Return a list of probable versions of a specified C/C++ project. (Experimental)
Is the API rate limited?
Currently there are no limits on the API.