John Cole

Aug 18, 2026 • 2 min read

How to Scrape Walmart Product and Seller Data as JSON

Get Walmart prices, rollbacks, ratings, and every marketplace seller on a listing as structured JSON, with no seller account.

Does Walmart have an API?

Yes, with a catch. Walmart's official developer APIs are scoped to approved partners, so there is no open endpoint where you paste a key and read any product page. A scraper-as-API fills that gap.

The faster way: run the Walmart API

One Actor, a documented input, documented JSON back. Open the Walmart API on Apify, set search_mode, and run it. Here is the same call from Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("johnvc/walmart-api").call(run_input={"search_mode": "search", "query": "coffee maker", "max_results": 5})
for item in client.dataset(run.default_dataset_id).iterate_items():
 print(item["title"], item["price"], item["sellerName"])

Each row carries price, rating, and seller, plus both productId and usItemId for chaining into the other modes.

Check every seller on a listing

This is the mode I built the Actor around, and it is where competing tools fail most. Sellers mode returns one row per offer on an item: sellerDisplayName, sellerType, price, availabilityStatus, deliveryDate, and returnPolicy. You see every third party's price against the buy box, whether they have stock, when they deliver, and their return terms. If you sell on Walmart Marketplace, this is how you spot a new competitor on your own listing as soon as they show up.

Build a Walmart price history

One run is a snapshot. History comes from repetition: save your search as a task, attach an Apify schedule, and each run appends fresh rows with that day's price and wasPrice, so you catch a rollback the day it starts.

Use it from Claude via MCP

Apify exposes the Actor over the Model Context Protocol, so Claude, Claude Code, and Cursor can call it mid-conversation and answer questions like "list every seller on this item and their delivery dates" with live rows.

FAQ about scraping Walmart

Do I need a Walmart API key to use this scraper?

No. There is no Walmart developer account, seller registration, or affiliate approval involved. You authenticate with your Apify token and send JSON, and the scraper returns the public page data.

Does the Walmart scraper work with Claude and other MCP clients?

Yes. Connect the Apify MCP server and the Actor appears as a callable tool in Claude, Claude Code, or Cursor, so an agent can run a seller check or a price lookup from a prompt.

Can an AI agent pay for this scraper in USDC with x402?

Yes. The Walmart API supports agentic payments via the x402 protocol, so AI agents and MCP clients can pay for runs in USDC on Base with no Apify account or API token. Point your agent at the Apify MCP server and it can discover, pay for, and run the scraper autonomously; the Apify x402 announcement has the details.

Disclosure: the Apify links in this article are affiliate links. If you run the Actor, I may earn a referral commission at no extra cost to you.

Join John on Peerlist!

Join amazing folks like John and thousands of other builders on Peerlist.

peerlist.io/

It’s available... this username is available! 😃

Claim your username before it's too late!

This username is already taken, you’re a little late.😐

0

0

0