# WHOIS Lookup โ€” Zapi reference > WHOIS / RDAP domain lookup โ€” registrar, registration & expiry dates, nameservers, status, registrant contact. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/dev-tools/whois-lookup - Endpoint catalog: https://zpi.web.id/category/dev-tools - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## WHOIS Lookup **Category:** dev-tools ยท **Slug:** `whois-lookup` **Detail page:** https://zpi.web.id/api/dev-tools/whois-lookup WHOIS / RDAP domain lookup โ€” registrar, registration & expiry dates, nameservers, status, registrant contact. **Tags:** whois, domain, dns, rdap ### Lookup Perform lookup dengan input yang diberikan. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/dev-tools:whois-lookup/lookup` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `domain` | string | query | yes | Domain name (akan di-normalize: strip protocol, www, path) | **cURL:** ```bash curl "https://api.zpi.web.id/v1/dev-tools:whois-lookup/lookup?domain=google.com" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/dev-tools:whois-lookup/lookup?domain=google.com", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/dev-tools:whois-lookup/lookup?domain=google.com", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "domain": "google.com", "source": "whois", "status": [ "client delete prohibited", "client transfer prohibited", "client update prohibited", "server delete prohibited", "server transfer prohibited", "server update prohibited" ], "expiresAt": "2028-09-14T04:00:00Z", "registrar": "MarkMonitor Inc.", "updatedAt": "2019-09-09T15:39:04Z", "nameservers": [ "ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com" ], "registeredAt": "1997-09-15T04:00:00Z" } ``` --- _Generated: 2026-08-02T14:23:45.503Z_