Discover/Walmart API
live

Walmart APIwalmart.com

Search Walmart products, fetch product details, read customer reviews, and browse category listings via a single structured API with 4 endpoints.

Endpoint health
verified 10h ago
get_product_details
get_product_reviews
get_category_listings
search_products
4/4 passing latest checkself-healing
Endpoints
4
Updated
22d ago

What is the Walmart API?

The Walmart.com API covers 4 endpoints that return product search results, detailed product data, customer reviews, and category listings directly from Walmart.com. The search_products endpoint returns up to dozens of fields per item including price, rating, review count, availability badges, and sponsored status, while get_product_details exposes variants, seller information, fulfillment options, and a full image array for any individual product.

Try it
Page number for pagination
Sort order for results
Search keyword (e.g. 'laptop', 'wireless headphones')
Facet filter string to narrow results (e.g. 'brand:Samsung')
api.parse.bot/scraper/17a61761-c01e-4c8c-8a28-89538156d89e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/17a61761-c01e-4c8c-8a28-89538156d89e/search_products?page=1&sort=best_match&query=laptop' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace walmart-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Walmart API — search, drill into details, read reviews, browse categories."""
from parse_apis.walmart_api import Walmart, Sort, ProductNotFound

client = Walmart()

# Search for laptops sorted by lowest price, capped at 5 results
for product in client.productsummaries.search(query="laptop", sort=Sort.PRICE_LOW, limit=5):
    print(product.name, product.price, product.rating)

# Drill into the first search result's full details
item = client.productsummaries.search(query="wireless headphones", limit=1).first()
if item:
    detail = item.details()
    print(detail.name, detail.brand, detail.price, detail.availability)
    for spec in detail.specifications[:3]:
        print(spec.name, spec.value)

    # Read customer reviews for that product
    for review in detail.reviews(limit=3):
        print(review.rating, review.userNickname, review.reviewTitle)

# Browse a category by constructing it directly
food = client.category(category_id="976759")
for product in food.products(slug="food", limit=3):
    print(product.name, product.price, product.review_count)

# Typed error handling: attempt to fetch a product that doesn't exist
try:
    missing = client.products.get(product_id="0000000000")
    print(missing.name)
except ProductNotFound as exc:
    print(f"Product not found: {exc.product_id}")

print("exercised: productsummaries.search / item.details / product.reviews / category.products / products.get")
All endpoints · 4 totalmissing one? ·

Full-text search over Walmart product catalog. Returns paginated product summaries with price, rating, and availability badges. Supports sorting and facet filtering. Each ProductSummary can be drilled into via get_product_details for full specifications.

Input
ParamTypeDescription
pageintegerPage number for pagination
sortstringSort order for results
queryrequiredstringSearch keyword (e.g. 'laptop', 'wireless headphones')
filtersstringFacet filter string to narrow results (e.g. 'brand:Samsung')
Response
{
  "type": "object",
  "fields": {
    "items": "array of product summary objects with id, us_item_id, name, price, rating, review_count, image, url, badge, is_sponsored",
    "facets": "array of available filter facets",
    "total_pages": "integer total number of pages",
    "current_page": "integer current page number or null",
    "total_results": "integer total number of matching products"
  },
  "sample": {
    "data": {
      "items": [
        {
          "id": "24H72HS7PA9J",
          "url": "https://www.walmart.com/ip/example/19075520026",
          "name": "Lenovo IdeaPad Slim 3x 15.3\" Laptop",
          "badge": "",
          "image": "https://i5.walmartimages.com/seo/example.jpeg",
          "price": 449,
          "rating": 4.5,
          "us_item_id": "19075520026",
          "is_sponsored": true,
          "review_count": 119
        }
      ],
      "facets": [],
      "total_pages": 14,
      "current_page": null,
      "total_results": 67
    },
    "status": "success"
  }
}

About the Walmart API

Endpoints and Data Coverage

The API provides four endpoints: search_products, get_product_details, get_product_reviews, and get_category_listings. Search accepts a query string and optional sort values (best_match, price_low, price_high) along with a filters facet string. Each result in the items array includes id, us_item_id, name, price, rating, review_count, image, url, badge, and is_sponsored. The response also returns facets, total_results, total_pages, and current_page for building pagination and filter UIs.

Product Details and Reviews

