Technical information on how to use the Whois API

Each Whois asks for is overhauled continuously and includes at least one questions to Whois servers toward the back. The reaction you get from the Whois API administration will incorporate outcomes from these questions, each in a Query Result. The outcomes are sent to you in turn around sequential request: the last, most-particular outcome will seem first in the reaction. Prior outcomes are settled inside later outcomes.

There’s an external Service Result, and the Error Code instantly under it relates to our administration. There will be different Error Codes inside Query Results that relate to the back-end Whois inquiries made by the administration.

Whois API benefit

Information MODEL

The Whois API benefit acknowledges the accompanying contentions:

Information required

  • An area name or IP deliver string for which to complete an inquiry.
  • A space name can be an internationalized area name (IDN) with Unicode characters or ASCII-perfect (Punycode) encoding. Cases: or example.xn- – 80akhbyknj4f
  • Spaces will be thought to be completely qualified and don’t need to end with a ., however they may. Illustrations: or
  • The API will decide the longest segment of a space that has really been enrolled and will make back-end Whois API inquiries for simply that part. For instance, given as info, the administration will really issue questions for
  • An IP address can be an IPv4 or IPv6 address printed portrayal. IPv4 locations ought to be in the regular dabbed quad frame ( IPv6 delivers should comply with the literary portrayals depicted in RFC 3513.
  • Parsing occurs in a few phases, so there might be valuable parsed information in the outcome regardless of whether part of the parsing comes up short, yielding a ParseFailed mistake. It’s imperative to really search for the fields you need in the reaction as opposed to just depending on the estimation of Error Code.
  • Parsed fields show up in the reaction is generally an indistinguishable request form they show up in the crude Whois record.

Reactions from the API dependably incorporate the crude reaction content of fruitful Whois inquiries, regardless of whether the framework can’t parse that content.

The Whois API takes an area name or IP address as information, decides the privilege Whois server or servers to the inquiry, sends inquiries to those servers by means of an extensive pool of IP addresses, parses the outcomes, and returns the outcomes to you progressively in either XML or JSON arrange.

Regardless of whether you utilize plain HTTP or HTTPS for your inquiries is dependent upon you. Utilizing a session key from the verification administration will abstain from sending your secret key free, however, HTTP will, in any case, leave your question action presented to spies and risk session commandeering. HTTP may offer marginally preferable execution over HTTPS, be that as it may.