# Walmart Business Email Scraper (`w3crawler/walmart-business-email-scraper`) Actor

Find publicly disclosed Walmart business emails from public pages and indexed Walmart results without Walmart login, private APIs, mailbox verification, or private-account access.

- **URL**: https://apify.com/w3crawler/walmart-business-email-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 b2b emails

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Business Email Scraper

Find business email addresses that Walmart or its public pages already disclose, then save them with the page context that proves where each address came from. Supply a public Walmart seed page for direct inspection, or let the Actor build bounded public search queries from your keywords and B2B patterns. Every row keeps the source URL, page title, matched pattern, keyword, and surrounding evidence; the Actor does not log in, use private APIs, verify mailboxes, or infer an address from a name.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/walmart-business-email-scraper) and select **Try for free**, or open the **Input** tab.
2. Keep the bundled `keywords` and `startUrls` example, or replace them with your own industry terms and public `walmart.com` pages. At least one keyword is required by the runner.
3. Set `mode` to `b2b` to exclude common personal mailbox providers, or `personal` to keep every disclosed address. Keep `maxEmails` small for the first run.
4. Start the Actor, open the dataset, and export the saved rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT`) to see searches, fetched pages, failures, and unique email counts.

### Input

The bundled example input is ready to use. `keywords`, or one of its aliases, must provide at least one non-empty term; the other fields are optional. Invalid Walmart hosts, unknown pattern IDs, and empty keyword sets are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `keywords` | string array | Conditional | `["investor"]` | Industry, niche, or seller terms used to build public search queries. Supply 1 to 50 terms, or use one of the aliases below. |
| `searchTerms` | string array | Optional | Not supplied | Compatibility alias read only when `keywords` is absent; up to 50 terms. |
| `search_terms` | string array | Optional | Not supplied | Another compatibility alias for `keywords`; up to 50 terms. |
| `queries` | string array | Optional | Not supplied | Another compatibility alias for `keywords`; up to 50 terms. |
| `keyword` | string | Optional | Not supplied | Single-term compatibility alias, up to 200 characters. |
| `platform` | string | Optional | `Walmart.com` | Target platform. Only `Walmart.com` or `walmart.com` is accepted; the value is normalized to `Walmart.com`. |
| `location` | string | Optional | Not supplied | City, region, or country phrase appended to public search queries, up to 120 characters. |
| `mode` | string enum | Optional | `b2b` | `b2b` drops common personal mailbox providers; `personal` keeps all source-disclosed addresses. |
| `maxEmails` | integer | Optional | `5` | Maximum unique email rows saved in the run, from 1 to 50,000. The bundled example uses 5; the code fallback is 10. |
| `maxEmailsPerPattern` | integer | Optional | `5` | Per-pattern cap on saved rows, from 1 to 1,000. The bundled example uses 5; the code fallback is 15. |
| `selectedPatterns` | string array | Optional | `["investor_relations"]` | Pattern IDs to search, up to 29. An empty list uses all supported patterns. |
| `patterns` | string array | Optional | Not supplied | Compatibility alias for `selectedPatterns`, up to 29 IDs. |
| `startUrls` | object array | Optional | `[{"url":"https://stock.walmart.com/company-information/contacts"}]` | Up to 100 public Walmart pages to inspect directly. Each entry needs a `url` on a `walmart.com` subdomain. When supplied, public search is skipped. |
| `maxSearchResults` | integer | Optional | `5` | Public search results inspected per keyword and pattern query, from 1 to 50. The bundled example uses 5; the code fallback is 10. |
| `timeoutSecs` | integer | Optional | `30` | Timeout for each public search or source request, from 5 to 120 seconds. |
| `userAgent` | string | Optional | Not supplied | Transparent request user-agent string, up to 300 characters. Stealth fingerprints and bypasses are not used. |

Full example input, matching the Actor's bundled input file:

```json
{
  "keywords": [
    "investor"
  ],
  "platform": "Walmart.com",
  "mode": "b2b",
  "maxEmails": 5,
  "maxEmailsPerPattern": 5,
  "selectedPatterns": [
    "investor_relations"
  ],
  "startUrls": [
    {
      "url": "https://stock.walmart.com/company-information/contacts"
    }
  ],
  "maxSearchResults": 5,
  "timeoutSecs": 30
}
```

Keyword aliases are resolved in this order: `keywords`, `searchTerms`, `search_terms`, `queries`, then `keyword`. When `startUrls` contains at least one page, the Actor inspects those pages directly and does not run public search, so `searches` stays 0 in the summary. When `startUrls` is empty, it builds one public query per keyword and selected pattern, capped by `maxSearchResults`, then fetches the candidate Walmart pages. Only HTTPS pages on `walmart.com` or its subdomains are accepted. The Actor saves only addresses already present in page text or a public search snippet; it does not guess an address from a person or domain.

### Output

The dataset contains one row per unique source-disclosed email. Values that are not present in the source are omitted rather than inferred, and diagnostics are written only to logs and `OUTPUT`, never as dataset rows.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `email` | string | Always | Email address exactly as disclosed by the public source, lowercased for deduplication. |
| `leadType` | string | Always | Mode used for the row: `b2b` or `personal`. |
| `pattern` | string | Always | Pattern ID that matched the page or query, such as `investor_relations` or `public_email`. |
| `keyword` | string | Always | Keyword associated with the row; direct page runs use the first supplied keyword. |
| `location` | string | When published | Location phrase used in the search query, when one was supplied. |
| `network` | string | Always | Platform constant; `Walmart.com`. |
| `title` | string | When published | Title of the public page or search result. |
| `description` | string | When published | Description or snippet associated with the result. |
| `url` | string | Always | Public Walmart URL that disclosed the email, or the indexed result URL. |
| `scraped_at` | string | Always | Time the row was saved, in ISO UTC. |
| `search_engine` | string | When published | Search engine label when the email came from a public indexed result. |
| `search_query` | string | When published | Query that produced the indexed result. |
| `source_evidence` | string | When published | Nearby page text around the email, bounded and redacted for credential-like strings. |

Real saved row from the 2026-08-28 run, limited to the fields declared in the current dataset schema:

```json
{
  "email": "ir@walmart.com",
  "leadType": "b2b",
  "pattern": "investor_relations",
  "keyword": "investor",
  "network": "Walmart.com",
  "title": "Contacts",
  "url": "https://stock.walmart.com/company-information/contacts",
  "scraped_at": "2026-08-28T21:31:25.848Z",
  "source_evidence": "Board of Directors Board Committees Governance Documents Company Info Company Profile Leadership Contacts Information Request FAQ Investor Relations IR@walmart.com Transfer Agent Computershare T: 1-800-438-6278 Auditor Ernst and Young LLP email Email Alerts location_city Company Profile contact_page Contacts account_tree Sitemap accessibility Accessibility Statement About News Pur"
}
```

The saved row also contains four legacy keys that are not declared by the current dataset schema: `source_method` (`direct_public_page`), `source_status` (`200`), `content_type` (`text/html; charset=UTF-8`), and `record_type` (`email`). They came from the 2026-08-28 implementation and are excluded above because the schema does not define them. Current code writes `location`, `description`, `search_engine`, and `search_query` only when the source supplies them; all four are absent from this direct-page row.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT`.

