Registration Data Access Protocol (RDAP) is the IETF defined replacement for the old WHOIS protocol. Unfortunately there is limited adoption. As of Q1 2018, the bootstrap index for domain lookups very sparsely populated.
$ go get github.com/registrobr/rdap-client
$ go install github.com/registrobr/rdap-client
$ rdap-client -o raw tfb.net | jq '.events[]'
{
"eventAction": "registration",
"eventDate": "1997-03-06T00:00:00Z"
}
{
"eventAction": "last changed",
"eventDate": "2015-08-08T04:38:14Z"
}
{
"eventAction": "expiration",
"eventDate": "2024-03-07T00:00:00Z"
}