Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Walmart Product Reviews

API 文档
https://api.sandbase.ai/v1/api/walmart/product-reviews

Get Walmart product reviews by product ID: overall rating, ratings histogram, top positive and negative reviews, and paginated review text with photos.

价格
$0.015美元 / 次调用
方法
POST
响应
异步 JSON
参数
1 个必填 · 4 个可选

Playground

输入
The unique product identifier to get reviews of a specific product. You need to pass the `us_item_id`. It can be found from either Organic Results API or Product API results.
Value is used to get the reviews on a specific page. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.).
Sorting reviews. It can be set to: `relevancy`, `helpful`, `submission-desc`, `submission-asc`, `rating-desc`, `rating-asc`
Filtering reviews by rating. It can be set to: `1`: 1-star, `2`: 2-star, `3`: 3-star, `4`: 4-star, `5`: 5-star.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Walmart Product Reviews

Returns customer reviews for one Walmart product, along with the overall rating, a star-rating histogram, the top positive and top negative review, and a page of review text. It needs a Walmart product ID (product_id), which is the us_item_id.

Use cases

  • Track how shoppers rate a laptop or other product by reading the star counts in ratings.
  • Pull 1-star reviews with the rating filter to find common complaints about a product.
  • Compare the top_positive and top_negative reviews to see the main praise and the main problem at a glance.
  • Collect review text page by page to run sentiment analysis on a single product.

Request

curl -X POST "https://api.sandbase.ai/v1/api/walmart/product-reviews" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "20349310960"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
product_id['string', 'number', 'boolean']YesThe unique product identifier to get reviews of a specific product. You need to pass the us_item_id. It can be found from either Organic Results API or Product API results.
json_restrictor['string', 'number', 'boolean']NoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
page['string', 'number', 'boolean']NoValue is used to get the reviews on a specific page. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.).
ratingstringNoFiltering reviews by rating. It can be set to: 1: 1-star, 2: 2-star, 3: 3-star, 4: 4-star, 5: 5-star.
sort['string', 'number', 'boolean']NoSorting reviews. It can be set to: relevancy, helpful, submission-desc, submission-asc, rating-desc, rating-asc

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "overall_rating": 4.4,
  "pagination": {
    "current": 1,
    "next": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=2",
    "other_pages": {
      "2": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=2",
      "3": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=3",
      "4": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=4",
      "5": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=5",
      "6": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=6",
      "9": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=9"
    }
  },
  "product": {
    "categories": [
      {
        "name": "Electronics",
        "url": "https://www.walmart.com/cp/electronics/3944"
      }
    ],
    "name": "Acer Chromebook 315 15.6\" Touchscreen Laptop FHD 1920x1080 Intel N50 8GB RAM 128…",
    "url": "https://www.walmart.com/ip/Acer-Chromebook-315-15-6-Touchscreen-Laptop-FHD-1920x…"
  },
  "ratings": [
    {
      "count": 74,
      "stars": 1
    }
  ],
  "reviews": [
    {
      "customer_type": [
        "VerifiedPurchaser"
      ],
      "negative_feedback": 0,
      "position": 1,
      "positive_feedback": 2,
      "rating": 5,
      "review_submission_time": "10/8/2026",
      "text": "Bought this on sale for $199 to replace an over 7year old Acer Chromebook that's…",
      "title": "Chromebook",
      "user_nickname": "Brian"
    }
  ],
  "search_metadata": {
    "cached": false,
    "created_at": "2026-11-03 07:45:07 UTC",
    "id": "6ae991038b84161e987a4392",
    "processed_at": "2026-11-03 07:45:07 UTC",
    "status": "Success",
    "total_time_taken": 0.68,
    "walmart_product_reviews_url": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=1"
  },
  "search_parameters": {
    "engine": "walmart_product_reviews",
    "product_id": "20349310960"
  },
  "serpapi_pagination": {
    "current": 1,
    "next": {
      "endpoint": "/walmart/product-reviews",
      "queryParams": {
        "page": "2",
        "product_id": "20349310960",
        "sort": "relevancy"
      }
    },
    "next_link": {
      "endpoint": "/walmart/product-reviews",
      "queryParams": {
        "page": "2",
        "product_id": "20349310960",
        "sort": "relevancy"
      }
    },
    "other_pages": {
      "2": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "2",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      },
      "3": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "3",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      },
      "4": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "4",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      },
      "5": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "5",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      },
      "6": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "6",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      },
      "9": {
        "endpoint": "/walmart/product-reviews",
        "queryParams": {
          "page": "9",
          "product_id": "20349310960",
          "sort": "relevancy"
        }
      }
    }
  },
  "top_negative": {
    "customer_type": [
      "VerifiedPurchaser"
    ],
    "negative_feedback": 0,
    "positive_feedback": 0,
    "rating": 1,
    "review_submission_time": "10/30/2026",
    "text": "We went to the store to return this laptop.And they said we had to go back into …",
    "user_nickname": "Peggy"
  },
  "top_positive": {
    "customer_type": [
      "IncentivizedReviewYes"
    ],
    "negative_feedback": 0,
    "positive_feedback": 3,
    "rating": 5,
    "review_submission_time": "7/27/2026",
    "text": "I am so thankful for this one! The touch features just glide and work without is…",
    "title": "Highly recommend",
    "user_nickname": "TiffanyT"
  },
  "total_count": 807
}

