QUOTE(15cm @ May 8 2022, 05:11 PM)
on desktop we just click F12 and go to the network tab
but on mobile apps? I want to spy on what api endpoint they are calling .

burp suite (paid) or zed application proxy (free).but on mobile apps? I want to spy on what api endpoint they are calling .

however, nowadays there are "protections" that mobile apps can use to prevent others from studying their traffic. for better or for worse, attackers also created countermeasures to these protections: frida, etc.
guides / tutorials are plenty on the net. if it's not just for fun, you should probably hire a professional to help you. or get proper (paid) training on using those tools i mentioned.