Count Subdomains

Count the 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}
Host: dns.projectdiscovery.io 
Authorization: API_KEY 
Connection: close
{"domain":"domain","count":1337}

Example

curl -X GET "https://dns.projectdiscovery.io/dns/uber.com/subdomains" \
     -H "Authorization: API_KEY" \
     -H "Connection: close"
{"domain":"uber.com","count":9948}