Composite Recommendations

Composite Recommendations return both a source entity (e.g., an Item or Item Segment) and a related list of recommendations in a single response.

They are requested via the Composite Recommendation API endpoint.

  • Source: The movie (Item) watched by the user
  • Result: Movies related to the watched one
Because You Watched Example
Tip

Check out the Because You Watched Scenario Recipe for more info

  • Source: The user’s favorite category (Item Segment)
  • Result: Recommended articles from that category
Articles from Category Example
  • Source: The user’s favorite artist (Item Segment)
  • Result: Recommended artists related to the favorite artist
Related Artists Example

Often, multiple Composite Recommendations are requested in a Batch to fully personalize the homepage or other sections of a website or app.

For example, to display five rows on the homepage — each representing one of the user’s top five categories and showing the most relevant content within that category — you can send five Composite Recommendation requests in a single Batch, set as:

This approach enables the homepage to consist of dynamically personalized sections.

The API automatically ensures that five distinct categories are returned in the response, avoiding duplicates.

See the API code example for implementation details.

Tip

Check out the Fully Personalized Homepage Scenario Recipes for:

Composite Recommendations can be viewed as two sequential requests:

  1. Recommend the Source.
  2. Recommend the Result for that Source.

For instance, Articles from <category> involves:

Each Composite Recommendation counts as one API request for billing.

When creating a Composite Recommendation scenario, you can choose a Template or a Custom configuration.

Predefined templates are available for common cases such as Because You Purchased or Videos From Top Genre For You. Templates define both the endpoints used for each stage and the Logic.

Custom configuration allows you to manually define the endpoints for each stage and assign different Logics as needed.

In the Admin UI, you can set distinct Filters and Boosters for each stage (Source and Result).

You can also specify these settings using the sourceSettings and resultSettings API parameters.

© Copyright 2026, Recombee s.r.o
docs.recombee.com