Retrieve Features

Features provides the list of all features, called “Keywords”, that consumers are using in the
product reviews to describe the product.

GET /features

curl -X 'GET' \
'http://[stg.]api.bazaarvoice.com/sentiment/v1/features? productId=29366&language=es&limit=10' \
--header ‘Authorization: passKey’
-H 'accept: application/json'
'http://[stg.]api.bazaarvoice.com/sentiment/v1/features?productId=29366&language=es&limit=10' \
--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
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
limitNumber of features. Default value: 10No

Sample Response

{
  "features": [
    {
      "feature": "comfort",
      "nativeFeature": "consuelo"
    },
    {
      "feature": "satisfaction",
      "nativeFeature": "satisfacción"
    },
    {
      "feature": "quality",
      "nativeFeature": "calidad"
    },
    {
      "feature": "fit",
      "nativeFeature": "caber"
    },
    {
      "feature": "purchase",
      "nativeFeature": "compra"
    },
    {
      "feature": "appearance",
      "nativeFeature": "apariencia"
    },
    {
      "feature": "size",
      "nativeFeature": "tamaño"
    },
    {
      "feature": "material",
      "nativeFeature": "material"
    },
    {
      "feature": "price",
      "nativeFeature": "precio"
    },
    {
      "feature": "color",
      "nativeFeature": "color"
    }
  ]
}

Response Parameters

Response Field NameData TypeDescription
featuresArrayAn array containing list of all features for the requested product.
Please refer to feature for attributes type and description of the attributes

feature

Response Field NameData TypeDescription
featureStringUnique identifier of the feature.
It is composed of words and phrases that match the name of the
feature in English, but to be treated as ID.
It can contain ‘spaces
nativeFeatureStringName of the feature displayed in requested language i.e. “en, fr, de, es”