It’;s a thing. It’s an app. iOS and Android. It’s great. Not only does it identify spammers, scammers, and robocalls, you can configure your phone to use it to ignore these calls. You can report new ones yourself and add to their database. It’s cheap too, monthly, but enough value that I get it cheaper by paying yearly.
It’s also able to find a few extra details – the operator of their phone network, sometimes general location (town for example), email address, sometimes an alias.
Highly recommended, even the free version.