About this endpoint
What it does
Looks up WHOIS/RDAP information for one or more domains and can optionally enrich each result with DNS records, SSL certificate expiry details, and HTTP redirect information. The request body contains the domain list and optional flags controlling which extra data to include.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| domains | String Array | Yes | Domain names to look up, for example apify.com, github.com, wikipedia.org. URLs are accepted too; the host is used. Use the registered domain, not a subdomain. |
| includeDns | Boolean | No | Add A, AAAA, MX, NS, TXT, CAA records plus parsed SPF and DMARC policy for each domain. |
| includeSsl | Boolean | No | Connect to port 443 and add the TLS certificate issuer, valid-from and valid-until dates, days left, and subject alternative names (SANs). |
| includeRedirects | Boolean | No | Follow HTTP redirects from http://domain and report the chain and the final URL with status code. Uses an honest User-Agent and only GET requests. |
Response
Returns a JSON object with a count integer field and an items array field. count indicates how many results are returned, and items contains the per-domain result objects.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| count | Integer | Yes | Number of result items returned. |
| items | Object Array | Yes | Array of result objects for the looked-up domains. The schema does not define the item object fields. |


