技
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/cve | One CVE vulnerability record from the NIST National Vulnerability Database: description, CVSS score and severity, weakness (CWE) ids and references. |
| GET | /nvd/search | Search the NIST National Vulnerability Database for CVE records by keyword and CVSS v3 severity, newest pages first as NVD orders them. |
| GET | /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:*:*:*:*:*:*:*. |
| GET | /nvd/cveHistory | The changes NVD made to one CVE record over time: modified scores, references, descriptions and CPEs, newest first. |
cve
GET
/v1/nvd/cveOne 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
idstring required | CVE id, such as CVE-2021-44228. e.g. CVE-2021-44228 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
cvssVersion | string |
description | string |
id | string |
lastModifiedAt | string |
publishedAt | string |
references | Reference[] |
source | string |
url | string |
score | number (double) |
severity | string |
status | string |
url | string |
vector | string |
weaknesses | string[] |
curl "https://api.hoshime.com/v1/nvd/cve?id=CVE-2021-44228" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nvd/cve?id=CVE-2021-44228", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nvd/cve?id=CVE-2021-44228", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }
search
GET
/v1/nvd/searchSearch the NIST National Vulnerability Database for CVE records by keyword and CVSS v3 severity, newest pages first as NVD orders them.
scope social:read1 unitcached 30 minpaginated
Parameters
querystring | Keyword to find in the CVE descriptions, such as log4j. e.g. log4j |
severitystring | CVSS v3 severity: LOW, MEDIUM, HIGH or CRITICAL.LOWMEDIUMHIGHCRITICAL |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
cvssVersion | string |
description | string |
id | string |
lastModifiedAt | string |
publishedAt | string |
references | Reference[] |
source | string |
url | string |
score | number (double) |
severity | string |
status | string |
url | string |
vector | string |
weaknesses | string[] |
curl "https://api.hoshime.com/v1/nvd/search?query=log4j&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nvd/search?query=log4j&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nvd/search?query=log4j&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nvd", "requestId": "req_2Xb9kQ…", "units": 1 } }
cvesByProduct
GET
/v1/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:*:*:*:*:*:*:*.
scope social:read1 unitcached 30 minpaginated
Parameters
cpestring 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:*:*:*:*:*:*:* |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 100. default 20e.g. 3 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
cvssVersion | string |
description | string |
id | string |
lastModifiedAt | string |
publishedAt | string |
references | Reference[] |
source | string |
url | string |
score | number (double) |
severity | string |
status | string |
url | string |
vector | string |
weaknesses | string[] |
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"
const res = await fetch("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", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "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", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/cveHistoryThe changes NVD made to one CVE record over time: modified scores, references, descriptions and CPEs, newest first.
scope social:read1 unitcached 30 minpaginated
Parameters
idstring required | CVE id, such as CVE-2021-44228. e.g. CVE-2021-44228 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
createdAt | string |
details | ChangeItem[] |
action | string |
newValue | string |
oldValue | string |
type | string |
event | string |
id | string |
source | string |
curl "https://api.hoshime.com/v1/nvd/cveHistory?id=CVE-2021-44228&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nvd/cveHistory?id=CVE-2021-44228&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nvd/cveHistory?id=CVE-2021-44228&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }