Logo
Logo

PRODUCTS

TOOLS

pricing background

Node JsAPI Integration

api

live

1fetch("https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=live&domainName=google.com", {
2  method: "GET",
3})
4  .then(res => res.text())
5  .then(console.log)
6  .catch(console.error);

Historical

1fetch("https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=historical&domainName=google.com", {
2  method: "GET",
3})
4  .then(res => res.text())
5  .then(console.log)
6  .catch(console.error);

Reverse

1fetch("https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=reverse&keyword=youtube", {
2  method: "GET",
3})
4  .then(res => res.text())
5  .then(console.log)
6  .catch(console.error);

Bulk Whois

1fetch("https://api.whoisfreaks.com/v1.0/bulkwhois?apiKey=API_KEY", {
2  method: "GET",
3  headers: {
4    "Content-Type": "application/json",
5  },
6  body: JSON.stringify({"domainNames": ["amazon.ch","google.com","whoisfreaks.com","nic.dev","news.si"]}),
7})
8  .then(res => res.text())
9  .then(console.log)
10  .catch(console.error);