Skip to content

NVD API

4 endpointsDeveloper & TechGlobalsocial:read

Returns CVE records from the NIST National Vulnerability Database by id, keyword, severity or affected CPE, with CVSS scores, CWE ids and change history.

View as Markdown
GET/nvd/cveOne CVE vulnerability record from the NIST National Vulnerability Database: description, CVSS score and severity, weakness (CWE) ids and references.
GET/nvd/searchSearch the NIST National Vulnerability Database for CVE records by keyword and CVSS v3 severity, newest pages first as NVD orders them.
GET/nvd/cvesByProductThe CVE vulnerabilities that affect one software version, found by its CPE name such as cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*.
GET/nvd/cveHistoryThe changes NVD made to one CVE record over time: modified scores, references, descriptions and CPEs, newest first.

cve

GET/v1/nvd/cve

One CVE vulnerability record from the NIST National Vulnerability Database: description, CVSS score and severity, weakness (CWE) ids and references.

scope social:read1 unitcached 6 h

Parameters

id
string
required
CVE id, such as CVE-2021-44228.
e.g. CVE-2021-44228
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
cvssVersionstring
descriptionstring
idstring
lastModifiedAtstring
publishedAtstring
referencesReference[]
sourcestring
urlstring
scorenumber (double)
severitystring
statusstring
urlstring
vectorstring
weaknessesstring[]
curl "https://api.hoshime.com/v1/nvd/cve?id=CVE-2021-44228" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "cvssVersion": "…",
    "description": "…",
    "id": "abc123",
    "lastModifiedAt": "2026-11-06T09:41:00Z",
    "publishedAt": "2026-11-06T09:41:00Z",
    "references": [
      {
        "source": "…",
        "url": "https://…"
      }
    ],
    "score": 0,
    "severity": "…",
    "status": "…",
    "url": "https://…",
    "vector": "…",
    "weaknesses": [
      "…"
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "cve",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "nvd",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

cvesByProduct

GET/v1/nvd/cvesByProduct

The CVE vulnerabilities that affect one software version, found by its CPE name such as cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*.

scope social:read1 unitcached 30 minpaginated

Parameters

cpe
string
required
CPE 2.3 name of the product and version, such as cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*.
e.g. cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 100.
default 20e.g. 3
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
cvssVersionstring
descriptionstring
idstring
lastModifiedAtstring
publishedAtstring
referencesReference[]
sourcestring
urlstring
scorenumber (double)
severitystring
statusstring
urlstring
vectorstring
weaknessesstring[]
curl "https://api.hoshime.com/v1/nvd/cvesByProduct?cpe=cpe%3A2.3%3Aa%3Aapache%3Alog4j%3A2.14.1%3A*%3A*%3A*%3A*%3A*%3A*%3A*&limit=3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "cvssVersion": "…",
      "description": "…",
      "id": "abc123",
      "lastModifiedAt": "2026-11-06T09:41:00Z",
      "publishedAt": "2026-11-06T09:41:00Z",
      "references": [
        {
          "source": null,
          "url": null
        }
      ],
      "score": 0,
      "severity": "…",
      "status": "…",
      "url": "https://…",
      "vector": "…",
      "weaknesses": [
        "…"
      ]
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "cvesByProduct",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "nvd",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

cveHistory

GET/v1/nvd/cveHistory

The changes NVD made to one CVE record over time: modified scores, references, descriptions and CPEs, newest first.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
CVE id, such as CVE-2021-44228.
e.g. CVE-2021-44228
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 100.
default 20e.g. 5
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
createdAtstring
detailsChangeItem[]
actionstring
newValuestring
oldValuestring
typestring
eventstring
idstring
sourcestring
curl "https://api.hoshime.com/v1/nvd/cveHistory?id=CVE-2021-44228&limit=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "createdAt": "2026-11-06T09:41:00Z",
      "details": [
        {
          "action": null,
          "newValue": null,
          "oldValue": null,
          "type": null
        }
      ],
      "event": "…",
      "id": "abc123",
      "source": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "cveHistory",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "nvd",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open