| Field | Meaning |
| --- | --- |
| `status` | Actor outcome: `SUCCEEDED` or `FAILED`. |
| `started_at` | Time the collection started, in ISO UTC. |
| `finished_at` | Time the summary was written, in ISO UTC. |
| `record_count` | Number of email rows saved. |
| `email_count` | Number of rows containing an email. |
| `unique_email_count` | Number of distinct email addresses saved. |
| `diagnostic_count` | Search and source issues recorded outside the dataset. |
| `searches` | Public search queries executed. Direct `startUrls` runs report 0. |
| `candidate_urls` | Candidate URLs returned by public search. |
| `fetched_urls` | Walmart pages requested for email inspection. |
| `search_failures` | Search requests that failed. |
| `source_failures` | Source pages that failed, timed out, were blocked, or contained no public email. |
| `platform` | Platform used for the run; `Walmart.com`. |
| `public_only` | Whether the run was restricted to public sources; `true`. |
| `private_access` | Whether private access was used; `false`. |
| `dataStatus` | Completeness: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Emails were saved and no search or source issue was recorded. |
| `SUCCEEDED` | `PARTIAL` | Emails were saved, but at least one search or source issue occurred. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The run completed cleanly but found no source-disclosed email. |
| `FAILED` | `FAILED` | No email was saved because of a fatal or source failure. |

Real saved `OUTPUT` from the 2026-08-28 run:

