API Resources

GET
/v3/purl

Request vulnerabilites related to a PURL

Based on the specified PURL, this endpoint will return a list of vulnerabilities that are related to the package.

You can find a list of supported package managers here

Path Parameters

purlrequired
string

Package URL Scheme

Example Requests

curl --request GET \
    --url https://api.vulncheck.com/v3/purl?purl=pkg:hex/coherence@0.1.2 \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Response

{
  "_benchmark": 0.057389,
  "_meta": {
    "purl_struct": {
      "type": "hex",
      "namespace": "",
      "name": "coherence",
      "version": "0.1.2",
      "qualifiers": null,
      "subpath": ""
    },
    "timestamp": "2023-09-11T15:02:50.325502302Z",
    "total_documents": 1
  },
  "data": {
    "cves": [
      "CVE-2018-20301"
    ],
    "vulnerabilities": [
      {
        "detection": "CVE-2018-20301",
        "fixed_version": "0.5.2"
      }
    ]
  }
}