# Vulners API reference

> Vulners is a vulnerability database. The API searches security bulletins and exploits with Lucene queries, looks documents up by ID such as a CVE, maps software names to CPE strings and audits software or web paths against known vulnerabilities. Calls go to https://vulners.com, with paths under…

Source: https://osinttools.io/apis/vulners/ (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/vulners/

- Base URL: https://vulners.com
- Authentication: API key in the `X-Api-Key` header. Get a key: https://vulners.com/ Create the key in your personal API Keys panel.
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.vulners.com/
- OpenAPI spec: https://docs.vulners.com/docs/assets/openapi.yaml
- Python SDK: vulners Python SDK, https://github.com/vulnersCom/api

## Overview

Vulners is a vulnerability database. The API searches security bulletins and exploits with Lucene queries, looks documents up by ID such as a CVE, maps software names to CPE strings and audits software or web paths against known vulnerabilities.

Calls go to `https://vulners.com`, with paths under `/api/v3/` or `/api/v4/`. Send your key in the `X-Api-Key` header; you create it in your API Keys panel. Request bodies are JSON and wire names are camelCase, except `matched_criteria` and `fixed_version` in audit responses.

The docs read here do not state pricing, a free tier or rate limits. The full spec is published as OpenAPI (see the link below); this reference covers the search and audit endpoints only. Archive, collection, notification and reporting endpoints are not described.

## Errors

| Status | Meaning |
| --- | --- |
| 206 | Partial result: an ID has more than 1000 related bulletins (search by ID) |

## Search

### Full-text search of the Vulners database with a Lucene query.

`POST /api/v3/search/lucene`

- Footprint: passive (the target is not contacted)

Returns matching bulletins and exploits. Size is capped server-side, 100 by default. Use `["*"]` in fields to request all fields.

Response fields:

- `data.search[]._id` (string): Document ID
- `data.search[]._score` (number): Relevance score
- `data.search[]._source` (object): The document fields requested
- `data.total` (integer): Total hits
- `data.maxSearchSize` (integer): Maximum page size

```bash
curl -X POST 'https://vulners.com/api/v3/search/lucene' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"Fortinet AND RCE order:published","skip":0,"size":5,"fields":["id","published","title","cvelist"]}'
```

Example response (200):

```json
{
  "data": {
    "search": [
      {
        "_id": "CVE-2099-0001",
        "_score": 12.5,
        "_source": {
          "id": "CVE-2099-0001",
          "title": "Example product remote code execution"
        }
      }
    ],
    "total": 1,
    "maxSearchSize": 100
  }
}
```

### Fetch documents by ID, such as a CVE number.

`POST /api/v3/search/id`

- Footprint: passive (the target is not contacted)

Takes one ID or up to 100 and returns a map of ID to document; related bulletins on request. Returns 206 if any ID has more than 1000 related bulletins.

Response fields:

- `data.documents` (object): Map of ID to bulletin
- `data.references` (object): Related bulletins, only when requested

```bash
curl -X POST 'https://vulners.com/api/v3/search/id' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"id":"CVE-2099-0001","references":true}'
```

Example response (200):

```json
{
  "data": {
    "documents": {
      "CVE-2099-0001": {
        "id": "CVE-2099-0001",
        "title": "Example product remote code execution"
      }
    }
  }
}
```

### Suggest search terms for a partial query.

`POST /api/v3/search/autocomplete`

- Footprint: passive (the target is not contacted)

Returns an array of suggestion strings.

Response fields:

- `data.suggestions[]` (string): Suggested term

```bash
curl -X POST 'https://vulners.com/api/v3/search/autocomplete' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"fortin"}'
```

Example response (200):

```json
{
  "data": {
    "suggestions": [
      "examplevendor",
      "examplevendor rce"
    ]
  }
}
```

## Software and CPE

### Map software names to CPE strings.

`POST /api/v4/search/cpe`

- Footprint: passive (the target is not contacted)

Takes one name or up to 100 and returns the best CPE match and candidates with a confidence.

Response fields:

- `result[].input` (string): The name submitted
- `result[].bestMatch` (string): Best CPE match
- `result[].cpe[]` (string): Candidate CPE strings
- `result[].confidence` (number): Match confidence

```bash
curl -X POST 'https://vulners.com/api/v4/search/cpe' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"software":["examplevendor exampleproduct 1.2"]}'
```

Example response (200):

```json
{
  "result": [
    {
      "input": "examplevendor exampleproduct 1.2",
      "bestMatch": "cpe:2.3:a:examplevendor:exampleproduct:1.2:*:*:*:*:*:*:*",
      "cpe": [
        "cpe:2.3:a:examplevendor:exampleproduct:1.2:*:*:*:*:*:*:*"
      ],
      "confidence": 0.9
    }
  ]
}
```

## Audit

### Audit a batch of software against known vulnerabilities.

`POST /api/v4/audit/software`

- Footprint: passive (the target is not contacted)

Takes 1 to 500 CPE strings or CPE objects and returns, for each input in request order, the vulnerabilities, matched criteria and fixed version.

Response fields:

- `result[].input` (object): The software submitted
- `result[].matched_criteria` (string): Criteria that matched
- `result[].fixed_version` (string): Fixed version, or null
- `result[].vulnerabilities[]` (object): Matching vulnerabilities

```bash
curl -X POST 'https://vulners.com/api/v4/audit/software' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"software":[{"vendor":"examplevendor","product":"exampleproduct","version":"1.2"}],"match":"partial","fields":["title","short_description"]}'
```

Example response (200):

```json
{
  "result": [
    {
      "input": {
        "vendor": "examplevendor",
        "product": "exampleproduct",
        "version": "1.2"
      },
      "matched_criteria": "cpe:2.3:a:examplevendor:exampleproduct:*:*:*:*:*:*:*:*",
      "fixed_version": "1.3",
      "vulnerabilities": [
        {
          "id": "CVE-2099-0001",
          "title": "Example product remote code execution"
        }
      ]
    }
  ]
}
```

---

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/
