Fetch Subdomains
Fetch subdomains for a given domain using the Chaos API.
Path Parameters
Parameters that are part of the URL path.
domainstringrequired
Domain for which you want to fetch subdomains.
Header Parameters
Parameters that are part of the request header.
Authorizationstringrequired
API Key for authentication. Need a chaos key? View instructions
Structure
GET /dns/{domain}/subdomains
Host: dns.projectdiscovery.io
Authorization: API_KEY
Connection: close
{"domain":"domain","subdomains":[...],"count":1337}
Example
curl -X GET "https://dns.projectdiscovery.io/dns/uber.com/subdomains" \
-H "Authorization: API_KEY" \
-H "Connection: close"
{"domain":"uber.com","subdomains":["*","*.cfe","1.dev",...],"count":9948}