If you know the domain that you want to buy, you can buy it from any Domain registrar like godaddy. For checking the domain history, you can check whois records as well as check in any SEO competitive analysis tool as well like SEMrush, ahrefs, spyfu, majestic, Moz etc. to see various scores...