template/v2
Search Templates
Changed onSearch templates with filtering, sorting, and faceting capabilities
get/v2/template/search
Request
- Base URLhttps://api.projectdiscovery.io
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
scope'public' | 'private' | 'public_private'
Scope of templates to search (public or private)
limitinteger
Maximum number of results to return
offsetinteger
Number of results to skip for pagination
fieldsstring
Specific fields to return in the response
sort_ascstring
Field to sort results in ascending order
sort_descstring
Field to sort results in descending order
qstring
Search query string
highlightboolean
Whether to highlight search matches in results
facet_sizeinteger
Number of facets to return in the response
Headers
X-Team-Idstring
Response
Successful search response
Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning
- info
endpoint added
- info