# Domain Availability & WHOIS Lookup API

> Domain availability in bulk or across extensions, and WHOIS/RDAP: registrar, dates, expiry.

Check **one domain**, **50 at once**, or a **brand name across extensions**, and get the **WHOIS record** of registered domains, straight from the registries: **RDAP** (structured JSON) where available, classic **WHOIS** otherwise.

- Host: `domain-availability-whois-lookup-rdap.p.rapidapi.com`
- Base URL: `https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/domain/openapi.json

## Endpoints

### Availability

Is a domain free? One, up to 50, or one name across extensions.

#### Check Domain Availability

`GET /v1/domain/availability`

Is a domain available?. available / registered / unknown, straight from the registry. 1 credit (an `unknown` answer is free).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `domain` | query | `string` | yes | Domain name (or any URL of it). | `openai.com` |

```bash
curl -G "https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain/availability" \
  --data-urlencode "domain=openai.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: domain-availability-whois-lookup-rdap.p.rapidapi.com"
```

#### Check Bulk Availability

`POST /v1/domain/availability/bulk`

Availability of up to 50 domains. Checks up to 50 domains in parallel. 1 credit per domain (`unknown` answers are free).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `domains` | body | `string[]` | yes |  | `["helenis.ai", "helenis.io"]` |

```bash
curl -X POST "https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain/availability/bulk" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: domain-availability-whois-lookup-rdap.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": [
      "helenis.ai",
      "helenis.io"
    ]
  }'
```

#### Check Name Across TLDs

`GET /v1/domain/check`

Check a name across TLDs (.com, .io, .ai...). Availability of `name` on each extension, in parallel: the quickest way to find a free brand name. 1 credit per extension (`unknown` answers are free).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `name` | query | `string` | yes | Name without extension. | `helenis` |
| `tlds` | query | `string` | no | Comma-separated extensions. Default: com, net, org, io, ai, co, app, dev, fr, de, uk, eu. | `com,io,ai` |

```bash
curl -G "https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain/check" \
  --data-urlencode "name=helenis" \
  --data-urlencode "tlds=com,io,ai" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: domain-availability-whois-lookup-rdap.p.rapidapi.com"
```

### WHOIS

Registration record of a domain, from RDAP.

#### Get WHOIS Record

`GET /v1/domain/whois`

WHOIS / RDAP record of a domain. Look up who registered a domain and when it expires: registrar, dates, age and days left, statuses, name servers, DNSSEC, registrant organisation and country (never a person) and abuse email. RDAP first, WHOIS as fallback. 1 credit (an `unknown` answer is free).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `domain` | query | `string` | yes | Domain name (or any URL of it). | `openai.com` |

```bash
curl -G "https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain/whois" \
  --data-urlencode "domain=openai.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: domain-availability-whois-lookup-rdap.p.rapidapi.com"
```

## Sample call

Get WHOIS Record: `GET /v1/domain/whois`.

```bash
curl -G "https://domain-availability-whois-lookup-rdap.p.rapidapi.com/v1/domain/whois" \
  --data-urlencode "domain=openai.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: domain-availability-whois-lookup-rdap.p.rapidapi.com"
```

## Responses

**`/whois`**

```json
{
  "domain": "openai.com",
  "status": "registered",
  "registered": true,
  "source": "rdap",
  "registrar": "MarkMonitor Inc.",
  "registrar_iana_id": "292",
  "created": "2007-01-19T19:28:24Z",
  "expires": "2029-01-19T19:28:24Z",
  "age_days": 7244,
  "days_until_expiry": 1157,
  "statuses": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
  "nameservers": ["ns1-02.azure-dns.com", "ns2-02.azure-dns.net"],
  "dnssec": false,
  "abuse_email": "abusecomplaints@markmonitor.com"
}
```

**`/check`**

```json
{
  "name": "mybrand",
  "results": [
    { "domain": "mybrand.com", "status": "registered", "available": false, "source": "rdap" },
    { "domain": "mybrand.io", "status": "available", "available": true, "source": "whois" }
  ]
}
```

*Real values, shortened.*

## How it works

The registry for each extension is found in IANA's RDAP bootstrap. RDAP answers 404 for unregistered domains and a JSON record for registered ones. Extensions without RDAP (.io, .de, .co...), and registries whose RDAP limits automated lookups (.xyz, .uk...), are queried over WHOIS, and their "not found" answers are recognised. When neither answers, a DNS delegation still proves a domain is taken (`"source": "dns"`). `unknown` means the registry did not answer clearly: retry later. **An `unknown` answer is never billed.**

## Privacy

Registrant names, emails, phone numbers and street addresses are never returned, even when a registry publishes them. `registrant_organization` is only given when it is clearly a legal entity (company, association, university...).

## Errors

| Status | `code` | Meaning |
|---|---|---|
| 400 | `invalid_domain`, `invalid_request` | Not a domain (or a public suffix such as `co.uk`), or too many extensions. |
| 429 | `daily_limit_reached` | Daily safety limit of your plan; resets at 00:00 UTC. |
| 503 | `registry_error` | WHOIS only: the registry did not answer clearly. Retry. Not billed. |

## Pricing

1 credit per domain checked. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $3.99/month | 60,000 / month | $0.0007 per credit |
| ULTRA | $9.99/month | 300,000 / month | $0.0007 per credit |
| MEGA | $29.99/month | 1,400,000 / month | $0.0007 per credit |

Apify actor **Domain Availability Checker & WHOIS Lookup**: billed per event; free-plan users get 50 domains per run.

| Event | Charged for | Price |
|---|---|---|
| `availability-check` | each domain checked | $0.0005 |
| `whois-record` | each WHOIS record | $0.0015 |

## Links

- API reference (HTML): https://helenis-api.com/docs/domain
- OpenAPI: https://helenis-api.com/docs/domain/openapi.json
- Overview and pricing: https://helenis-api.com/apis/domain/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-data/api/domain-availability-whois-lookup-rdap?utm_source=helenis&utm_medium=site&utm_campaign=domain&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/domain-availability-checker-whois-lookup?utm_source=helenis&utm_medium=site&utm_campaign=domain&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/domain-availability-checker-whois-lookup

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
