You can't buy a .onion domain from a registrar, and no DNS server on the internet knows how to answer for one. The suffix tells Tor that the name in front of it is really a public key, and that the connection should be built entirely inside the Tor network. The IETF formally reserved .onion as a special-use domain in RFC 7686 in 2015, which mostly means ordinary resolvers are supposed to refuse these lookups instead of leaking them.
Today every working .onion name is a v3 address: 56 characters of base32 followed by the suffix. The older 16-character v2 names stopped working in 2021. Because the name is derived from the service's key, nobody can hijack it by tricking a registrar, but it also means the addresses are unreadable, and that's exactly what phishers exploit.
If you type a .onion address into a normal browser, nothing happens, or worse, your DNS resolver logs the attempt. Use Tor Browser or another Tor-aware client. For a breakdown of what's encoded in those 56 characters, see the article on v3 onion addresses.