Response fields

FieldMeaning
overall_ratingAverage star rating for the product, for example 4.4.
total_countTotal number of reviews for the product.
ratings[].stars / ratings[].countHistogram rows. Each row gives a star level and the number of reviews at that level.
reviews[].rating / reviews[].title / reviews[].textStar rating, headline and body text of each review on the current page. Long text may be shortened.
reviews[].user_nickname / reviews[].review_submission_timeDisplay name of the reviewer and the date the review was submitted, in M/D/YYYY format.
reviews[].positive_feedback / reviews[].negative_feedbackCounts of positive and negative feedback votes the review received.
reviews[].customer_typeList of labels on the reviewer, such as VerifiedPurchaser, Staff or IncentivizedReviewYes.
top_positive / top_negativeThe review Walmart highlights as the top positive one and the top negative one. They have the same fields as items in reviews.
product.name / product.url / product.categories[]Name and page URL of the product, plus its category path with each category's name and url.
pagination.current / pagination.next / pagination.other_pagesCurrent page number and Walmart review page URLs for other pages.

Notes

  • Get product_id from the us_item_id in Walmart Search or Walmart Product Page results.
  • Set page to get more reviews. The serpapi_pagination.next.queryParams object shows the parameters for the next page.
  • Use sort with values such as helpful or submission-desc to change review order, and rating to filter by star level.
  • Use json_restrictor to return only the fields you need.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Walmart$0.015 每次调用异步 JSON
Walmart每次调用从 $0.001 起JSON
Walmart$0.01 每次调用异步 JSON
Walmart$0.015 每次调用异步 JSON
Walmart$0.01 每次调用JSON

指南:Best Walmart API in 2026: Pricing Compared

问题

常见问题

如何使用 Walmart Product Reviews API?

向 https://api.sandbase.ai/v1/api/walmart/product-reviews 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Walmart Product Reviews API 的价格是多少?

每次调用 $0.015,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Walmart Product Reviews API 接受哪些参数?

必填:product_id (string | number | boolean)。 可选:page (string | number | boolean), sort (string | number | boolean), rating (any) 和 json_restrictor (string | number | boolean)。 Parameters 表和本页的 Playground 列出了每个字段。

Walmart Product Reviews API 返回什么?

JSON 结果。此端点异步运行,因此响应会告诉您如何获取已完成的结果。 本页的 README 包含一个示例响应。

我需要 Walmart 开发者账户或 API key 吗?

不需要。Walmart Product Reviews 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Walmart API 访问权限。