```json
{
  "status": "SUCCEEDED",
  "started_at": "2026-08-28T21:31:25.329Z",
  "finished_at": "2026-08-28T21:31:25.849Z",
  "record_count": 1,
  "email_count": 1,
  "unique_email_count": 1,
  "diagnostic_count": 0,
  "searches": 0,
  "candidate_urls": 0,
  "fetched_urls": 1,
  "search_failures": 0,
  "source_failures": 0,
  "platform": "Walmart.com",
  "public_only": true,
  "private_access": false
}
```

This 2026-08-28 summary predates the current key-value-store schema, which requires `dataStatus` and `runStatus` in addition to the fields above. They are not present in the saved file, so they are not invented here. Current code adds `dataStatus` when the summary is built and `runStatus` before saving `OUTPUT`, and also writes `RUN_HEALTH` with the status, public-only flags, email row count, diagnostic count, and a non-empty-output check.

### Coverage and limitations

The Actor reads only public `walmart.com` content and public indexed results. It does not log in, use private APIs, verify mailbox ownership or deliverability, send email, solve CAPTCHAs, rotate stealth fingerprints, or bypass access controls. An address is saved only when the source already publishes it; the Actor never constructs `name@domain` guesses or enriches a person from another site.

When `startUrls` is supplied, search is skipped entirely. Otherwise, one search per keyword/pattern pair can increase run time and request volume, and `maxSearchResults` bounds how many results are inspected per query. Public snippets are retained only when they already contain the email; PDFs are not parsed, and access boundaries, timeouts, and empty pages become diagnostics. B2B mode filters common personal mailbox providers but does not guarantee that every remaining address belongs to a business. Email disclosure, page titles, and search results can change after collection.

The current saved dataset row contains legacy fields that the dataset schema does not declare, and the saved `OUTPUT` lacks two fields now required by the key-value-store schema. Both are historical data-shape mismatches, not values the README can correct. Treat the row and summary above as the real 2026-08-28 artifacts, not as a guarantee of the current schema's exact key set.

### Usage and support

Cost depends on Apify compute, the number of search queries, candidate pages fetched, and the configured timeout. Start with one seed page or one keyword and a small `maxEmails`, inspect the dataset and `OUTPUT`, then expand. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/walmart-business-email-scraper/issues) to report a problem. Include the run ID, input, and summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Walmart. Use it only for public data and in accordance with Walmart's terms, robots guidance, and applicable law. Business contact details can be personal information in some jurisdictions; use the output only for lawful, permission-appropriate contact.

# Actor input Schema

## `keywords` (type: `array`):

Industries, niches, or seller terms used to build public search queries.

## `searchTerms` (type: `array`):

Compatibility alias for keywords.

## `search_terms` (type: `array`):

Compatibility alias for keywords.

## `queries` (type: `array`):

Compatibility alias for keywords.

## `keyword` (type: `string`):

Compatibility alias for one keyword.

## `platform` (type: `string`):

This target is locked to Walmart.com and its public subdomains.

## `location` (type: `string`):

Optional city, region, or country phrase appended to public queries.

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

B2B excludes common personal mailbox providers; personal keeps all source-disclosed emails.

## `maxEmails` (type: `integer`):

Maximum unique email rows emitted.

## `maxEmailsPerPattern` (type: `integer`):

Per-pattern cap used while searching in B2B mode.

## `selectedPatterns` (type: `array`):

Pattern IDs to search. Empty uses all supported patterns.

## `patterns` (type: `array`):

Compatibility alias for selectedPatterns.

## `startUrls` (type: `array`):

Optional bounded public Walmart pages to inspect directly. Every URL must remain on a walmart.com subdomain.

## `maxSearchResults` (type: `integer`):

Bounded public search results inspected for each keyword/pattern query.

## `timeoutSecs` (type: `integer`):

Timeout for each public source or search request.

## `userAgent` (type: `string`):

Optional transparent request user agent. Stealth fingerprints and bypasses are not used.

## Actor input object example

```json
{
  "keywords": [
    "investor"
  ],
  "platform": "Walmart.com",
  "mode": "b2b",
  "maxEmails": 10,
  "maxEmailsPerPattern": 15,
  "selectedPatterns": [],
  "startUrls": [],
  "maxSearchResults": 10,
  "timeoutSecs": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/walmart-business-email-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/walmart-business-email-scraper").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 '{}' |
apify call w3crawler/walmart-business-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/walmart-business-email-scraper"
        }
    }
}
```

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/eLacDcqIoFb2sepGQ/builds/mAA0H21OycZ3jsSRT/openapi.json