get_product_details accepts either a product_id (Walmart usItemId) or a full product url — at least one must be supplied. The response includes brand, price, currency, images (array of URLs), rating, seller (name and id), and a variants array describing configurable product options. get_product_reviews takes a product_id and optional page number, returning individual review objects with rating, reviewText, userNickname, and reviewSubmissionTime, alongside aggregate average_rating and total_reviews, plus a pagination object with currentSpan, next, previous, and pages.

Category Browsing

get_category_listings requires a category_id (for example 976759 for food or 1115193 for electronics) and optionally a slug matching the browse URL path. It returns the same items shape as search, with facets and pagination fields. This endpoint may occasionally return a blocked status due to bot-detection conditions on the source site; transient failures of this type are documented behavior and should be handled with a retry.

Reliability & maintenanceVerified

The Walmart API is a managed, monitored endpoint for walmart.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when walmart.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official walmart.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
10h ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track price changes for specific products by polling get_product_details on a schedule and comparing the price field
  • Build a product comparison tool using search_products results filtered by facets and sorted by price_low
  • Aggregate customer sentiment by pulling reviewText and rating fields from get_product_reviews across multiple product IDs
  • Monitor whether a specific product is sponsored using the is_sponsored flag in search and category listing results
  • Populate an electronics catalog by browsing category ID 1115193 with get_category_listings and storing returned us_item_id values
  • Identify available product variants (size, color, etc.) for a listing using the variants array in get_product_details
  • Cross-reference seller name and seller ID from the seller object in product details to track third-party marketplace listings
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Walmart have an official developer API?+
Walmart operates an official API for approved partners through the Walmart Developer Portal at developer.walmart.com, primarily targeted at sellers and affiliates. Access requires application approval. This Parse API provides structured product data without requiring a partner relationship.
What does `get_product_details` return beyond basic price and name?+
Beyond price and name, the response includes brand, currency, an images array of full-resolution URLs, an average rating, a seller object with seller name and ID, and a variants array describing configurable options like size or color. Either a product_id (the Walmart usItemId) or a full product url must be supplied; both are optional individually but at least one is required.
Are there known reliability issues with any endpoint?+
get_category_listings documents that it may return a blocked status due to bot-detection conditions on the Walmart site. These are transient failures. Building in a retry loop when a blocked status is returned is the recommended approach.
Does the API return inventory quantity or in-store availability data?+
Not currently. The API returns availability badge indicators (such as 'in stock' labels) in search and category results, and fulfillment options are noted in get_product_details, but numeric inventory quantities and granular store-level availability are not exposed as discrete fields. You can fork this API on Parse and revise it to add an endpoint targeting that data.
Can I retrieve seller feedback or seller ratings separately from product reviews?+
Not currently. The get_product_details endpoint returns a seller object with name and ID, and get_product_reviews returns customer reviews tied to the product. Dedicated seller feedback scores or seller-level review aggregates are not covered by any current endpoint. You can fork this API on Parse and revise it to add a seller-focused endpoint.
Page content last updated . Spec covers 4 endpoints from walmart.com.
Related APIs in EcommerceSee all →
walmart.com.mx API
Search and browse Walmart Mexico's product catalog to access real-time pricing, availability, and detailed product information across all categories. Find similar items and compare options to make informed shopping decisions.
walmart.ca API
Search Walmart Canada products and retrieve detailed information like prices, availability, and specifications. Find nearby Walmart pharmacy locations to check services and hours.
amazon.com API
Search and browse Amazon products, reviews, offers, and deals, then manage your shopping cart all through a single integration. Get detailed product information, seller profiles, and best sellers to compare prices and make informed purchasing decisions.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
asda.com API
Access data from asda.com.
amzn.to API
Search Amazon products and retrieve detailed information including pricing, reviews, and specifications, plus discover current best sellers across categories. Get real-time product data to compare options and find trending items on Amazon.
verkkokauppa.com API
Search and browse products from Verkkokauppa.com to find items across categories, check real-time prices and availability, read customer reviews, and discover deals in outlet and clearance sections. Filter products by your preferences and get detailed product information including specifications and store stock levels.
mercadolibre.com.mx API
Search for products on Mercado Libre Mexico, view detailed product information with pricing and offers, browse categories, and research seller details all in one place. Access live marketplace data including product listings, category hierarchies, and current offers to help you find and compare items across Mexico's largest e-commerce platform.