Search API

Results are also available as JSON, with the same ranking as the web search.

GET https://seclookup.onefirewall.com/api/search?q=sql+injection&src=cwe&limit=5
ParameterDescription
qSearch text. Use * to list everything in a source.
srcOptional filter: cve, kev, cwe, capec, attack, owasp.
sortnew for newest first; relevance by default.
limit, pagePage size (1–100, default 20) and page number.

Example response

{
  "total": 7266,
  "results": [
    {"id": "CWE-79", "source": "cwe", "kind": "weakness",
     "title": "Improper Neutralization of Input During Web Page Generation",
     "severity": "High", "url": "https://cwe.mitre.org/data/definitions/79.html"}
  ]
}

Every entry also has a human-readable page at /id/<ID>, for example /id/CVE-2021-44228. Browsers can add SecLookup as a search engine through OpenSearch.