API (1.0)

Download the OpenAPI specification

Download Here


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.

  1. Query vulnerabilities for a particular project at a given commit hash or version.
  2. Batched query vulnerabilities for given package versions and commit hashes.
  3. Return a Vulnerability object for a given OSV ID.
  4. 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.

Table of contents