updated API url and whois path endpoint