# Ace Hardware Scraper: Store Prices, Deals & Stock (`moggedhq/ace-hardware-scraper`) Actor

Get Ace Hardware online prices for drills, paint or work gloves by ZIP or store ID: regular and sale prices, Ace Rewards offers, reported stock, pickup, SKU, UPC, brand, model and ratings. Search, categories or product links. About $0.004 per product. No login.

- **URL**: https://apify.com/moggedhq/ace-hardware-scraper.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Ace Hardware Scraper: Store Prices, Deals & Stock

For analysts monitoring Ace Hardware products at a chosen store. Collect the store's advertised online price, regular and sale prices, reported store stock, pickup availability, source UPCs, brands, model numbers and ratings. About **$0.004 per delivered product**, so **20 products cost $0.08**, plus the minimum **$0.00005 Actor start charge**. No retailer login or retailer API key is required.

Choose stores by ZIP or store number. Search for drills, paint or work gloves, browse categories, or monitor a fixed list of product links and Ace item numbers. Every row carries its store ID and product ID so observations fit alongside other retail datasets using the same field names.

### Read the price in context

Ace stores are independently operated. This Actor requests the price in a selected store's online shopping context and accepts a product only when Ace's `purchaseLocation` matches that store. `priceScope` records this meaning on every product. A selected store's advertised online price is not an audited physical shelf price or a checkout quote.

`price` uses the supplied public sale price; `regularPrice` keeps the base price. Member prices stay separate: explicit line-level dollar savings can populate `memberPrice`; conditional or order-level offers retain their text. A source promotion can provide a price-list code or validity date. Dates such as the source's perpetual year-9999 end marker are left null. Missing dates remain null.

Store stock is fetched separately from the catalog. `stockLevel: 0` means Ace returned zero for that product and store. `stockLevel: null` means no quantity was supplied. `onlineStockLevel` is separate catalog availability. The 10 November 2026 check found item 2827574 at $79 in store 18244 and $99 in store 00020. Keep the store ID when comparing prices.

### What you get

The common retail fields appear first, after a readable verdict. Additional fields preserve Ace's item and store context. Unknown values remain null.

| Field | Meaning |
| --- | --- |
| `verdict` | Product, current price, reported stock and selected store in one sentence. |
| `retailer`, `country`, `currency` | Ace Hardware, US and USD. |
| `storeId`, `storeName` | Verified Ace store number and public store name. Store IDs remain strings. |
| `location` | Requested ZIP, or null when selecting an exact store ID. |
| `productId`, `sku` | Ace item number. An item number is not a barcode. |
| `gtin`, `upc` | Source-labeled UPC with a valid format and check digit, preserving leading zeros. |
| `title`, `brand` | Product name and explicitly supplied brand. |
| `size` | Package-size field; null when no unambiguous package label is available. |
| `price`, `storePrice` | Advertised current online price for the selected store. |
| `regularPrice`, `salePrice`, `onSale` | Supplied base price, lower sale price and sale flag. |
| `promoText`, `savingsText` | Readable savings calculated from the two supplied prices, or explicit offer text. |
| `promoType` | Sale or another identifiable supplied offer type. |
| `promoStart`, `promoEnd` | Real validity timestamps when the price response supplies them. |
| `instorePromoDates`, `instorePromoDates2` | Original in-store promotional date labels when present. |
| `memberPrice`, `memberProgram`, `rewardsOffer` | Separate member price, program and public offer text. |
| `unitPrice`, `unitOfMeasure` | Source unit pricing, left null without an explicit value. |
| `inStock`, `stockLevel` | Reported availability and quantity at this store. |
| `pickupAvailable` | In-store stock plus product and store pickup support. |
| `deliveryAvailable` | Delivery availability; null without a verified availability response. |
| `deliverySupported` | Product and store support delivery; this is not a delivery promise. |
| `rating`, `ratingAverage`, `reviewCount` | Supplied aggregate product review values. |
| `category` | Supplied product category description. |
| `url`, `imageUrl` | Public Ace product link and product image. |
| `scrapedAt` | UTC observation timestamp. |
| `modelNumber` | Manufacturer part or model number. |
| `priceListCode`, `priceListEntryCode` | Source pricing references for auditing observations. |
| `priceScope` | Explicit explanation of the online store price. |
| `storeAddress`, `requestedLocations` | Public store address and ZIP selections resolving to this store. |
| `details` | Optional description, visible specifications and volume-price data. |
| `sourceUrl` | Public request supporting the observation. |
| `recordType` | PRODUCT for observations; NOTE for free explanatory rows. |

