Skip to content
OSINTtools.io

OpenCVE API

CVE platform: search vulnerabilities by keyword, vendor or product, follow changes and get alerts, by web app or REST API.

Base URL
https://app.opencve.io/api/v2
Sign-in
Bearer token
Format
REST
Endpoints
9

Compiled by OSINTtools.io editors from docs.opencve.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with OpenCVE and copy your bearer token. Where to get it

  2. Make your first request

    List CVEs, optionally filtered with an advanced search query.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://app.opencve.io/api/v2/cves' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "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."
        }
      ]
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Organization API token, format opc_org.<token_id>.<secret>

Get a key from OpenCVE

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Errors

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

CVEs

  • Passive: the target is not contacted

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

Query parameters

qstring

Search query in OpenCVE syntax

Example: cvss31>=9
pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, 1 to 100

Example: 20Default: 20
Response fields · 8Show

countinteger

Total number of results

nextstring

URL of the next page or null

previousstring

URL of the previous page or null

cve_idstring

CVE identifier

titlestring

CVE title

descriptionstring

CVE description

created_atstring

Creation time

updated_atstring

Last update time

curl 'https://app.opencve.io/api/v2/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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."
    }
  ]
}
  • 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.

Path parameters

cve_idstringrequired

CVE identifier

Example: CVE-2026-0001

Query parameters

includestring

Comma-separated extra fields: nvd_cpe_configurations, references

Example: references
Response fields · 9Show

cve_idstring

CVE identifier

titlestring

CVE title

descriptionstring

CVE description

dataobject

CISA KEV data (dueDate, dateAdded)

scorenumber

EPSS score

scorenumber

CVSS 3.1 base score

vectorstring

CVSS 3.1 vector

weaknesses[]string

CWE identifiers

vendors[]string

Vendor keys and vendor product keys

curl 'https://app.opencve.io/api/v2/cves/CVE-2026-0001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

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

Path parameters

cve_idstringrequired

CVE identifier

Example: CVE-2026-0001

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, maximum 100

Example: 20
Response fields · 5Show

countinteger

Total number of changes

idstring

Change ID (UUID)

cve_idstring

CVE identifier

types[]string

Kinds of field that changed

created_atstring

Time of the change

curl 'https://app.opencve.io/api/v2/cves/CVE-2026-0001/changes' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

Paginated list of vendors in the catalog.

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, 1 to 100

Example: 20
Response fields · 3Show

countinteger

Total number of vendors

namestring

Vendor name

created_atstring

Creation time

curl 'https://app.opencve.io/api/v2/vendors' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

Paginated CVEs that affect the vendor.

Path parameters

vendor_namestringrequired

Vendor name

Example: examplevendor

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, maximum 100

Example: 20
Response fields · 3Show

countinteger

Total number of CVEs

cve_idstring

CVE identifier

titlestring

CVE title

curl 'https://app.opencve.io/api/v2/vendors/examplevendor/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

Paginated list of products for one vendor.

Path parameters

vendor_namestringrequired

Vendor name

Example: examplevendor

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, maximum 100

Example: 20
Response fields · 2Show

countinteger

Total number of products

namestring

Product name

curl 'https://app.opencve.io/api/v2/vendors/examplevendor/products' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

Paginated CVEs that affect one product of a vendor.

Path parameters

vendor_namestringrequired

Vendor name

Example: examplevendor
product_namestringrequired

Product name

Example: exampleproduct

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, maximum 100

Example: 20
Response fields · 3Show

countinteger

Total number of CVEs

cve_idstring

CVE identifier

titlestring

CVE title

curl 'https://app.opencve.io/api/v2/vendors/examplevendor/products/exampleproduct/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • Passive: the target is not contacted

Returns the CWE id, name and description.

Path parameters

cwe_idstringrequired

CWE identifier

Example: CWE-521
Response fields · 3Show

cwe_idstring

CWE identifier

namestring

Weakness name

descriptionstring

Weakness description

curl 'https://app.opencve.io/api/v2/weaknesses/CWE-521' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

Paginated CVEs tagged with the CWE.

Path parameters

cwe_idstringrequired

CWE identifier

Example: CWE-521

Query parameters

pageinteger

Page number

Example: 1
page_sizeinteger

Results per page, maximum 100

Example: 20
Response fields · 2Show

countinteger

Total number of CVEs

cve_idstring

CVE identifier

curl 'https://app.opencve.io/api/v2/weaknesses/CWE-521/cves' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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."
    }
  ]
}