So, as the title says, I would like to emulate the behaviour of the google shopping tab.
For example, whenever I search for "Samsung A50" I get different shopping results from different merchants.
Is there a way in the whole google shopping API to do so?
The content API is for submitting data to Google Merchant Center.
Currently, there is no official Google API for returning results of shopping ads. You may want to use a tool such as semrush.