Asking for recommendations

BrainSINS recommendations can be requested via an API REST call with the following format:


Type: GET

URL Parameters:

  • IDPRODUCT (optional): if product recommendation, specify the base product
  • IDUSER: numeric user identifier
  • TOKEN: your account BrainSINS token
  • IDREC: recommender identifier
  • MAXRESULTS: number of results to retrieve


If not using a product recommender, the "idItem" path component can be trimmed. The following example does not contain idItem:

The format retrieved by this resource includes a list of products in json format. If you need this list to be expresed in XML, just change the format suffix in the call syntax:

You also can get this request from our administration panel (BrainSINS Analytics) doing click on the cloud symbol just on the right the recommender you need. You can find recommenders in next the path Optimization > Recommenders > List



Recommendation response

The response include several metadata fields, and a list describing the recommended products. The most important fields in this description are:

  • id, name, url, imageUrl, price, categories:  essential product information, extracted from the product feed
  • value & ranking: relevance and position of this recommendation
  • explanation & algorithm: the criteria used to retrieve this recommendation

Response example:

"@version": "0.1",
"status": "200",
"count": "8",
"details": "medium",
"lang": "es",
"filter": "",
"categories": "",
"list": [
"id": "28984",
"value": "1.0",
"ranking": "2",
"name": "Toalla de baño Advance",
"misc": "{\"original_price\":\"\",\"novelty\":\"0\",\"promo\":\"0\",\"top_sales\":\"0\",\"type\":\"configurable\"}",
"url": "",
"imageUrl": "",
"price": "8.9",
"categories": "baño,advance,adulto,",
"explanation": "MOST-VISITED",
"algorithm": "MOST-VISITED"
"id": "29127",
"value": "0.01",
"ranking": "2",
"name": "Bolsa Primera",
"misc": "{\"original_price\":\"\",\"novelty\":\"0\",\"promo\":\"0\",\"top_sales\":\"0\",\"type\":\"configurable\"}",
"url": "",
"imageUrl": "",
"price": "10.9",
"categories": "niños,primera,bebe,",
"explanation": "MOST-VISITED",
"algorithm": "MOST-VISITED"
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk