Use archive.org/web/ to discover the previous pages of the domain if available. By looking at the ads and content on those pages you can identify the niche. But this is not always possible...
If you are a starter, I would suggest to take the keywords of domains in consideration. You can also check the backlinks to find out a niche, especially with the ones with somehow combined letters and numbers, but normally such are in tech field..