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
domainstringDomain name to look up (e.g. example.com)

Response Fields

Field Description
domainQueried domain
registrarRegistrar name
creation_dateDomain creation date
expiration_dateDomain expiry date
days_until_expiryDays remaining until expiration
name_serversArray of authoritative name servers
statusArray of EPP status codes
is_registeredWhether the domain is registered
rawRaw WHOIS text

Example

curl "https://snapapis.com/api/v1/whois/lookup?api_key=YOUR_KEY&domain=github.com"