Walmart Data Extractor avatar
Walmart Data Extractor
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Walmart Data Extractor

Walmart Data Extractor

epctex/walmart-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Access a vast array of product data from Walmart with our Walmart Scraper. Extract images, brand details, prices, variations, and more. Customize your search with filters, categories, and lists to gather the information you need.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    {
9      "url": "https://www.walmart.com/browse/auto-tires/brake-pads/91083_1074765_9038935_4582920"
10    },
11    {
12      "url": "https://www.walmart.com/browse/home/"
13    },
14    {
15      "url": "https://www.walmart.com/search?grid=true&query=Mixed+Bouquets"
16    },
17    {
18      "url": "https://www.walmart.com/ip/Mainstays-Blue-Sunflower-Mix-Bouquet/155345382"
19    }
20  ],
21  "maxItems": 50,
22  "endPage": 1,
23  "extendOutputFunction": "($) => {\n    const result = {};\n    // Uncomment to add a title to the output\n    // result.title = $('title').text().trim();\n\n    return result;\n}",
24  "outputFilterFunction": "(object) => ({...object})",
25  "proxy": {
26    "useApifyProxy": true
27  }
28}
29EOF
30
31# Run the Actor using an HTTP API
32# See the full API reference at https://docs.apify.com/api/v2
33curl "https://api.apify.com/v2/acts/epctex~walmart-scraper/runs?token=$API_TOKEN" \
34  -X POST \
35  -d @input.json \
36  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 22 monthly users
  • 6 stars
  • 99.5% runs succeeded
  • Created in Apr 2021
  • Modified about 16 hours ago
Categories