pricing background

Node Js API Integration

api

live

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

Historical

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

Reverse

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

Bulk Whois

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