apyhub
Back
▣ VERIFICATION KIT

Bulk Domain WHOIS, DNS & SSL Lookup API

What it does

Domain WHOIS Lookup checks one or more domains and returns registration and availability-related metadata in a single response. Send an array of domain names in domains, and the API responds with count plus an items array for each lookup.

Use includeDns when you need DNS resolution data alongside the lookup. It adds A, AAAA, MX, NS, TXT, and CAA records, plus parsed SPF and DMARC policy details for each domain. Use includeSsl to inspect HTTPS endpoints: the service connects to port 443 and returns TLS certificate issuer information, the valid-from and valid-until dates, days left, and SANs. If you also set includeRedirects, it follows HTTP redirects from http://domain and reports the redirect chain and final URL with status code.

This is useful when you need to verify a domain before onboarding a customer, enrich a lead with technical domain data, or audit domains at scale for DNS and certificate issues. URLs are accepted too, but the registered domain is used, and subdomains are ignored so you get consistent results for the same site.

The response is intentionally simple: a total count and a list of lookup items. That makes it easy to batch domains, store the results, or feed them into validation and monitoring workflows.

POST
Domain WHOIS Lookup API - RDAP, DNS Records, SSL Expiry
https://api.eu.apyhub.com/martin10291/bulk-domain-whois-dns-ssl-lookup

QUICKSTART

GUIDE

Quickstart

Look up DNS and WHOIS data for a few domains in one JSON request.

curl -X POST "https://api.eu.apyhub.com/martin10291/bulk-domain-whois-dns-ssl-lookup" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": ["apify.com", "github.com", "wikipedia.org"],
    "includeDns": true,
    "includeSsl": true,
    "includeRedirects": true
  }'

What you'll get back

Returns a JSON object with a count integer and an items array of objects.

{
  "count": 3,
  "items": [
    {}
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body
domains
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.
Add A, AAAA, MX, NS, TXT, CAA records plus parsed SPF and DMARC policy for each domain.
Connect to port 443 and add the TLS certificate issuer, valid-from and valid-until dates, days left and subject alternative names (SANs).

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

ParameterTypeMandatoryDescription
domainsString ArrayYesDomain 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.
includeDnsBooleanNoAdd A, AAAA, MX, NS, TXT, CAA records plus parsed SPF and DMARC policy for each domain.
includeSslBooleanNoConnect to port 443 and add the TLS certificate issuer, valid-from and valid-until dates, days left, and subject alternative names (SANs).
includeRedirectsBooleanNoFollow 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.

ParameterTypeMandatoryDescription
countIntegerYesNumber of result items returned.
itemsObject ArrayYesArray of result objects for the looked-up domains. The schema does not define the item object fields.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.