API Resources

POST
/v3/purls

PURLのリストに関連する脆弱性をリクエストする

指定されたPURLに基づいて、このエンドポイントは関連する脆弱性を含むPURLのリストを返します。

サポートされているパッケージマネージャのリストはこちらで確認できます。

リクエストボディ

purls
list required
Package URL Schemes

リクエスト例

curl --request POST \
  --url https://api.vulncheck.com/v3/purls \
  --header 'Authorization: Bearer insert_token_here' \
  --data '[
  "pkg:hex/coherence@0.1.2",
  "pkg:conan/assimp@5.1.0",
  "pkg:conan/crossguid@0.2.2",
]'

レスポンス

{
  "_benchmark": 0.173334,
  "_meta": {
    "timestamp": "2025-12-12T21:22:37.41976683Z",
    "total_documents": 1
  },
  "data": [
    {
      "purl": "pkg:hex/coherence@0.1.2",
      "purl_struct": {
        "type": "hex",
        "namespace": "",
        "name": "coherence",
        "version": "0.1.2",
        "qualifiers": null,
        "subpath": ""
      },
      "cves": [
        "CVE-2018-20301"
      ],
      "vulnerabilities": [
        {
          "detection": "CVE-2018-20301",
          "fixed_version": "0.5.2"
        }
      ]
    }
  ]
}