# Walmart Buy Box & All Sellers Scraper (`fikrialfaraby04/walmart-buybox-all-sellers`) Actor

Walmart Buy Box winner and every seller on a listing (new, restored, open box), store-pinned prices for your ZIP, badges, stock and full product content. All-in: proxy included.

- **URL**: https://apify.com/fikrialfaraby04/walmart-buybox-all-sellers.md
- **Developed by:** [Fikri Alfaraby](https://apify.com/fikrialfaraby04) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 57.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 product results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Walmart Buy Box & All Sellers Scraper

**All-in price: $10 per 1,000 products.** Residential proxy, browser and Apify compute included. No proxy setup, no surprise usage bill.

For every Walmart product you give it, this Actor returns:

- the Buy Box winner, with price and seller;
- every other seller, in every condition (new, restored, pre-owned, open box);
- badges, product content and a ship-to ZIP confirmation.

Prices are read for the Walmart store nearest to the ZIP you choose. The Actor uses Walmart's own store selection, so the location does not depend on where the proxy exits.

Built and maintained by BuyBox Ledger. It runs the same engine as the BuyBox Ledger daily Buy Box watch.

### Why this one

On 16 Nov 2026 we ran the most-used Walmart Actors on the same 30 contested listings (refurbished, open-box and electronics, several sellers each), in the same 20-minute window.

| Actor | Products with data (of 30) | Buy Box seller | All other sellers | Location stated | Store price |
|---|---|---|---|---|---|
| **This Actor** | **30** | ✓ | ✓ | ✓ (29/30 confirmed) | **$10 / 1,000 products, all-in** |
| epctex/walmart-scraper | 0 (blocked) | — | — | — | $2.90 / 1,000 + platform usage |
| e-commerce/walmart-product-detail-scraper | 27 | — | — (count only) | — | $5 / 1,000 |
| saswave/walmart-seller-competition-monitoring | 9 | ✓ | ✓ | — | $2 / 1,000 seller rows |
| johnvc/walmart-api (sellers) | 10, then its free cap stopped it | ✓ | ✓ | — | $18 / 1,000 seller rows |

That run used an earlier build. Since then, three things changed:

- the seller list covers every condition (one listing went from 1 offer to 15);
- the Buy Box is taken from the product page's own offer;
- product content and a reviews mode were added.

### What you get per product

| Group | Fields |
|---|---|
| Buy Box | `price`, `was`, `seller`, `sellerId`, `buyBoxSource` |
| Every seller | `allSellerOffers` (price, condition, fulfillment per offer), `additionalOfferCount`, `allSellerOffersStatus`, `lowestOtherPrice`, `lowestOtherSeller`, `buyBoxGap` |
| Badges and stock | `boughtSinceYesterday`, `inCarts`, `badge_texts`, `isLowInStock`, `buyBoxSuppression`, `availability` |
| Product content | `content` (UPC, model, brand, short and long description, highlights, specifications, warnings, warranty, variants), `images`, `categoryPath`, `rating`, `reviewCount`, `ratingHistogram`, `wfsEnabled` |
| Location | `requested_postalCode`, `storeId`, `storePostalCode`, `observed_postalCode`, `location_status`, `reader` |
| Status | `status` (`ok` / `blocked` / `error`), `error`, `elapsed_s`, `scraped_at` |

A product that could not be read comes back as a row with `status` ≠ `ok` and the reason in `error`, never as an empty success. Rows are written to the dataset as each product finishes. A run summary is stored as `SUMMARY` in the key-value store.

**Reviews mode** (`mode: reviews`) returns paged review texts per product (10 per page, newest first): rating, date, verified flag and the seller's responses.

### Input

| Field | Meaning |
|---|---|
| `mode` | `products` (default) or `reviews` |
| `productUrls` / `itemIds` | Walmart products, bulk |
| `searchKeyword` + `searchLimit` | Optional: search Walmart, then read the results |
| `sellerId` + `sellerLimit` | Optional: a seller's shop-all list, then read each product |
| `postalCode` | US ZIP you want prices for (default `60602`) |
| `maxProducts` | Cap per run, 1–100 (default 30) |
| `reviewsPages` | Review pages per product in reviews mode (1–10) |

You never need a proxy. The Actor brings its own US residential proxy, and there is no proxy field.

### How location works

1. The Actor finds the Walmart store nearest to your ZIP and pins it with Walmart's own "Make this my store" call.
2. It re-pins every 4 products, because Walmart drops a guest's pin after about 5 pages.
3. A row is `confirmed` only when the product page itself ships to that store's ZIP. Cookies are never taken as proof.
4. If Walmart refuses the pin for a whole run, products are still read through the plain residential route, and their rows say `location not confirmed`.

### Pricing

- **$10 per 1,000 products, all-in:** $0.01 per product row with `status: ok`, charged as the pay-per-event `product-result`.
- Residential proxy, browser and Apify compute are included. There is no proxy setup and no surprise usage bill.
- Failed rows are not charged.
- Reviews mode charges one `reviews-item` per product returned.

### Measured runs

| Run | Build | OK | Location confirmed | Sec/product | Apify cost |
|---|---|---|---|---|---|
| [mQYmABN9hp0P2Fxgn](https://console.apify.com/view/runs/mQYmABN9hp0P2Fxgn) | 0.1.7 (IP-located) | 30/30 | 29/30 (served ZIP 60649) | 7.1 | $0.0518 |
| [JyMFgl58EbxkAOd0k](https://console.apify.com/view/runs/JyMFgl58EbxkAOd0k) | 0.1.15 (store-pinned + PerimeterX token fix, Webshare Chicago) | **10/10** | **9/10** at store 5402 (60639); the 10th is pickup-only, with no ship-to label | 4.4 (wall 43.5 s incl. ~20 s browser setup) | $0.0129 |
| [HNvWNI04gNLv81vbC](https://console.apify.com/view/runs/HNvWNI04gNLv81vbC) | 0.1.13 (store-pinned, Webshare Chicago) | 30/30 | 8/30 at store 5402 (60639); 22 read on the fallback route from Chicago ZIP 60617, unconfirmed | 12.1 (wall 364 s; p50 7.6) | $0.0865 |

Run JyMFgl58EbxkAOd0k details (latest build):

- 10/10 priced, with the seller list known on 10/10 and product content on 10/10;
- 0 reads blocked by Walmart's bot check, 0 exit changes, 0 products on the backup route;
- Apify cost $0.0129 for 10, about $1.29 per 1,000 products.

Run HNvWNI04gNLv81vbC details (build 0.1.13, before the PerimeterX token fix):

- every product returned a price;
- the seller list was known on 29/30, and product content was present on 30/30;
- after 8 pinned reads, Walmart's bot check blocked 16 reads on the pinned page, and the 3 exit changes ran out. The other 22 products were read on the plain residential route.

The store-pinned engine is proven on the BuyBox Ledger server:

- 30/30 OK and 30/30 confirmed at Chicago store 5402, in 2 min 50 s;
- 20/20 confirmed at Arkansas store 100 from an exit in another state.

# Actor input Schema

## `mode` (type: `string`):

products: price, Buy Box, all sellers and product content per item. reviews: paged review texts per item.

## `productUrls` (type: `array`):

Walmart product page URLs (https://www.walmart.com/ip/...).

## `itemIds` (type: `array`):

Walmart usItemId values (digits). Converted to /ip/{id} URLs.

## `searchKeyword` (type: `string`):

If set, runs a Walmart search and scrapes up to searchLimit product results.

## `searchLimit` (type: `integer`):

Max products to take from searchKeyword (1–40).

## `sellerId` (type: `string`):

Walmart catalogSellerId or storefront URL. When set with sellerLimit, scrapes that seller's shop-all catalog then each product.

## `sellerLimit` (type: `integer`):

Max products from seller shop-all (1–40).

## `postalCode` (type: `string`):

US ZIP you want prices for (5 digits). The Actor pins Walmart's nearest store to this ZIP with Walmart's own store selection, so prices are for that store whatever the proxy exit. Each row reports storePostalCode, observed_postalCode and location_status.

## `maxProducts` (type: `integer`):

Cap on products this run, after URL/ID/search/seller expansion (1–100).

## `reviewsPages` (type: `integer`):

Pages of 10 reviews per item, newest first (1–10).

## Actor input object example

```json
{
  "mode": "products",
  "productUrls": [],
  "itemIds": [
    "674022410",
    "233852619"
  ],
  "searchKeyword": "",
  "searchLimit": 10,
  "sellerId": "",
  "sellerLimit": 10,
  "postalCode": "60602",
  "maxProducts": 30,
  "reviewsPages": 1
}
```

# Actor output Schema

## `products` (type: `string`):

One row per Walmart product: Buy Box winner, every seller, price, badges, content and location status.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productUrls": [],
    "itemIds": [
        "674022410",
        "233852619"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fikrialfaraby04/walmart-buybox-all-sellers").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "productUrls": [],
    "itemIds": [
        "674022410",
        "233852619",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("fikrialfaraby04/walmart-buybox-all-sellers").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [],
  "itemIds": [
    "674022410",
    "233852619"
  ]
}' |
apify call fikrialfaraby04/walmart-buybox-all-sellers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fikrialfaraby04/walmart-buybox-all-sellers"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iBQRj4xcFRbDoQDj0/builds/6pNBeIkhPQ9N07dmu/openapi.json
