GET
/
v1
/
template
/
stats
Get Public Template Stats
curl --request GET \
  --url https://api.projectdiscovery.io/v1/template/stats \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "facets": {
    "is_new": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "creation_stats": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "author": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "is_early": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "dir": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "product": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "severity": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "tags": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "type": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    },
    "vendor": {
      "buckets": {},
      "missing": 123,
      "other": 123,
      "total": 123
    }
  }
}

Authorizations

X-API-Key
string
header
required

Query Parameters

limit
integer

Limit The numbers of items to return

offset
integer

Offset The numbers of items to skip

fields
string
sort_asc
string

SortAsc Sort results in ascending order (CSV field names)

sort_desc
string

SortDesc Sort results in descending order (CSV field names)

q
string
highlight
boolean

Highlight Whether to highlight the search results

Response

200
application/json

OK

The response is of type object.