HasData Walmart
Walmart search, product pages and customer reviews on walmart.com and walmart.ca, as JSON.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (6)
- LOWin hasdata_walmart_product_getWalmartProduct
- LOWin hasdata_walmart_product_getWalmartProduct
- LOWin hasdata_walmart_reviews_getWalmartReviews
- LOWin hasdata_walmart_reviews_getWalmartReviews
- LOWin hasdata_walmart_search_getSearchResults
- LOWin hasdata_walmart_search_getSearchResults
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"walmart": {
"command": "npx",
"args": [
"@hasdata/walmart-mcp"
]
}
}
}Ausführbare Pakete
1.0.2stdio1.0.2stdioRemote-Endpunkte
https://mcp.hasdata.com/api/mcp?apis=walmartstreamable-httphttps://mcp.hasdata.com/mcp?apis=walmartstreamable-httpWas es kann
Tool-Inventar
Tools (3)
🟢hasdata_walmart_product_getWalmartProduct(itemId, url, domain, language, otherOffers)
Get Walmart Product Details Scrapes one Walmart product page on a chosen storefront by item id or URL. Returns title, brand, model, UPC, condition, availability, price with strikethrough before-price and unit price, the seller holding the buy box with its rating and return policy, badges, SNAP EBT eligibility, Walmart+ savings, star rating with the per-star review breakdown and AI review summaries, images, category path, highlights, specifications, AI-generated key item features, variant axes with every option and the itemId each combination resolves to, fulfillment details, and the other-sellers block: when otherOffers is enabled, the full offer list with each seller name, storefront URL, price, condition, shipping cost, delivery date and return policy plus its count; when disabled, only the competitor count and cheapest competing price the page itself advertises, which is often absent (notably on walmart.ca). Use for price and buy-box monitoring, seller and marketplace competitor tracking, assortment enrichment of item ids harvested from search, and variant mapping.
Eingabe-Schema
{
"type": "object",
"properties": {
"itemId": {
"type": "string",
"description": "Walmart item id, taken from a product URL or from the id field of the Walmart Search API response. On `walmart.com` it is numeric (for example `14977205582`), on `walmart.ca` an alphanumeric code (for example `6NZMJ5CW6MH2`). Required unless `url` is provided."
},
"url": {
"type": "string",
"description": "A full Walmart product URL to scrape as is. When provided, it overrides `itemId` and the storefront is taken from the URL itself. Required unless `itemId` is provided."
},
"domain": {
"type": "string",
"enum": [
"walmart.com",
"walmart.ca"
],
"description": "Walmart storefront the item belongs to. Each storefront has its own catalog, item ids, prices and currency, so an id from one storefront does not resolve on another. Ignored when `url` is provided. Default is `walmart.com`."
},
"language": {
"type": "string",
"enum": [
"en",
"es",
"fr"
],
"description": "Language of the product details. Availability depends on the storefront - `walmart.com` serves `en` and `es`, `walmart.ca` serves `en` and `fr`. A language the storefront does not support falls back to its default."
},
"otherOffers": {
"type": "boolean",
"description": "Also collect the offers of other sellers competing for this item - each seller name, storefront, price, condition, shipping cost, delivery date and return policy. This takes an extra request to Walmart and costs 5 credits on top of the base 10, whether or not the item turns out to have competing sellers. Enable it to get the seller list - it is the only reliable way to know whether other sellers exist, because the product page's own advertised competitor count is often absent (notably on `walmart.ca`) even when sellers are available. With the switch off, the `otherOffers` block is returned only when the page itself advertises a count, and then carries just that count and the cheapest competing price without the seller list. Default is `false`."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢hasdata_walmart_reviews_getWalmartReviews(itemId, url, domain, language, page, ...)
Get Walmart Product Reviews Scrapes the customer reviews of one Walmart product on a chosen storefront by item id or URL, ten reviews a page. Returns each review with its rating, title, full text with paragraphs preserved, submission date, author, verified-purchase flag, helpful and not-helpful vote counts, badges, marketplace seller, photos and videos, and the review aspects it was tagged with. Alongside the reviews it returns the item rating, how many ratings versus how many written reviews exist, the per-star breakdown, the AI review summary, per-aspect scores such as Quality or Value for money, and a filters block listing exactly which star ratings, frequent mentions and conditions this item can be filtered by, with a count for each - the values in that block are the ones to pass back as request parameters. Sort by most relevant, most recent, most helpful, highest rated, lowest rated or oldest, and filter by star rating, frequent mention, condition or verified purchases only. Use for review mining and sentiment analysis, tracking what buyers praise or complain about per product, monitoring new reviews over time, and pulling only verified-purchase feedback.
Eingabe-Schema
{
"type": "object",
"properties": {
"itemId": {
"type": "string",
"description": "Walmart item id, taken from a product URL or from the id field of the Walmart Search API response. On `walmart.com` it is numeric (for example `14977205582`), on `walmart.ca` an alphanumeric code (for example `6NZMJ5CW6MH2`). Required unless `url` is provided."
},
"url": {
"type": "string",
"description": "A full Walmart product URL whose reviews to scrape. When provided, it overrides `itemId` and the storefront is taken from the URL itself. Required unless `itemId` is provided."
},
"domain": {
"type": "string",
"enum": [
"walmart.com",
"walmart.ca"
],
"description": "Walmart storefront the item belongs to. Each storefront has its own catalog, item ids and review pool, so an id from one storefront does not resolve on another. Ignored when `url` is provided. Default is `walmart.com`."
},
"language": {
"type": "string",
"enum": [
"en",
"es",
"fr"
],
"description": "Language of the review page. Availability depends on the storefront - `walmart.com` serves `en` and `es`, `walmart.ca` serves `en` and `fr`. A language the storefront does not support falls back to its default. Reviews themselves are returned in the language their author wrote them in."
},
"page": {
"type": "number",
"description": "Page of reviews to return, ten reviews a page. The response reports the last available page in `pagination.totalPages`, the next one in `pagination.nextPage`, and how many reviews the current filters select in `pagination.totalResults`. Note that only reviews carrying written text are paginated, so the ceiling follows `reviewsInformation.totalReviews` rather than the larger `reviewsInformation.totalRatings`. Default is `1`."
},
"sort": {
"type": "string",
"enum": [
"mostRelevant",
"mostRecent",
"mostHelpful",
"highestRated",
"lowestRated",
"oldest"
],
"description": "Order of the returned reviews, named as the Walmart review page names it. Default is `mostRelevant`."
},
"rating": {
"type": "number",
"description": "Return only reviews carrying this star rating, from `1` to `5`. The Star rating group of the `filters` block lists the ratings this item actually has, each with the `value` to send here and a `count` of how many reviews to expect."
},
"aspectId": {
"type": "string",
"description": "Return only reviews mentioning one topic. Send the `value` of the topic you want, taken from the Frequent mentions group of the `filters` block in the response - given `{\"name\": \"Battery Life\", \"value\": \"6049\", \"count\": 8}` you send `6049`, and `count` is how many reviews to expect. **Only one topic per request**, Walmart rejects a list of them. Topics belong to the product rather than to Walmart: a phone offers Battery Life or Display, a coffee offers Flavor or Aroma, and some items offer none at all - so make an unfiltered request first and read the block, instead of reusing a topic id across products."
},
"condition": {
"type": "string",
"description": "Return only reviews written about one condition of the item. Send the `value` from the Condition group of the `filters` block - given `{\"name\": \"Restored: Like New\", \"value\": \"5\"}` you send `5`. **Only one condition per request.** This group appears for items Walmart sells in several conditions, and only when the request already names one: reach the variant through the `url` parameter with its `conditionGroupCode`, as in `https://www.walmart.com/ip/1028936148?conditionGroupCode=2`, and the block then lists the condition that variant carries. An item sold in a single condition has no such group, and no reviews to separate by it."
},
"verifiedPurchasesOnly": {
"type": "boolean",
"description": "Return only reviews left by customers whose purchase Walmart confirmed. Narrows the pool considerably, since most reviews are unverified or syndicated from the manufacturer."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢hasdata_walmart_search_getSearchResults(q, catId, domain, language, sort, ...)
Get Walmart Search Results Runs a keyword or category search on a chosen Walmart storefront with pagination, price range and fulfillment filters, facet narrowing, and sort order (best match, price low-to-high, price high-to-low, bestseller, highly rated, new arrivals). Returns the product list with item id, title, product URL, brand, price and strikethrough before-price, star rating, review count, seller, availability, sponsored flag, badges, SNAP EBT eligibility, Walmart+ savings, variants, other offers and fulfillment details (shipping, pickup, delivery messages), plus the facets block listing every filter the query supports with the exact value to send back in the facet parameter, pagination, and the store the prices belong to. Use for SERP monitoring, price and assortment tracking, share-of-shelf analysis, competitor discovery, and harvesting item ids to feed downstream product or reviews endpoints.
Eingabe-Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "The search term for which to get the search results. It can be omitted only when `catId` is provided, to browse a whole category instead of searching."
},
"catId": {
"type": "string",
"description": "Walmart category id, taken from a category URL (for example `976759_1086446_1229651`). Combine it with `q` to search inside a category, or send it alone to browse the whole category. Required unless `q` is provided."
},
"domain": {
"type": "string",
"enum": [
"walmart.com",
"walmart.ca"
],
"description": "Walmart storefront to search. Each storefront has its own catalog, prices and currency. Default is `walmart.com`."
},
"language": {
"type": "string",
"enum": [
"en",
"es",
"fr"
],
"description": "Language of the results. Availability depends on the storefront - `walmart.com` serves `en` and `es`, `walmart.ca` serves `en` and `fr`. A language the storefront does not support falls back to its default."
},
"sort": {
"type": "string",
"enum": [
"bestMatch",
"priceLowToHigh",
"priceHighToLow",
"bestseller",
"highlyRated",
"newArrivals"
],
"description": "The sorting option for the search results."
},
"url": {
"type": "string",
"description": "A full Walmart search or category URL to scrape as is. When provided, it overrides `q`, `catId` and the other search parameters, and the storefront is taken from the URL itself."
},
"page": {
"type": "number",
"description": "Page number for pagination (e.g., `1` for the first page, `2` for the second page, etc.). Walmart stops serving results after roughly page 10, returning an empty page beyond that."
},
"minPrice": {
"type": "number",
"description": "Lower bound of the price range, in the storefront currency."
},
"maxPrice": {
"type": "number",
"description": "Upper bound of the price range, in the storefront currency."
},
"deliveryType": {
"type": "string",
"enum": [
"shipping",
"pickup"
],
"description": "Keep only the products available with the selected fulfillment method. Default is `shipping`. Note that `pickup` is answered against one Walmart store, so an item in stock nationally can still be unavailable for `pickup` nearby - the response then reports that nothing matched the filters rather than that the query had no results."
},
"facet": {
"type": "string",
"description": "Walmart filter in the `name:value` form, for example `brand:Great Value`. Every value available for a query is listed in the facets block of the response, each one carrying the exact string to send back here, so a first unfiltered request tells you what can be filtered on. To combine filters, put each one on its own line. The double-pipe form Walmart's own urls use `brand:Great Value||retailer_type:Walmart` is also accepted."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis