# OpenCVE API reference

> OpenCVE API v2 gives read and write access to the CVE catalog (CVEs with scores, weaknesses and vendors, plus vendor, product and CWE listings) and to the organization features of OpenCVE: projects, subscriptions, triage, notifications, automations and reports. This reference covers the read-only…

Source: https://osinttools.io/apis/opencve/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/opencve/

- Base URL: https://app.opencve.io/api/v2
- Authentication: Bearer token in the `Authorization` header. Get a key: https://app.opencve.io/ Organization API token, format opc_org.<token_id>.<secret>
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.opencve.io/api/
- OpenAPI spec: https://app.opencve.io/api/v2/schema/

## Overview

OpenCVE API v2 gives read and write access to the CVE catalog (CVEs with scores, weaknesses and vendors, plus vendor, product and CWE listings) and to the organization features of OpenCVE: projects, subscriptions, triage, notifications, automations and reports. This reference covers the read-only catalog endpoints; the organization and project endpoints are in the Swagger spec.

All calls go to `https://app.opencve.io/api/v2/` and need an Organization API token sent as a Bearer token. Lists are paginated with `page` and `page_size` (default 20, maximum 100); a page past the end answers 404. Errors come back as `{ "error": { "code", "message" } }`.

On OpenCVE Community tokens are read-only or read-write; on OpenCVE Cloud tokens can carry granular scopes such as `catalog:read`. An investigator uses it to look up a CVE by ID or search the catalog with the OpenCVE query syntax, and to list the CVEs of a vendor or product.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | validation_error: invalid request body or query parameters |
| 401 | invalid_token: missing, malformed, revoked or invalid Bearer token |
| 403 | permission_denied, read_only_token or missing_scope |
| 404 | not_found: resource not found, or pagination page out of range |

## CVEs

### List CVEs, optionally filtered with an advanced search query.

`GET /cves`

- Footprint: passive (the target is not contacted)

Returns a paginated list of CVEs. Use `q` with the OpenCVE query syntax to filter.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Search query in OpenCVE syntax Example: cvss31>=9 |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, 1 to 100 Example: 20 |

Response fields:

- `count` (integer): Total number of results
- `next` (string): URL of the next page or null
- `previous` (string): URL of the previous page or null
- `results[].cve_id` (string): CVE identifier
- `results[].title` (string): CVE title
- `results[].description` (string): CVE description
- `results[].created_at` (string): Creation time
- `results[].updated_at` (string): Last update time

```bash
curl 'https://app.opencve.io/api/v2/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-02T00:00:00Z",
      "cve_id": "CVE-2026-0001",
      "title": "Example vulnerability",
      "description": "An example description for a made-up vulnerability."
    }
  ]
}
```

### Retrieve one CVE with its scores, weaknesses and vendors.

`GET /cves/{cve_id}`

- Footprint: passive (the target is not contacted)

Returns the CVE with a `metrics` object (KEV, EPSS, SSVC, CVSS versions), its CWE list and the vendor and product keys it affects. `include` adds NVD CPE configurations and references.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cve_id` | path | string | yes | CVE identifier Example: CVE-2026-0001 |
| `include` | query | string | no | Comma-separated extra fields: nvd_cpe_configurations, references Example: references |

Response fields:

- `cve_id` (string): CVE identifier
- `title` (string): CVE title
- `description` (string): CVE description
- `metrics.kev.data` (object): CISA KEV data (dueDate, dateAdded)
- `metrics.epss.data.score` (number): EPSS score
- `metrics.cvssV3_1.data.score` (number): CVSS 3.1 base score
- `metrics.cvssV3_1.data.vector` (string): CVSS 3.1 vector
- `weaknesses[]` (string): CWE identifiers
- `vendors[]` (string): Vendor keys and vendor product keys

```bash
curl 'https://app.opencve.io/api/v2/cves/CVE-2026-0001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-02T00:00:00Z",
  "cve_id": "CVE-2026-0001",
  "title": "Example vulnerability",
  "description": "An example description for a made-up vulnerability.",
  "metrics": {
    "epss": {
      "data": {
        "score": 0.12
      },
      "provider": "first"
    },
    "cvssV3_1": {
      "data": {
        "score": 9.1,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "provider": "mitre"
    }
  },
  "weaknesses": [
    "CWE-284"
  ],
  "vendors": [
    "examplevendor",
    "examplevendor$PRODUCT$exampleproduct"
  ]
}
```

### List the changes recorded for a CVE.

`GET /cves/{cve_id}/changes`

- Footprint: passive (the target is not contacted)

Paginated list of changes (which fields changed and when) for one CVE.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cve_id` | path | string | yes | CVE identifier Example: CVE-2026-0001 |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, maximum 100 Example: 20 |

