Ultimate Walmart Scraper avatar
Ultimate Walmart Scraper
Try for free

1 day trial then $30.00/month - No credit card required now

View all Actors
Ultimate Walmart Scraper

Ultimate Walmart Scraper

eneiromatos/ultimate-walmart-scraper
Try for free

1 day trial then $30.00/month - No credit card required now

This is the ultimate web scraping tool for extracting the most relevant data points from products on Walmart.com! Developed by an expert software developer, this powerful scraper is a fast and reliable tool for all your web scraping needs.

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

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "productUrls": [
11        "https://www.walmart.com/ip/The-Get-Women-s-Plus-Size-Ruffle-Trim-T-Shirt/1009843134",
12        "https://www.walmart.com/ip/Fantaslook-Womens-Tank-Tops-Summer-V-Neck-T-Shirts-Sleeveless-Tops-Side-Split-Tanks/2028341337"
13    ],
14    "listingUrls": [
15        "https://www.walmart.com/browse/clothing/womens-tops/5438_133162_2290732",
16        "https://www.walmart.com/search?q=sony"
17    ],
18    "keywords": [
19        "sony headphones"
20    ],
21    "startPageNumber": 1,
22    "finalPageNumber": 1,
23    "minPrice": 0,
24    "maxPrice": 0
25};
26
27(async () => {
28    // Run the Actor and wait for it to finish
29    const run = await client.actor("eneiromatos/ultimate-walmart-scraper").call(input);
30
31    // Fetch and print Actor results from the run's dataset (if any)
32    console.log('Results from dataset');
33    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
34    const { items } = await client.dataset(run.defaultDatasetId).listItems();
35    items.forEach((item) => {
36        console.dir(item);
37    });
38})();
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Mar 2023
  • Modified 10 months ago
Categories