RDAP ( RFC 7480 - 7484) will replace the old WHOIS protocol this August for some gTLD/nTLD registries.
I found the tools from https://openrdp.org useful:
https://github.com/openrdap/rdap
Working here on xBSD, macOS and Linux. Probably also work on Windows (haven't tested)