Subdomains
subdomainsDiscover a domain's public child hostnames from Certificate Transparency logs to map attack surface or infrastructure. Returns an error if sources fail, not an empty list.
Instructions
Discover a domain's public subdomains (app., api., staging., and so on) from Certificate Transparency logs, querying crt.sh and Cert Spotter in parallel and returning whichever answers first. Useful for mapping a company's public attack surface or infrastructure. If both sources are down the call returns an error rather than an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Registrable domain, e.g. stripe.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| domain | No | ||
| source | No | ||
| available | No | ||
| truncated | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. | |
| subdomains | No | ||
| _datakoot_note | No | ||
| free_tier_note | No |