Large DEALS exports link to numbered JSON parts. In-store date labels can describe past promotions; they do not make a product a current deal.

Every run saves `SUMMARY`: selected stores, product and deal counts, source outcomes, duplicate exclusions, free failures and whether the spending limit stopped collection. Read it before treating an export as a complete snapshot. A search with no matches is recorded as `no matches` and does not count as a source failure.

### Start in three steps

1. Enter ZIP codes or exact store IDs. Exact IDs take precedence when both are supplied.
2. Add search terms, category/product links or Ace item numbers. Set the product caps.
3. Run, review the store selection and SUMMARY, then export JSON, CSV, Excel or another Apify dataset format.

The form prefill searches for drills near ZIP 60601 with a 20-product cap. The 10 November 2026 cloud check delivered 20 unique products at Ace River North, store 18244, with three sale rows and no source failures. It completed in 24.222 seconds. Runtime varies by input.

### Inputs and examples

| Input | Behavior |
| --- | --- |
| `searchTerms` | Array of terms searched at each selected store. Example: `["drill", "work gloves"]`. |
| `startUrls` | Optional Ace category, deals, search or product URLs. Plain URL strings. |
| `productIds` | Optional Ace item numbers such as `["2493427", "2385458"]`. |
| `locations` | US ZIP codes, including ZIP+4. The nearest active Ace store to the ZIP centroid is selected. |
| `storeIds` | Exact numeric store numbers. Short numeric strings are padded to five digits. |
| `maxItemsPerSearch` | New observations per source and store. Default 20; maximum 2,000. |
| `maxItems` | Global product/store cap. Default 20; maximum 10,000. |
| `dealsOnly` | Keep sale rows and explicit supported offer text. |
| `includeDetails` | Add description, visible specifications and supplied volume-price bands. No extra product fee. |
| `proxyConfiguration` | Automatic datacenter first, with US residential retries after refusal; explicit buyer settings are respected. |

A ZIP identifies an area, not a street address. ZIP coordinates come from the public Zippopotam.us service; Ace's store lookup chooses the nearest available store. Review the result and save exact store IDs for subsequent monitoring. Two ZIPs resolving to the same store do not create a second observation for an identical product.

Search two stores:

```json
{
  "searchTerms": ["drill", "garden hose"],
  "storeIds": ["18244", "00020"],
  "maxItemsPerSearch": 20,
  "maxItems": 80
}
```

Read a category:

```json
{
  "startUrls": ["https://www.acehardware.com/cordless-drills/c/3002"],
  "locations": ["60601"],
  "maxItemsPerSearch": 50,
  "maxItems": 50
}
```

Monitor known products and keep sales:

```json
{
  "productIds": ["2385458", "2493427"],
  "storeIds": ["18244"],
  "dealsOnly": true,
  "includeDetails": true,
  "maxItems": 2
}
```

### Real output example

Selected fields from the 10 November 2026 prefill:

```json
{
  "storeId": "18244",
  "storeName": "Ace River North",
  "location": "60601",
  "productId": "2385458",
  "gtin": "885911325905",
  "title": "DeWalt 20V MAX 1/2 in. Brushed Cordless Compact Drill Kit (Battery & Charger)",
  "price": 159,
  "regularPrice": 179,
  "onSale": true,
  "stockLevel": 1,
  "inStock": true,
  "modelNumber": "DCD771C2",
  "priceScope": "Advertised online price for the selected store; not an audited shelf price"
}
```

### Pricing and spending limits

One product means one distinct product at one store. The same product at two stores is two observations. Duplicates, notes, failed requests, empty searches and retries have no product charge. Optional details have no additional fee. There is no default fee for every dataset row.

| Delivered products | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.08 | $0.076 | $0.072 | $0.064 |
| 100 | $0.40 | $0.38 | $0.36 | $0.32 |
| 1,000 | $4.00 | $3.80 | $3.60 | $3.20 |

Add the minimum $0.00005 Actor start charge at the configured 512 MB memory. Base price is $0.004 per product; Bronze is $0.0038, Silver $0.0036 and Gold $0.0032. Your maximum total charge controls larger jobs. The Actor checks affordability before delivery, stops cleanly when the next product cannot be charged and records that decision in SUMMARY.

### Monitor prices every day

Save a task with stable store IDs and the same monitored basket or category links. In Apify Console, create a schedule, select the task, choose a daily time and timezone, and send completed runs to your database through a webhook or integration.

Join snapshots on `storeId + productId`, using `scrapedAt` as observation time. Keep regular and sale prices in separate columns and preserve barcode fields as text in spreadsheets. Each scheduled run collects a new observation. Save those observations to build price history and detect changes; this Actor does not backfill historical prices.

