1. Get an API key
Use an issued Pirehub API key with the scope required by the endpoint. A key starts withph_live_ and is shown here only as a placeholder:
2. Send a lookup request
Send aPOST request to the WHOIS endpoint. The API accepts a registrable domain,
subdomain, or HTTP(S) URL and normalizes it before lookup.
3. Read the response
domain is the registrable root domain, while query_domain is the normalized
hostname that you submitted. Optional registry fields may be null or absent.
Next steps
Authentication
Learn about headers, scopes, and rate limits.
WHOIS guide
Learn about normalization, cache state, and fresh lookups.
DNS guide
Resolve normalized DNS records through supported resolvers.
Errors
Handle errors and retries safely.