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
| Parameter | Description |
|---|---|
q | Search text. Use * to list everything in a source. |
src | Optional filter: cve, kev, cwe, capec, attack, owasp. |
sort | new for newest first; relevance by default. |
limit, page | Page 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.