GroundsocialDocs

API · Walmart

GET /walmart/products/{product_id}/reviews

Walmart reviews of a product, paged, with sort and star filters.

RequestGET /v1/walmart/products/{product_id}/reviews
Operation idwalmart.reviews.get
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Walmart reviews of a product, paged, with sort and star filters.

Path parameters

NameTypeRequiredDescription
product_idstringyesWalmart item id (the number in /ip/…/<id>), or a product URL. Example: 5113175776.

Query parameters

NameTypeRequiredDescription
pageintegerno
limitintegernoAt most this many of the page’s 10.
sort"relevancy" | "recent" | "rating_high_low" | "rating_low_high" | "oldest" | "most_helpful"norelevancy (default), recent, rating_high_low, rating_low_high, oldest, most_helpful. One of relevancy, recent, rating_high_low, rating_low_high, oldest, most_helpful.
ratingintegerno
aspectstringno
verified_only"true" | "false"noOne of true, false.
country"US" | "CA"noUS (default) or CA. One of US, CA.
sincestringnoOnly items published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp.
untilstringnoOnly items published on or before this date: YYYY-MM-DD (that whole UTC day included) or an ISO 8601 timestamp.

Responses

StatusMeaningSchema
200A page of reviews.WalmartReviews
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The product or category does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Walmart is temporarily unavailable. Retryable; nothing was charged.Error

WalmartReviews fields

FieldTypeDescription
product_idstring
countrystring
pagenumber
total_pagesnumber | null
total_reviewsnumber | null
average_ratingnumber | null
rating_countsobject
aspectsobject[]
reviewsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.