Retrieve Summarised Features

Summarised Features provides the list of all features best and worst along with their quotes , that consumers can use in the product reviews to describe the product.

GET /summarised-features

curl -X 'GET' \
  'https://[stg.]api.bazaarvoice.com/sentiment/v1/summarised-features?productId=1000004682&embed=quotes&language=de ’\
--header ‘Authorization: passKey’ \
  -H 'accept: application/json'
'https://[stg.]api.bazaarvoice.com/sentiment/v1/summarised-features?productId=1000004682&embed=quotes&language=de' \
--header ‘Authorization: passKey’
HeaderDescription
AuthorizationPasskey (API key) provided to client for authentication

Query Parameters

Request ParameterDescriptionRequired
productIdUnique identifier of the product for which you want to retrieve featuresYes
embedUse ‘quotes’ to get list of embedded quotes.No
languageSupported Languages – English (en), French (fr), German (de) and Spanish(es).
You cannot pass multiple languages.
Locales (ex- en_US, en_CA, fr_CA) are not supported.
Yes

Sample Response

{
  "bestFeatures": [
    {
      "featureId": "string",
      "feature": "string",
      "percentPositive": 0,
      "nativeFeature": "string",
      "reviewsMentioned": {
        "total": 90,
        "positive": 84,
        "negative": 0,
        "incentivized": 0
      },
      "averageRatingReviews": {
        "positive": 5.5,
        "negative": 0,
        "incentivized": 0
      },
      "_embedded": {
        "quotes": [
          {
            "quoteId": "EoA591P2Xi3/khB9osEG5l6cMtD5biVJ+r9FYMLG9KBIh8JmHqlSxRU4yP1ghuH9eXpFovA5uhI=",
            "text": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
            "emotion": "joy",
            "reviewRating": 5,
            "reviewId": "59902a9d-a6d8-5798-aa46-cde93d80e666",
            "reviewedAt": "2021-05-03",
            "translatedText": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
            "nativeLanguage": "en-US",
            "incentivised": false,
            "reviewType": "NATIVE"
          }
        ]
      }
    }
  ],
  "worstFeatures": [
    {
      "featureId": "string",
      "feature": "string",
      "percentPositive": 0,
      "nativeFeature": "string",
      "reviewsMentioned": {
        "total": 90,
        "positive": 84,
        "negative": 0,
        "incentivized": 0
      },
      "averageRatingReviews": {
        "positive": 5.5,
        "negative": 0,
        "incentivized": 0
      },
      "_embedded": {
        "quotes": [
          {
            "quoteId": "EoA591P2Xi3/khB9osEG5l6cMtD5biVJ+r9FYMLG9KBIh8JmHqlSxRU4yP1ghuH9eXpFovA5uhI=",
            "text": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
            "emotion": "joy",
            "reviewRating": 5,
            "reviewId": "59902a9d-a6d8-5798-aa46-cde93d80e666",
            "reviewedAt": "2021-05-03",
            "translatedText": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
            "nativeLanguage": "en-US",
            "incentivised": false,
            "reviewType": "NATIVE"
          }
        ]
      }
    }
  ]
}

Response Parameters

Response Field NameData TypeDescription
bestFeaturesArrayArray of top 5 best features for a product.
Please refer to featuresResponse for attribute type and description of the attributes.
worstFeaturesArrayArray of top 5 worst features for a product.
Please refer to featuresResponse for attributes type and description of the attributes.

featuresResponse

Response Field NameData TypeDescription
featureIdStringUnique identifier of the product
featureStringName of the feature
percentPositivefloatGives the percent positive of a product feature
nativeFeatureStringGives the feature of product based upon language selected i.e. en,fr,de,es
reviewsMentionedobjectProvides summary of the reviews of product feature.
Please refer to reviewsMentioned for attributes type and description of the attributes.
averageRatingReviewsobjectProvide average summary for rating review of product feature.
Please refer to averageRatingReviews for attributes type and description of the attributes.
_embeddedobjectProvides an array of quotes associated to a particular feature.
Please refer to embedded for attributes type and description of the attributes.

reviewsMentioned

Response Field NameData TypeDescription
totalNumberGives count of total reviews mentioned.
positiveNumberGives count of positive reviews mentioned.
negativeNumberGives count of negative reviews mentioned.
incentivizedNumberGives count of incentivized reviews mentioned.

averageRatingReviews

Response Field NameData TypeDescription
positiveNumberGives percent positive average rating for reviews
negativeNumberGives percent negative average rating for reviews
incentivizedNumberGives percent incentivized average rating for reviews

embedded

Response Field NameData TypeDescription
quotesArrayContains all the quotes associated to a particular feature.
Please refer to quote for attributes type and description of the attributes.

quote

Response Field NameData TypeDescription
quoteIdStringUnique identifier of the quote
textStringGives the text
emotionStringGives the emotion of a quote
reviewRatingfloatGives the rating of quote review
reviewIdStringUnique identifier of the review
reviewedAtDateGives the date at which review was done
translatedTextStringGives the translated quote text based upon language provided i.e. “en, fr, de, es"
nativeLanguageStringGives the language selected in BCP47 code
incentivisedBooleanTells if quote is incentivised returns true or false
reviewTypeEnumENUM can be native ,family and syndicated