### API and automation

Use your own Apify token:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~ace-hardware-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["drill"],"storeIds":["18244"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/ace-hardware-scraper").call(
    run_input={"productIds": ["2385458"], "storeIds": ["18244"], "maxItems": 1}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/ace-hardware-scraper').call({
  searchTerms: ['work gloves'], locations: ['60601'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Use with AI agents (MCP)

Connect to `https://mcp.apify.com`. Ask the agent for Ace Hardware prices and reported stock for drills, paint or work gloves at specified ZIP codes or exact stores. Supply the item cap and whether details or deals-only filtering are wanted. Ask it to inspect SUMMARY, keep null values and explain the online-price scope before comparing a basket.

### Limits

This is an independent tool, with no affiliation, sponsorship or endorsement from Ace Hardware. It uses public signed-out shopping data. It does not sign in, use account sessions, solve CAPTCHAs or calculate checkout totals.

Advertised online prices exclude checkout taxes and delivery/service fees. Physical shelf prices can differ. Inventory is Ace's reported signal and can change after collection; it is not an audited shelf count. Pickup covers current in-store stock, excluding ship-to-store transfers. Delivery support is distinct from verified delivery availability.

Missing unit prices, package labels, membership prices, rebates and dates remain null. General account rewards, clipped coupons, personalized offers, coupon redemption eligibility and image-only flyers are outside coverage. Savings text calculated from regular and sale prices does not imply an additional rebate. No synthetic barcode is created from an item number.

A fresh anonymous visit may have no default store. In that case, empty locations and storeIds produce a free explanatory note asking for a ZIP or store ID. ZIP lookup depends on a public coordinate service; exact store IDs avoid that lookup. Source refusals or changed pages can prevent some results, which SUMMARY reports as free failures.

Requests are sequential and paced. Automatic proxy routing starts with the account's default datacenter selection and retries with US residential only after failures. An explicit disable, country, proxy group or custom proxy remains your choice. Saved delivery state survives a reboot; result rows and acknowledged charges are reconciled before collection continues.

### FAQ

**Are these local shelf prices?** They are advertised online prices in the selected store's shopping context. The scope is included in every row.

**Does details mode cost more?** There is no additional product fee. It requests extra product metadata.

**What happens with invalid input?** Semantic input problems produce free NOTE rows and SUMMARY. Apify can reject structurally invalid input before a run starts.

**Why did a deals-only run return nothing?** The returned products did not have a supported sale or explicit offer. SUMMARY records no matches without treating that as a source outage.

# Actor input Schema

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

Ace product searches, such as drill, work gloves or garden hose. Each runs at every selected store.

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

Optional Ace product, category or deals links. Product links ending /p/ID and category links ending /c/ID are supported, along with department URLs.

## `productIds` (type: `array`):

Ace item numbers such as 2493427. These are SKUs, not UPC barcodes.

## `locations` (type: `array`):

US ZIP codes. Resolves the nearest Ace store to the ZIP centroid; every row identifies the chosen store. Use storeIds for repeatable checks. A fresh anonymous visit may have no default store.

## `storeIds` (type: `array`):

Exact Ace store numbers, such as 18244 or 00020, verified with Ace. Takes precedence over locations. Numeric strings keep their leading zeros.

## `maxItemsPerSearch` (type: `integer`):

Maximum new product rows from each term, category or deals source at one store. Duplicates are free.

## `maxItems` (type: `integer`):

Global limit across all products and stores. About $0.004 per product: 20 products cost about $0.08 plus the small start charge.

## `dealsOnly` (type: `boolean`):

Keep advertised sale-price rows or explicit public offer text. Personalized offers and checkout coupon discounts are excluded.

## `includeDetails` (type: `boolean`):

Add product description and visible specifications from Ace product data. No extra fee. Store prices and inventory are always selected independently.

## `proxyConfiguration` (type: `object`):

Default: datacenter first, with US residential only after refused datacenter attempts. You may supply your own proxy configuration.

## Actor input object example

```json
{
  "searchTerms": [
    "drill"
  ],
  "locations": [
    "60601"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `dealsView` (type: `string`):

No description

## `dealsOnly` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "searchTerms": [
        "drill"
    ],
    "locations": [
        "60601"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/ace-hardware-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 = {
    "searchTerms": ["drill"],
    "locations": ["60601"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/ace-hardware-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 '{
  "searchTerms": [
    "drill"
  ],
  "locations": [
    "60601"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call moggedhq/ace-hardware-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/ace-hardware-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/3U9ELPr99sErHfWDa/builds/0UENBV1yGkBm7B3nz/openapi.json
