Search Domain
Export all subdomains for a domain as CSV/TXT/JSON
Changed onGenerate an on-demand export of all distinct subdomains for the given domain. The export contains a single Subdomain column.
Plan requirement Requires a paid plan with domain_search enabled.
Parameters
- You can provide search either as a query parameter or in the JSON body. If both are provided, the JSON body value takes precedence.
post/search/domain/{domain}/subdomains/export
Request
- Base URLhttps://api.leakradar.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
domainstring required
Parent domain to export subdomains for, e.g. example.com.
Query parameters
searchstring nullable
Optional wildcard filter on subdomain when using query parameters. If also provided in the JSON body, the body value takes precedence.
format'csv' | 'txt' | 'json'
Output format: csv (default), txt, or json.
Request body
Example request
{
"search": "admin"
}Response
Subdomains file (CSV/TXT/JSON) streamed successfully.
Changes
- info
endpoint added
- info