Real-time recommendations are presented to users through a single endpoint where you can query the IDs of the products that are better suited to a user.
In order to do so, the user's browser needs to make a request to the Recommender endpoint. The response will contain only product IDs.
There's also the possibility to query your servers for more info pertaining the product that can be presented to the end-user on your website: images, name, description, price, and more.
The following blocks of code represent a pseudocode example that would be pasted into the webpage where you'd like to display recommendations:
For more information see the API Reference.