pricing background

JavaScript API Integration

api

Domain Availability

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

Bulk Domain Availability

fetch("https://api.whoisfreaks.com/v1.0/domain/availability?apiKey=API_KEY", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"domainNames":["jfreaks.pk","whoisfreaks.com"]}),
})
  .then(res => res.text())
  .then(console.log)
  .catch(console.error);