---
agentTools:
  projectIndex: https://resellerratings.readme.io/llms.txt
---

# Get  Public Product Review content By SKU or date range

Retrieve paginated JSON or HTML formatted reviews either for specified product SKU, or for product reviews collected over a specified date range.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Reseller Ratings API",
    "description": "Welcome to the the ResellerRatings API for Brand Reviews.  Our API is built out and spread over several key areas of the business.  These API’s are constructed to tell a story about brand reviews, your review data collection effort, product reviews, and the collection of reviews around ResellerRatings as a business unit",
    "termsOfService": "https://business.resellerratings.com/about/terms/terms",
    "contact": {
      "email": "support@resellerratings.com"
    },
    "license": {
      "name": "Private License",
      "url": "https://business.resellerratings.com/about/terms/api-terms"
    },
    "version": "1.0.0"
  },
  "externalDocs": {
    "description": "Find out more about ResellerRatings",
    "url": "https://business.resellerratings.com/productset"
  },
  "servers": [
    {
      "url": "https://api.resellerratings.com/v1"
    },
    {
      "url": "http://api.resellerratings.com/v1"
    }
  ],
  "paths": {
    "/public/seller/{id}/product/reviews.{format}": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Get  Public Product Review content By SKU or date range",
        "description": "Retrieve paginated JSON or HTML formatted reviews either for specified product SKU, or for product reviews collected over a specified date range. ",
        "operationId": "productPublicReviews",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Seller SEO to retrieve product reviews for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "path",
            "description": "Format specifier, 'json' or 'html'. HTML is only supported when using the SKU query parameter",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "html"
              ]
            }
          },
          {
            "name": "sku",
            "in": "query",
            "description": "Product SKU to look up",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "parent_id",
            "in": "query",
            "description": "Product parent id to look up",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "Limiting start date to search for reviews, INCLUSIVE of midnight UTC. When not specified and endDate is included this will default to the same day as `endDate`. Must be formatted YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "Limiting end date to search for reviews, INCLUSIVE of 23:59:59 UTC. When not specified and `startDate` is included this will default to today. Must be formatted YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "perPage",
            "in": "query",
            "description": "Number of reviews to retrieve",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "default": 15
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page of reviews to retrieve",
            "schema": {
              "minimum": 1,
              "type": "integer",
              "default": 1
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "How reviews will be sorted, currently supports: 'date' (sort  according to the review submission date), 'rating' (sort according to the star rating), 'helpful' (sort according to the total number of times a review was voted 'helpful'), and 'ratingDate' sort by rating followed by date with the most recent first within each rating group).",
            "schema": {
              "type": "string",
              "default": "date",
              "enum": [
                "date",
                "rating",
                "helpful",
                "ratingDate"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "description": "Sort direction of reviews, supports 'asc' for ascending sort and 'desc' for descending sort, if left blank will default to descending sort",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "filterBy",
            "in": "query",
            "description": "Filters results to return reviews matching the specified condition. 'verified' returns only verified reviews, 'has_images' returns only reviews with associated images",
            "schema": {
              "type": "string",
              "default": "none",
              "enum": [
                "verified",
                "has_images"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductReview"
                  }
                }
              },
              "text/html": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductReview"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Product / Seller not found",
            "content": {}
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Class ReviewTransformer",
            "format": "int64"
          },
          "username": {
            "type": "string",
            "description": "Class ReviewTransformer"
          },
          "email": {
            "type": "string",
            "description": "Email of user when available"
          },
          "location": {
            "type": "string",
            "description": "User location information"
          }
        }
      },
      "ProductSummary": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "description": "Product SKU"
          },
          "parent_id": {
            "type": "string",
            "description": "Parent Product SKU"
          },
          "name": {
            "type": "string",
            "description": "Product name"
          },
          "image": {
            "type": "string",
            "description": "Primary image URL"
          },
          "url": {
            "type": "string",
            "description": "Product page view URL"
          },
          "description": {
            "type": "string",
            "description": "Product description"
          },
          "recommend_count": {
            "type": "integer",
            "description": "Total number of reviews where user recommended the product",
            "format": "int64"
          },
          "not_recommend_count": {
            "type": "integer",
            "description": "Total number of reviews where user does NOT recommended the product",
            "format": "int64"
          },
          "answered_questions_count": {
            "type": "integer",
            "description": "Total number of questions answered about this product",
            "format": "int64"
          },
          "questions": {
            "type": "array",
            "description": "Product questions for questions & answers",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Question unique ID",
                  "format": "int64"
                },
                "question": {
                  "type": "string",
                  "description": "Question text"
                },
                "short_title": {
                  "type": "string",
                  "description": "Question short title"
                },
                "type": {
                  "type": "string",
                  "description": "Question type",
                  "enum": [
                    "",
                    "text_single",
                    "text_area",
                    "radio_button",
                    "checkbox",
                    "select_box"
                  ]
                },
                "required": {
                  "type": "boolean",
                  "description": "Is question required?"
                },
                "options": {
                  "type": "array",
                  "description": "Answer options",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "Unique question answer option ID",
                        "format": "int64"
                      },
                      "value": {
                        "type": "string",
                        "description": "Question option value for selection"
                      }
                    },
                    "description": "Production question answer option"
                  }
                }
              },
              "description": "Product summary question object defining the question details that can be asked for the product."
            }
          },
          "rating": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "description": "Total number of ratings that were used to calculate the score",
                "format": "int64"
              },
              "min": {
                "type": "integer",
                "description": "Minimum score *possible* for the rating value (lower bound)",
                "format": "int64",
                "enum": [
                  0
                ]
              },
              "max": {
                "type": "integer",
                "description": "Maximum score *possible* for the rating value (upper bound)",
                "format": "int64",
                "enum": [
                  5
                ]
              },
              "score": {
                "type": "number",
                "description": "Current score between [min,mx]",
                "format": "double"
              }
            },
            "description": "Product rating values"
          },
          "stats": {
            "type": "object",
            "properties": {
              "review_count": {
                "type": "integer",
                "description": "Total number of ratings that were used to calculate the score",
                "format": "int64"
              },
              "rating_average": {
                "type": "number",
                "description": "Current score between [rating.min] and [rating.max]",
                "format": "double"
              },
              "recommend_count": {
                "type": "integer",
                "description": "Total number of reviews where user recommended the product",
                "format": "int64"
              },
              "one_star": {
                "type": "integer",
                "description": "Total number of ONE star ratings",
                "format": "int64"
              },
              "two_star": {
                "type": "integer",
                "description": "Total number of TWO star ratings",
                "format": "int64"
              },
              "three_star": {
                "type": "integer",
                "description": "Total number of THREE star ratings",
                "format": "int64"
              },
              "four_star": {
                "type": "integer",
                "description": "Total number of FOUR star ratings",
                "format": "int64"
              },
              "five_star": {
                "type": "integer",
                "description": "Total number of FIVE star ratings",
                "format": "int64"
              }
            },
            "description": "Product rating statistics and additional values"
          },
          "experience_indicator_totals": {
            "type": "array",
            "description": "Class ProductTransformer",
            "items": {
              "$ref": "#/components/schemas/ExperienceIndicatorTotal"
            }
          },
          "question_totals": {
            "type": "array",
            "description": "Detailed question stats from questions & answers",
            "items": {
              "$ref": "#/components/schemas/QuestionTotal"
            }
          },
          "review_images": {
            "type": "array",
            "description": "Class ProductTransformer",
            "items": {
              "type": "string",
              "description": "URLs for the set of review image associated with the product review"
            }
          },
          "review_thumbnails": {
            "type": "array",
            "description": "Class ProductTransformer",
            "items": {
              "type": "string",
              "description": "URLs for the the thumbnail images for the product review"
            }
          },
          "write_review_url": {
            "type": "string",
            "description": "Url of dedicated write a review page"
          },
          "merchant": {
            "type": "integer",
            "description": "Unique merchant number"
          },
          "seller_seo": {
            "type": "string",
            "description": "Unique seller identifier within ResellerRatings"
          },
          "highlight_verified_answers": {
            "type": "integer",
            "description": ""
          },
          "loyalty_campaign_title": {
            "type": "string",
            "description": ""
          },
          "coupon_description": {
            "type": "string",
            "description": ""
          }
        },
        "description": "Product summary details"
      },
      "ExperienceIndicatorTotal": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Class ProductTransformer"
          },
          "score": {
            "type": "number",
            "description": "Class ProductTransformer",
            "format": "double"
          }
        },
        "description": "Key value pairing of indicators and their score for product review user experience ratings. Fields are normalized but are unique to each client and may change over time."
      },
      "QuestionTotal": {
        "type": "object",
        "properties": {
          "question_id": {
            "type": "integer",
            "description": "Unique question ID",
            "format": "int64"
          },
          "question": {
            "type": "string",
            "description": "Question text"
          },
          "answer": {
            "type": "object",
            "description": "Question answer value",
            "format": "string"
          },
          "count": {
            "type": "integer",
            "description": "Number of responess for the question and answer combo",
            "format": "int64"
          }
        },
        "description": "Question detail for a product question & answer"
      },
      "ProductReview": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Class ReviewTransformer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "description": "Description of the review status, typically `published`"
          },
          "author": {
            "$ref": "#/components/schemas/User"
          },
          "date": {
            "type": "integer",
            "description": "Unix timestamp representing date of review",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "description": "Class ReviewTransformer"
          },
          "text": {
            "type": "string",
            "description": "Class ReviewTransformer"
          },
          "votes_helpful": {
            "type": "integer",
            "description": "Class ReviewTransformer",
            "format": "int64"
          },
          "votes_not_helpful": {
            "type": "integer",
            "description": "Class ReviewTransformer",
            "format": "int64"
          },
          "rating": {
            "type": "object",
            "properties": {
              "score": {
                "type": "number",
                "description": "Review rating between [min,max]",
                "format": "double"
              },
              "min": {
                "type": "integer",
                "description": "Class ReviewTransformer",
                "format": "int64",
                "enum": [
                  0
                ]
              },
              "max": {
                "type": "integer",
                "description": "Class ReviewTransformer",
                "format": "int64",
                "enum": [
                  5
                ]
              }
            },
            "description": "Class ReviewTransformer"
          },
          "user_recommend": {
            "type": "string",
            "description": "Does this user recommend this product?",
            "enum": [
              "yes",
              "no"
            ]
          },
          "reply": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "description": "Class ReviewTransformer"
              },
              "date": {
                "type": "integer",
                "description": "Unix timestamp representing date of reply",
                "format": "int64"
              },
              "vote_yes": {
                "type": "integer",
                "description": "Number of times the reply has been voted as positive / helpful",
                "format": "int64"
              },
              "vote_no": {
                "type": "integer",
                "description": "Number of times the reply has been voted as negative / unhelpful",
                "format": "int64"
              }
            },
            "description": "Class ReviewTransformer"
          },
          "experience_indicators": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string",
                "description": "Class ReviewTransformer"
              },
              "score": {
                "type": "integer",
                "description": "Class ReviewTransformer",
                "format": "int64"
              }
            },
            "description": "Class ReviewTransformer"
          },
          "question_responses": {
            "type": "object",
            "properties": {
              "question_id": {
                "type": "integer",
                "description": "Class ReviewTransformer",
                "format": "int64"
              },
              "question": {
                "type": "string",
                "description": "Class ReviewTransformer"
              },
              "short_question": {
                "type": "string",
                "description": "Class ReviewTransformer"
              },
              "answer": {
                "type": "string",
                "description": "Class ReviewTransformer"
              }
            },
            "description": "Class ReviewTransformer"
          },
          "merchant": {
            "type": "integer",
            "description": "Unique merchant identifier"
          },
          "seller_seo": {
            "type": "string",
            "description": "Unique seller identifier within ResellerRatings"
          },
          "images": {
            "type": "array",
            "description": "Class ReviewTransformer",
            "items": {
              "type": "string"
            }
          },
          "thumbnails": {
            "type": "array",
            "description": "Class ReviewTransformer",
            "items": {
              "type": "string"
            }
          },
          "sku": {
            "type": "string",
            "description": "Sku of product being reviewed"
          },
          "product": {
            "$ref": "#/components/schemas/ProductSummary"
          }
        }
      }
    }
  },
  "x-original-swagger-version": "2.0",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 248,
      "2": 89,
      "3": 235,
      "4": 18,
      "5": 83,
      "6": 218,
      "7": 0,
      "8": 41,
      "9": 22,
      "10": 55,
      "11": 29
    }
  }
}
```