I'd go for a scraper or end-to-end-testing tool, validating whether URLs produce healthy responses in general or lead to specific sites/endpoints. Your site's sitemap.xml could be the jump-off point since contains all the pages that might contain links/anchors.
So no AI required 😉
I've built similar things in the past and I'd be happy to hook you up for a fistful of sats.