Bowmark AIdocs

Namecheap

Domain registrar: name search/pricing, WHOIS, transfer eligibility, hosting and SSL plans.

Domain registrar: name search/pricing, WHOIS, transfer eligibility, hosting and SSL plans. WHOIS is callable now — registrar, registration/expiry/last-changed dates, nameservers, EPP status and registrant/admin/technical contacts where not privacy-redacted, for ANY domain (not just ones registered through Namecheap), via the public RDAP protocol every registry and registrar runs. The other four functions are still stubs behind namecheap.com's own Cloudflare challenge.

Domain: namecheap.com

Also known as: Namecheap, NameCheap

Call it directly

bowmark.providers.namecheap.getWhois({ domain }): Promise<namecheapWhoisRecord>

Functions

FunctionWhat it does
getWhoisReads the WHOIS record for a domain — registrar, creation/expiry/updated dates, nameservers, EPP status and registrant/administrative/technical contact fields where not privacy-redacted —…

Types

interface namecheapRow {
  id: string;
}

interface namecheapRegistrar {
  name: string | null;
  ianaId: string | null;
  url: string | null;
  abuseEmail: string | null;
  abusePhone: string | null;
}

interface namecheapWhoisContact {
  name: string | null;
  organization: string | null;
  email: string | null;
  phone: string | null;
  address: string | null;
}

interface namecheapWhoisRecord {
  domain: string;
  /** False means nobody holds this exact name; every other field is then
   * null/empty. */
  registered: boolean;
  registrar: namecheapRegistrar | null;
  registrant: namecheapWhoisContact | null;
  administrative: namecheapWhoisContact | null;
  technical: namecheapWhoisContact | null;
  registeredAt: string | null;
  expiresAt: string | null;
  lastChangedAt: string | null;
  nameservers: string[];
  /** EPP status codes verbatim, e.g. "client transfer prohibited". */
  status: string[];
  source: "registry" | "registrar";
}