Skip to main content

Notes

  • Keyless and, per the docs, currently without rate limits. Responses over HTTP/1.1 are capped at 32 MiB; HTTP/2 has no cap.
  • Queries are reads sent as POST with a JSON body. Values are case-sensitive: ecosystem ‘PyPI’, not ‘pypi’.
  • Give the version either in version or in a versioned purl (pkg:pypi/[email protected]), never both: that is a 400.

Endpoints

Find vulnerabilities for a package version or commit

  • A read over POST.
  • Pages when over 1,000 vulnerabilities or 20 seconds: repeat with page_token until next_page_token is gone.

Find vulnerabilities for many packages at once

  • A read over POST. Returns only id and modified per vulnerability; fetch details with vulns.get.
  • Per-query next_page_token appears when one query exceeds 1,000 results or the batch exceeds 3,000; re-query just those.

Get a vulnerability by ID