extract_brand_store_stockists
Extract retail stockists carrying external brands and enrich each store domain with verified buyer emails and DNS deliverability checks. Supply at least one source (urls, rawCsvOrUrls, datasetId, or sourceRunId); omitting all sources returns 0 items at $0. Optional filters (onlyIndependentStores, onlyWithEmail, minReadinessScore) gate billing before charge, while maxStoresPerBrand (1-5,000) bounds fan-out per brand. Bills $5/1K stores ($0 when empty or filtered), runs ~15-60s per brand with per-store failure isolation in OUTPUT_SUMMARY, and optionally posts to webhookUrl. Use for wholesale retail prospecting; do not use for editing your own store map or enriching corporate B2B companies (use enrich_b2b_company_leads instead).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_brand_store_stockists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Competitor brand homepages or store locator URLs, e.g. ["https://fellowproducts.com", "https://brooklynhotdogcompany.com"]. Optional when rawCsvOrUrls, datasetId, or sourceRunId is provided. | |
| datasetId | No | Optional upstream Apify Dataset ID or URL containing brand or store locator URLs. | |
| webhookUrl | No | Optional SSRF-protected HTTPS webhook URL notified with run metrics and top stockists on completion. | |
| sourceRunId | No | Optional upstream Apify Run ID or URL; automatically resolves defaultDatasetId. | |
| enrichEmails | No | Visit each unique retailer website (plus /wholesale and /contact) to extract buyer emails and social links. | |
| rawCsvOrUrls | No | Optional pasted CSV/TSV rows or newline-separated brand/locator URLs. | |
| countryFilter | No | Optional country code or name filter, e.g. "US", "GB", "CA", "AU", "DE", or "KR". | |
| onlyWithEmail | No | When true, save and bill only stores where at least one valid email is found ($0 otherwise). | |
| crmExportPreset | No | Optional flat CRM column mapping preset while preserving standard fields. | default |
| maxStoresPerBrand | No | Maximum stockist locations to return per brand (1-5,000). | |
| minReadinessScore | No | Minimum outreachReadinessScore (0-100) required to save and bill ($0 for filtered stores). | |
| enableDnsEmailCheck | No | Run out-of-band 11-query DNS MX/SPF/DMARC/BIMI checks ($0) to output deliverabilityGrade (A-F) and emailProvider. | |
| onlyIndependentStores | No | When true, skip national chains (Target, Walmart, Sephora, Whole Foods, etc.) at $0 and return independent boutiques and regional shops. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Apify Actor slug that produced these records. | |
| count | Yes | Total number of records returned in items. | |
| items | Yes | Extracted retail stockist locations enriched with buyer contacts. |