I'm wondering if there is some API/Code/Trick on Sitecore to fetch all linked/related Items to a given Sitecore item, just like we have on the XP Admin interface?
My goal here is to find all pages using a given item as a data source of one of its renderings.
Sitecore.Globals.LinkDatabase.GetReferrers({current item})
or I missed the point of your question?