1fetch("https://api.whoisfreaks.com/v2.0/dns/live?apiKey=API_KEY&domainName=whoisfreaks.com&ipAddress=8.8.8.8&type=all", {
2 method: "GET",
3})
4 .then(res => res.text())
5 .then(console.log)
6 .catch(console.error);1fetch("https://api.whoisfreaks.com/v2.0/dns/historical?apiKey=API_KEY&domainName=whoisfreaks.com&type=all&page=1", {
2 method: "GET",
3})
4 .then(res => res.text())
5 .then(console.log)
6 .catch(console.error);1fetch("https://api.whoisfreaks.com/v2.1/dns/reverse?apiKey=API_KEY&format=json&value=8.8.8.8&type=a", {
2 method: "GET",
3})
4 .then(res => res.text())
5 .then(console.log)
6 .catch(console.error);1fetch("https://api.whoisfreaks.com/v2.0/dns/bulk/live?apiKey=API_KEY&type=all&format=json", {
2 method: "GET",
3 headers: {
4 "Content-Type": "application/json",
5 },
6 body: JSON.stringify({"domainNames": ["whoisfreaks.com","jfreaks.com"],"ipAddresses": ["1.1.1.1","8.8.8.8"]}),
7})
8 .then(res => res.text())
9 .then(console.log)
10 .catch(console.error);