The very best way to ensure success is to find a derivative of something that is working. I'm basically doing what Wirecutter does, but for HR software. You can make a product like a CRM, but specifically built for sporting goods distributors, or a sock that is built for crossfit athletes.
For me, this is why I love reading about how people are building businesses. It's not necessarily about seeking out advice, it's more about looking for inspiration and looking for ideas that I can potentially take back to my business.
I've been indie hacking a while, going back 15 years or so now. Back in the my older days, I use to follow the stories shared by Mixergy and Pat Flynn. These days it's Indie Hackers (obviously!) and Twitter.
I definitely feel it helped me build up Ministry of Testing as I was constantly seeking inspiration from modern ways of building a business, whereas every other competitor was stuck in the past. I honestly feel this helped me stand out, I guess this became my 'moat'.
I often felt like I wasn't really doing anything special, but in reality I was innovating for the software testing industry. There wasn't any need to compare my niche to what others were doing.
Learn how others are doing things, but don't treat it as advice, use the knowledge you acquire to determine the possibilities of what you could or could not do.