CVE Search
  • CVE Search API
  • 🐦Twitter
  • 📧Email
  • ☕Support
  • ✅Status Page
Powered by GitBook
On this page
  • Queries
  • API Details
  • API Keys
  • Example
  • Community Support

Was this helpful?

CVE Search API

A Fast and Reliable service that enables you to lookup vulnerabilities by CVE ID or by keyword and enrich response with AlienVault OTX Threat Intelligence data.

Last updated 1 year ago

Was this helpful?

Queries

Type

Query Example

Type

CVE ID

CVE-1999-0001

String

keyword

prisma

String

Keyword and Year

aws&year=2020

String

API Details

Type

URL

Landing

https://api.cvesearch.com

CVE ID

https://api.cvesearch.com/search?q=cve-1999-0001

Keyword

https://api.cvesearch.com/search?q=prisma

Keyword & Year

https://api.cvesearch.com/search?q=aws&year=2020

API Keys

We've enabled API Keys on our service. Below is a demo API key for testing our service!

to get your custom key

Demo API Key
IpKH1FJ7lw5Canu8cvA5T2AGsLdivGjt2PDm09Uz

Example

curl --header 'X-Api-Key: API_KEY' --location --request GET 'api.cvesearch.com/search?q=CVE-2019-0708'
import requests

url = "https://api.cvesearch.com/search?q=CVE-2019-0708"

payload={}
headers = {
  'X-Api-Key': 'API_KEY'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
var myHeaders = new Headers();
myHeaders.append("X-Api-Key", "API_KEY");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("api.cvesearch.com/search?q=CVE-2019-0708", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "api.cvesearch.com/search?q=CVE-2019-0708"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Api-Key", "API_KEY")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}

Community Support

Consider the service to keep it free and available to the community

🔐
Contact us
☕
supporting