UpStart Commerce Search
Recommendations

Visual Recommendation

3min

The Visual Recommendation endpoint enhances product discovery by providing visually similar product suggestions. This service is particularly beneficial for fashion, home decor, and design-centric platforms where appearance and style play a significant role in consumer choices. 

Accessing Visual Recommendations

To retrieve visually similar product recommendations, businesses can use the Visual Recommendation API. This API enables users to fetch alternatives based purely on image similarity.

How to Retrieve Recommendations

  1. Make a GET Request: Send a request to the API endpoint with the product ID.
  2. Provide Required Headers:
    • x-upstart-tenant: Identifies the retailer making the request.
    • x-upstart-site: Specifies the site where recommendations are needed.
  3. Receive a Response: The system returns a list of visually similar products.

API Endpoint

  • Catalog Endpointrecommendation
  • Endpoint: /catalog/live/recommendation/item/{product_id}?recommendationType=visually_similar

Headers

Curl


Sample Request

Curl