按编号查询
按编号查询
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-44228" | jq '.vulnerabilities[0].cve.metrics'按发布时间窗口分页拉取
按发布时间窗口分页拉取
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?pubStartDate=2024-01-01T00:00:00.000&pubEndDate=2024-01-07T00:00:00.000&startIndex=0&resultsPerPage=100" | jq '.totalResults'| 限速(无 Key) | 滚动 30 秒窗口内 5 次请求 |
|---|---|
| 限速(带 Key) | 30 秒内 50 次请求 |
| 分页参数 | startIndex / resultsPerPage |
时间窗口过大容易超时,按天切片拉取并落库更稳。