Securitytrails
Search Internet Assets Accurately & Instantly.
Examples
API
Read the docs https://docs.securitytrails.com/
Gather subdomains
curl --request GET \
--url 'https://api.securitytrails.com/v1/domain/<DOMAIN-HERE>/subdomains?children_only=false' \
--header 'APIKEY: <KEY-HERE>' \
--header 'Accept: application/json'
Extract Subdomains using jq
This requires jq to be installed.
jq '.subdomains[]' securitytrails.json