v1

latestOpenAPI 3.0.3MIT2026-07-1792846.7 KB
CWE

CWE ID type

This API endpoint returns metadata on specified CWE IDs.

get/cwe/{id(s)}

Path parameters

id(s)string required

comma separated

Response

success

IDstring integer required

CWE ID

Type'category' | 'view' | 'pillar_weakness' | 'base_weakness' | 'variant_weakness' | 'chain_weakness' | 'class_weakness' | 'compound_weakness' | 'deprecated_weakness' | 'deprecated_category' | 'deprecated_view' required

Type of CWE object

Example response

[
  {
    "ID": "79",
    "type": "base_weakness"
  },
  {
    "id": "1000",
    "type": "view"
  }
]