# Walmart API

Compare product details, prices and buyer reviews using search terms or item URLs for market research.

Get product details and reviews by item URL. Searches use the US store and return one page of results.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "walmart", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/walmart-api](https://everyinfra.com/en/walmart-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find Walmart products for a search term. Each product has brand, current and was price, rating, stock status, seller and UPC barcode. `lang` switches the display between English and French only. Results stay on the US storefront and do not confirm local store inventory.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `keyword` (required): Specifies the product search term for the search action. The search targets the US Walmart storefront and fetches a single page of results. It does not search store locations or product reviews.
  - `lang` (optional): Sets the display language for the search and profile actions. Allowed values are en (English, default) and fr (French). This parameter changes only the interface language, not the storefront region or review filtering. One of: en, fr.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: item_id, name, url, price, was_price, currency, rating, rating_scale, review_count, in_stock, seller_name, category, image_url, platform, brand, availability, condition, upc
- Capability page: [https://everyinfra.com/en/walmart-api/search](https://everyinfra.com/en/walmart-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/walmart-api/search.md)

### profile — Product details
Look up one Walmart product from its walmart.com/ip/ link and get price, was price, stock flags, seller, UPC, description, highlights, images and return policy. Neither `item_id` nor `upc` stands for a seller's private SKU or a reserved unit.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Specifies the full walmart.com/ip/ product URL for the profile, reviews, and product_detail actions. Note that profile and product_detail return product metadata rather than user account profiles, while reviews retrieves customer reviews for that product.
  - `lang` (optional): Sets the display language for the search and profile actions. Allowed values are en (English, default) and fr (French). This parameter changes only the interface language, not the storefront region or review filtering. One of: en, fr.
- Returns fields: item_id, name, url, brand, price, was_price, currency, rating, rating_scale, review_count, in_stock, availability, seller_name, category, condition, upc, image_url, platform, description, highlights, images, return_policy, is_returnable, badges
- Capability page: [https://everyinfra.com/en/walmart-api/profile](https://everyinfra.com/en/walmart-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/walmart-api/profile.md)

### reviews — Reviews
Read customer reviews of one Walmart product, up to 300 per call. Each review has rating, date, helpful and unhelpful votes and a verified-purchase flag. A missing verified-purchase mark does not prove there was no purchase. `product_review_count` is the overall total for the product, not the size of this batch.
- Sync delivery · Price: $1.39 per 1,000 requests (every 40 rows count as one call)
- Catalog values: defaultLimit=40, maxLimit=300. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `url` (required): Specifies the full walmart.com/ip/ product URL for the profile, reviews, and product_detail actions. Note that profile and product_detail return product metadata rather than user account profiles, while reviews retrieves customer reviews for that product.
- Returns fields: review_id, title, text, rating, rating_scale, posted_at, author_name, helpful_count, negative_count, is_recommended, is_verified_purchase, product_id, product_name, seller_name, product_rating, product_review_count, platform, images
- Capability page: [https://everyinfra.com/en/walmart-api/reviews](https://everyinfra.com/en/walmart-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/walmart-api/reviews.md)

### product_detail — Product details
Get a compact Walmart product record from a walmart.com/ip/ link. It has name, product text, brand, price and original price, stock, rating and seller. Unlike `profile`, it keys the product as `id`. `in_stock` may come back as text or a boolean. Not every variant or seller offer is promised.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Specifies the full walmart.com/ip/ product URL for the profile, reviews, and product_detail actions. Note that profile and product_detail return product metadata rather than user account profiles, while reviews retrieves customer reviews for that product.
- Returns fields: id, url, name, text, brand, price, original_price, currency, in_stock, rating, rating_scale, review_count, seller_name, category, image_url, platform
- Capability page: [https://everyinfra.com/en/walmart-api/product_detail](https://everyinfra.com/en/walmart-api/product_detail?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/walmart-api/product_detail.md)

### seller_products — Seller products
List the products one Walmart third-party seller has for sale, by numeric `seller_id` or a walmart.com/seller/ link. Each product has item ID, name, price and was price, rating, review count, stock status, images and a sponsored flag. `sort` orders by relevance, price, popularity, rating or newest. About 40 per page; follow `next_page_token` for up to 25 pages.
- Sync delivery · Price: $0.56 per 1,000 requests
- Each call returns one page of up to 40 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.
- Parameters:
  - `seller_id` (required): For `seller_products`, a numeric Walmart third-party seller ID such as `103206265`, as found in a walmart.com/seller/ link; the link itself also works. Items sold by Walmart itself have no seller page.
  - `page_token` (optional): Page token for `seller_products`. Leave it out for the first page; when the response has `next_page_token`, pass it back unchanged as `page_token`, with `seller_id` and `sort` unchanged. About 40 products per page, up to 25 pages; each page counts as one call.
  - `sort` (optional): Order for `seller_products`: `relevance` (default), `price_asc`, `price_desc`, `popular`, `top_rated` or `newest`. Other values are rejected before you are charged. One of: newest, popular, price_asc, price_desc, relevance, top_rated.
- Returns fields: item_id, name, url, price, was_price, currency, rating, rating_scale, review_count, in_stock, seller_name, image_url, image_urls, is_sponsored, collected_at, platform
- Capability page: [https://everyinfra.com/en/walmart-api/seller_products](https://everyinfra.com/en/walmart-api/seller_products?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/walmart-api/seller_products.md)

## Walmart API questions

### What can I retrieve with the Walmart API?

Set `platform` to `walmart`. The current catalog lists search, product details, reviews, product details, and seller products. These action names identify different Walmart objects or views; they are not interchangeable search modes.

### Which input starts the Walmart `search` request?

Specifies the product search term for the search action. The search targets the US Walmart storefront and fetches a single page of results. It does not search store locations or product reviews. Send it as `keyword` inside `params`.

### Which fields can Walmart `search` return?

Its declared schema includes `item_id`, `name`, `price`, and `was_price`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Walmart action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=walmart
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
