GET
/
v1
/
template
/
stats
curl --request GET \
  --url https://api.projectdiscovery.io/v1/template/stats \
  --header 'X-API-Key: <api-key>'
{
  "date": "<string>",
  "statistics": {
    "authors": {},
    "classification": {
      "total": 123,
      "cvss-metrics": 123,
      "cvss-score": 123,
      "cve-id": 123,
      "cwe-id": 123
    },
    "description": 123,
    "directory": {
      "total": 123
    },
    "name": 123,
    "references": 123,
    "remediation": 123,
    "severity": {
      "total": 123,
      "critical": 123,
      "high": 123,
      "medium": 123,
      "low": 123,
      "info": 123,
      "unknown": 123
    },
    "tags": {},
    "total": 123,
    "type": {
      "total": 123,
      "http": 123,
      "dns": 123,
      "network": 123,
      "file": 123,
      "ssl": 123,
      "websocket": 123,
      "workflow": 123,
      "headless": 123
    }
  },
  "template-version": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

from
integer

define result number to return from

size
integer

define number of results to return

q
string

query string to match against all response value

fq
string

define specific field to query

fl
string

define specific field to return

sort_by
string

sort response value based on given key

sort_dir
string

sort direction for given key

Response

200
application/json
OK
date
string
statistics
object
template-version
string