Response fields:

- `count` (integer): Total number of changes
- `results[].id` (string): Change ID (UUID)
- `results[].cve_id` (string): CVE identifier
- `results[].types[]` (string): Kinds of field that changed
- `results[].created_at` (string): Time of the change

```bash
curl 'https://app.opencve.io/api/v2/cves/CVE-2026-0001/changes' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "created_at": "2026-01-02T00:00:00Z",
      "updated_at": "2026-01-02T00:00:00Z",
      "cve_id": "CVE-2026-0001",
      "types": [
        "title",
        "description"
      ]
    }
  ]
}
```

## Vendors and products

### List all vendors.

`GET /vendors`

- Footprint: passive (the target is not contacted)

Paginated list of vendors in the catalog.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, 1 to 100 Example: 20 |

Response fields:

- `count` (integer): Total number of vendors
- `results[].name` (string): Vendor name
- `results[].created_at` (string): Creation time

```bash
curl 'https://app.opencve.io/api/v2/vendors' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-01T00:00:00Z",
      "name": "examplevendor"
    }
  ]
}
```

### List the CVEs associated with a vendor.

`GET /vendors/{vendor_name}/cves`

- Footprint: passive (the target is not contacted)

Paginated CVEs that affect the vendor.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `vendor_name` | path | string | yes | Vendor name Example: examplevendor |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, maximum 100 Example: 20 |

Response fields:

- `count` (integer): Total number of CVEs
- `results[].cve_id` (string): CVE identifier
- `results[].title` (string): CVE title

```bash
curl 'https://app.opencve.io/api/v2/vendors/examplevendor/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-02T00:00:00Z",
      "cve_id": "CVE-2026-0001",
      "title": "Example vulnerability",
      "description": "An example description."
    }
  ]
}
```

### List the products of a vendor.

`GET /vendors/{vendor_name}/products`

- Footprint: passive (the target is not contacted)

Paginated list of products for one vendor.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `vendor_name` | path | string | yes | Vendor name Example: examplevendor |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, maximum 100 Example: 20 |

Response fields:

- `count` (integer): Total number of products
- `results[].name` (string): Product name

```bash
curl 'https://app.opencve.io/api/v2/vendors/examplevendor/products' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-01T00:00:00Z",
      "name": "exampleproduct"
    }
  ]
}
```

### List the CVEs associated with a product.

`GET /vendors/{vendor_name}/products/{product_name}/cves`

- Footprint: passive (the target is not contacted)

Paginated CVEs that affect one product of a vendor.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `vendor_name` | path | string | yes | Vendor name Example: examplevendor |
| `product_name` | path | string | yes | Product name Example: exampleproduct |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, maximum 100 Example: 20 |

Response fields:

- `count` (integer): Total number of CVEs
- `results[].cve_id` (string): CVE identifier
- `results[].title` (string): CVE title

```bash
curl 'https://app.opencve.io/api/v2/vendors/examplevendor/products/exampleproduct/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-02T00:00:00Z",
      "cve_id": "CVE-2026-0001",
      "title": "Example vulnerability",
      "description": "An example description."
    }
  ]
}
```

## Weaknesses

### Retrieve a CWE weakness.

`GET /weaknesses/{cwe_id}`

- Footprint: passive (the target is not contacted)

Returns the CWE id, name and description.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cwe_id` | path | string | yes | CWE identifier Example: CWE-521 |

Response fields:

- `cwe_id` (string): CWE identifier
- `name` (string): Weakness name
- `description` (string): Weakness description

```bash
curl 'https://app.opencve.io/api/v2/weaknesses/CWE-521' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "cwe_id": "CWE-521",
  "name": "Weak Password Requirements",
  "description": "The product does not require that users should have strong passwords."
}
```

### List the CVEs associated with a weakness.

`GET /weaknesses/{cwe_id}/cves`

- Footprint: passive (the target is not contacted)

Paginated CVEs tagged with the CWE.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cwe_id` | path | string | yes | CWE identifier Example: CWE-521 |
| `page` | query | integer | no | Page number Example: 1 |
| `page_size` | query | integer | no | Results per page, maximum 100 Example: 20 |

Response fields:

- `count` (integer): Total number of CVEs
- `results[].cve_id` (string): CVE identifier

```bash
curl 'https://app.opencve.io/api/v2/weaknesses/CWE-521/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-02T00:00:00Z",
      "cve_id": "CVE-2026-0001",
      "title": "Example vulnerability",
      "description": "An example description."
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
