WHOIS Lookup API Documentation
Complete reference for the WHOIS Lookup API
Authentication
Authorization: Bearer sk_live_your_key_here
Query: ?api_key=sk_live_your_key_here
GET POST /v1/whois/lookup
Parameters
| Field | Type | Description |
|---|---|---|
domain | string | Domain name to look up (e.g. example.com) |
Response Fields
| Field | Description |
|---|---|
domain | Queried domain |
registrar | Registrar name |
creation_date | Domain creation date |
expiration_date | Domain expiry date |
days_until_expiry | Days remaining until expiration |
name_servers | Array of authoritative name servers |
status | Array of EPP status codes |
is_registered | Whether the domain is registered |
raw | Raw WHOIS text |
Example
curl "https://snapapis.com/api/v1/whois/lookup?api_key=YOUR_KEY&domain=github.com"