toolzerhub API Docs

Get product reviews (v1)

Returns 10 reviews per page for product_id, sorted by sort and optionally filtered to one rating, plus the product's star breakdown, review topics and Walmart's topic summaries. An unknown product_id returns data: null.

1 credit / requestBilled only on success
GET
/v1/walmart/product/reviews

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

product_id*string

Walmart item id: the number at the end of a product URL, or usItemId from search.

Match^\d{1,15}$
page?integer

Page of 10 reviews; total_pages says how many there are.

Range1 <= value <= 1000
Default1
sort?string

relevancy (Walmart's default), helpful, submission-desc (newest), submission-asc, rating-desc or rating-asc.

Default"relevancy"

Value in

  • "relevancy"
  • "helpful"
  • "submission-desc"
  • "submission-asc"
  • "rating-desc"
  • "rating-asc"
rating?integer

Only reviews with this many stars.

Range1 <= value <= 5
curl -X GET "https://example.com/v1/walmart/product/reviews?product_id=5162907971" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "product_id": "string",    "page": 0,    "sort": "relevancy",    "rating": 0,    "product": {      "name": "string",      "url": "string",      "image": "string",      "seller": "string"    },    "total_reviews": 0,    "reviews_with_text": 0,    "filtered_reviews": 0,    "average_rating": 0,    "recommended_percentage": 0,    "rating_counts": {      "property1": 0,      "property2": 0    },    "total_pages": 0,    "has_more": true,    "aspects": [      {        "name": "string",        "mentions": 0      }    ],    "summary": [      {        "aspect": "string",        "polarity": "string",        "summary": "string"      }    ],    "reviews": [      {        "review_id": "string",        "rating": 0,        "title": "string",        "text": "string",        "submitted_at": "string",        "author": "string",        "verified_purchase": true,        "helpful_count": 0,        "unhelpful_count": 0,        "photos": [          "string"        ],        "variant": {          "property1": "string",          "property2": "string"        },        "seller": "string",        "source": "string",        "responses": [          {            "author": "string",            "text": "string",            "date": "string"          }        ]      }    ]  },  "details": {    "reason": "string",    "message": "string"  }}