Walmart Data Extractor
3 days trial then $30.00/month - No credit card required now
Walmart Data Extractor
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.
You can access the Walmart Data Extractor programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "startUrls": [
12 {
13 "url": "https://www.walmart.com/browse/auto-tires/brake-pads/91083_1074765_9038935_4582920"
14 },
15 {
16 "url": "https://www.walmart.com/browse/home/"
17 },
18 {
19 "url": "https://www.walmart.com/search?grid=true&query=Mixed+Bouquets"
20 },
21 {
22 "url": "https://www.walmart.com/ip/Mainstays-Blue-Sunflower-Mix-Bouquet/155345382"
23 }
24 ],
25 "maxItems": 50,
26 "endPage": 1,
27 "extendOutputFunction": ($) => {
28 const result = {};
29 // Uncomment to add a title to the output
30 // result.title = $('title').text().trim();
31
32 return result;
33 },
34 "outputFilterFunction": (object) => ({...object}),
35 "proxy": {
36 "useApifyProxy": true
37 }
38};
39
40// Run the Actor and wait for it to finish
41const run = await client.actor("epctex/walmart-scraper").call(input);
42
43// Fetch and print Actor results from the run's dataset (if any)
44console.log('Results from dataset');
45console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
46const { items } = await client.dataset(run.defaultDatasetId).listItems();
47items.forEach((item) => {
48 console.dir(item);
49});
50
51// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Walmart Product Data Extractor API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Walmart Data Extractor API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include:
Actor Metrics
30 monthly users
-
8 stars
>99% runs succeeded
1.7 days response time
Created in Apr 2021
Modified 21 hours ago