VulDB API

Security / API Key Intermediate HTTPS
68 C
Measured Score 0 50 100 Speed 8/30 Consistency 17/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

VulDB is a vulnerability database API that lets you query detailed information about security vulnerabilities, CVEs, and threat intelligence data. You can retrieve vulnerability entries by ID, search across their database, and even set up automated bots for continuous monitoring. It is a great resource for security researchers and developers building threat-tracking tools.

Beginner Tip

Start with a simple GET request using your API key to fetch a specific CVE entry by its VulDB ID. Keep in mind that the free tier has strict rate limits, so cache responses locally to avoid hitting the quota quickly.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://vuldb.com/?api
Result
HTTP 200 · application/json · 379 bytes · compressed
Response time
436 ms (median of 3) · fastest 402 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
version string 3.87
format string json
status string 401
lang string en
error string API key wrong format (missing)
querylimitmax integer 0
timestamp string 1786391617
rtt integer 0
etag string 4a5d-0de5-dcca

Captured Response

Captured from a real request to https://vuldb.com/?api on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "response": {
    "version": "3.87",
    "format": "json",
    "status": "401",
    "lang": "en",
    "error": "API key wrong format (missing)",
    "querylimitmax": 0,
    "timestamp": "1786391617",
    "rtt": 0,
    "etag": "4a5d-0de5-dcca"
  },
  "request": {
    "timestamp": "1786391617",
    "apikey": "missing"
  }
}

Implementation Example

Request skeleton. The URL below is this API's documentation page, not a live endpoint — swap in the path you need from the provider's docs before running it.

Request
const url = "https://vuldb.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

HTTP 403 Sending an invalid value for "api" text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

401 Unauthorized Missing or invalid API key in the request header
Add the X-VulDB-ApiKey header with your valid API key obtained from your VulDB account
429 Too Many Requests You have exceeded the rate limit for your subscription tier
Slow down your request frequency and cache results locally; upgrade your plan if you need higher limits
Empty results array The CVE ID or search query did not match any entries in the database
Double-check the CVE ID format (e.g., CVE-2023-12345) and confirm it exists in VulDB before querying

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 8/30
Consistency 17/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 436ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Security
Difficulty Intermediate
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →