You cannot really do this yet, the closest thing is taking the federated url and using the search function of your instance. Which, I think, only works if the content is already federated.
Iโm slowly working on a website that can do this automatically, by using the API to look up the content on your instance of choice