Loading
Loading
Retrieve accurate and well-structured WHOIS domain lookup information for all top-level domains (TLDs) and their respective second-level domains (SLDs) as listed by ICANN. Get real-time registration and ownership details directly from WHOIS servers.
https://api.apifreaks.com/v2.0/domain/whois/liveThe Domain WHOIS Lookup API provides comprehensive domain intelligence including registration dates, registrar information, nameservers, domain status, and raw WHOIS data. Perfect for phishing detection, brand protection, and competitive analysis.
Send your API key with every request. Pass it in the X-apiKey header or in the apiKey query parameter.
X-apiKey: YOUR_API_KEY to the request. Prefer this one, because query strings are often logged.apiKey=YOUR_API_KEY to the URL. Handy for a quick test in the browser.A request without a key returns 400, and an invalid key returns 401.
This page documents version 2.0 of the API. The version is part of the endpoint path, for example /v2.0/.
The following parameters can be used in your API requests. All parameters are passed as query string parameters.
formatoptionalStringdefault: jsonjson or xml.domainNamerequiredStringDomain name or URL whose WHOIS required.
A successful request returns a 200 OK response with a JSON object containing the WHOIS data. The response includes the top-level fields listed below. See the response preview for the full JSON structure.
statusBooleanmandatoryDetermines whether the request was successfully processed or not.
domain_nameStringmandatoryDomain name which was queried.
query_timeStringmandatoryThe timestamp when the query was made. (format YYYY-MM-DD HH:mm:ss)
whois_serverStringmandatoryThe WHOIS server that provided the domain information.
domain_registeredStringmandatoryDetermines whether the requested domain is registered/not registered or is restricted. Possible values:
yesDomain is registerednoDomain is not registeredrestrictedDomain is restricted by the registry or registrar and cannot be registeredcreate_dateStringoptionalDate when the domain was initially registered (format: YYYY-MM-DD)
update_dateStringoptionalThe date (format: YYYY-MM-DD) of the most recent update to the domain registration.
expiry_dateStringoptionalThe date ( format YYYY-MM-DD) when the domain registration will expire if not renewed.
name_serversArrayoptionalName servers of the domain.
domain_statusArrayoptionalStatus of the domain.
whois_raw_domainStringoptionalRaw WHOIS data for the domain.
iana_idStringoptionalThe IANA (Internet Assigned Numbers Authority) ID of the registrar managing the domain.
statusStringoptionalRegistrar status (e.g., active).
registrar_nameStringoptionalThe name of the registrar managing the domain.
normalized_nameStringoptionalNormalized registrar name.
whois_serverStringoptionalThe WHOIS server of the registrar.
rdap_serverStringoptionalRDAP server URL.
website_urlStringoptionalThe website URL of the registrar.
email_addressStringoptionalThe email address of the registrar contact.
phone_numberStringoptionalThe phone number of the registrar contact.
nameStringoptionalName of the reseller.
email_addressStringoptionalEmail address of the reseller.
phoneStringoptionalPhone number of the reseller.
idStringoptionalContact ID.
nameStringoptionalName of the person.
companyStringoptionalName of the company.
streetStringoptionalStreet name.
cityStringoptionalCity of the responsible person.
stateStringoptionalState of the responsible person.
zip_codeStringoptionalZip code of the responsible person.
country_nameStringoptionalCountry name of the responsible person.
country_codeStringoptionalCountry code of the responsible person.
email_addressStringoptionalEmail address of the responsible person.
phoneStringoptionalPhone number of the responsible person.
faxStringoptionalFax of the responsible person.
mailing_addressStringoptionalMailing address of the responsible person.
idStringoptionalContact ID.
nameStringoptionalName of the person.
companyStringoptionalName of the company.
streetStringoptionalStreet name.
cityStringoptionalCity of the responsible person.
stateStringoptionalState of the responsible person.
zip_codeStringoptionalZip code of the responsible person.
country_nameStringoptionalCountry name of the responsible person.
country_codeStringoptionalCountry code of the responsible person.
email_addressStringoptionalEmail address of the responsible person.
phoneStringoptionalPhone number of the responsible person.
faxStringoptionalFax of the responsible person.
mailing_addressStringoptionalMailing address of the responsible person.
idStringoptionalContact ID.
nameStringoptionalName of the person.
companyStringoptionalName of the company.
streetStringoptionalStreet name.
cityStringoptionalCity of the responsible person.
stateStringoptionalState of the responsible person.
zip_codeStringoptionalZip code of the responsible person.
country_nameStringoptionalCountry name of the responsible person.
country_codeStringoptionalCountry code of the responsible person.
email_addressStringoptionalEmail address of the responsible person.
phoneStringoptionalPhone number of the responsible person.
faxStringoptionalFax of the responsible person.
mailing_addressStringoptionalMailing address of the responsible person.
idStringoptionalContact ID.
nameStringoptionalName of the person.
companyStringoptionalName of the company.
streetStringoptionalStreet name.
cityStringoptionalCity of the responsible person.
stateStringoptionalState of the responsible person.
zip_codeStringoptionalZip code of the responsible person.
country_nameStringoptionalCountry name of the responsible person.
country_codeStringoptionalCountry code of the responsible person.
email_addressStringoptionalEmail address of the responsible person.
phoneStringoptionalPhone number of the responsible person.
faxStringoptionalFax of the responsible person.
mailing_addressStringoptionalMailing address of the responsible person.
domain_nameStringmandatoryName of the domain.
query_timeStringmandatoryThe timestamp when the query was made (format: YYYY-MM-DD HH:mm:ss).
whois_serverStringmandatoryThe WHOIS server that provided the domain information.
domain_registeredStringmandatoryDetermines whether the requested domain is registered/not registered or is restricted. Possible values:
yesDomain is registerednoDomain is not registeredrestrictedDomain is restricted by the registry or registrar and cannot be registeredcreate_dateStringmandatoryDate when the domain was initially registered (format: YYYY-MM-DD).
update_dateStringmandatoryThe date (format: YYYY-MM-DD) of the most recent update to the domain registration.
expiry_dateStringmandatoryThe date (format: YYYY-MM-DD) when the domain registration will expire if not renewed.
name_serversArraymandatoryName servers of the domain.
domain_statusArraymandatoryStatus of the domain.
whois_raw_registeryStringoptionalRaw WHOIS data from the registry.
iana_idStringoptionalThe IANA ID of the registrar managing the domain.
registrar_nameStringoptionalThe name of the registrar managing the domain.
whois_serverStringoptionalThe WHOIS server of the registrar.
website_urlStringoptionalThe website URL of the registrar.
email_addressStringoptionalThe email address of the registrar contact.
phone_numberStringoptionalThe phone number of the registrar contact.
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes. Only successful (2xx) requests are charged. Errors cost nothing.
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error
Unknown error