Next Whois provides a simple REST API for programmatic WHOIS/RDAP lookups and dynamic OG image generation. All endpoints are publicly accessible and require no authentication.
GET
Query WHOIS/RDAP information for a domain, IP address, ASN, or CIDR range. RDAP and WHOIS are queried in parallel; structured fields prefer RDAP data, falling back to WHOIS. Both raw responses are included.
Parameters
Example Request
Success Response
Error Response
GET
Generate a dynamic Open Graph image with WHOIS details. Internally queries /api/lookup and renders a card-style summary. Returns a PNG image.
Parameters
Example Request
Preview
/api/og?query=google.com
Rate Limiting & Caching
Successful WHOIS lookup responses are cached server-side (Redis) and served withheaders.
Cached responses includein the JSON body and report.
Next Whois v1.6 · GitHub