# Domain Availability — Zapi reference > Check domain registration availability via RDAP protocol. **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/web-tools/rdap - Endpoint catalog: https://zpi.web.id/category/web-tools - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Domain Availability **Category:** web-tools · **Slug:** `rdap` **Detail page:** https://zpi.web.id/api/web-tools/rdap Check domain registration availability via RDAP protocol. **Tags:** utility, domain, rdap, availability ### Check Availability Check if a domain is registered or available. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/web-tools:rdap/availability` - **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/web-tools:rdap/availability?domain=google.com" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/web-tools:rdap/availability?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/web-tools:rdap/availability?domain=google.com", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "ok": true, "domain": "google.com", "expires": "2028-09-14T04:00:00Z", "available": false, "registrar": "MarkMonitor Inc.", "registered": "1997-09-15T04:00:00Z" } ``` --- _Generated: 2026-08-02T14:22:08.110Z_