# Harbor Freight Scraper: Coupons & Member Prices (`moggedhq/harbor-freight-scraper`) Actor

Track Harbor Freight coupons for drills, generators and tool storage. Get advertised coupon prices, public Inside Track Club offers, item numbers, brands, codes and start/end dates for scheduled checks. About $0.004 per product: 1,000 cost $4. No login.

- **URL**: https://apify.com/moggedhq/harbor-freight-scraper.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 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

## Harbor Freight Scraper: Coupons & Member Prices

For retail price analysts, comparison services and tool deal trackers who want Harbor Freight's advertised product coupons and public Inside Track Club offers in a repeatable data feed. Get the item number, product name, brand, advertised coupon price, member price, coupon code, validity dates and original coupon link. About **$0.004 per delivered product**, or **$0.08 for 20 products**, plus the minimum **$0.00005 Actor start charge**. No retailer login or retailer API key is required.

The overview and deals views organize the export; DEALS holds product JSON and SUMMARY holds counts, selections and failures. The official coupon publication is the source. Each row keeps the public coupon price separate from the member offer, includes the retailer's eligible item-number group, and identifies the observation's price scope. Save successive runs to track published offers as they start, change and expire.

### What you get

The output uses the same core field names as the retail price family. A readable `verdict` comes first, followed by the common product fields and Harbor Freight coupon fields.

| Field | Meaning |
| --- | --- |
| `verdict` | Product, advertised price or member offer, and expiry in one sentence. |
| `retailer`, `country`, `currency` | Harbor Freight, US and USD. |
| `productId`, `sku`, `itemNumber` | The publication's primary item number, preserved as text. |
| `title`, `brand` | The product title and published brand. |
| `price`, `couponPrice` | The lowest active numeric public product-coupon price among the returned offers. |
| `memberPrice`, `memberProgram` | The lowest active public member offer and Inside Track Club label. |
| `couponCode`, `memberCouponCode` | The published redemption code when the source supplies a meaningful code. |
| `couponEndsAt`, `memberCouponEndsAt` | Expiry of the selected public and member offers. |
| `promoStart`, `promoEnd`, `promoTimezone` | Dates of the main advertised offer and America/Los_Angeles. |
| `offers` | Every collected active numeric offer for the primary item, with code, dates, membership condition and source link. |
| `category`, `categoryPath` | The coupon publication's category and category hierarchy. |
| `url`, `imageUrl` | The retailer product link and published coupon image. |
| `priceScope` | Advertised public coupon, public offer or member offer. |
| `priceRequiresCoupon`, `priceRequiresMembership` | Conditions attached to the displayed price or member offer. |
| `requestedLocations`, `requestedStoreIds` | Your requested ZIPs and store numbers, echoed for downstream workflows. |
| `scrapedAt`, `promotionEvaluatedOn` | UTC row timestamp and the Pacific calendar date used to evaluate validity. |
| `details` | With includeDetails, an additional array of coupon publication text and links. |

Each `offers` entry contains `offerId`, `price`, `memberOnly`, `code`, `startDate`, `endDate`, `timezone`, `couponType`, `savingsText`, `itemNumbers`, `url` and `terms`. The publication text and image link retain purchase-condition evidence.

### Read prices and dates correctly

An advertised price retains its source conditions; a numeric redemption code sets priceRequiresCoupon to true. Without a supplied code, that condition stays null. Retain its coupon code, original link and text alongside the amount. A member price belongs in its own column. For a product with a member offer alone, `price` and `couponPrice` are null while `memberPrice` contains the advertised member amount. When both are present, neither overwrites the other.

Start and end dates are evaluated as inclusive calendar dates in America/Los_Angeles. The recorded Pacific date explains the active window around midnight. Date-only values retain their calendar meaning.

### Start in three steps

1. Enter product words, known item numbers, or product/category/coupon links.
2. Choose the maximum products and whether to add the convenient details field.
3. Run, inspect SUMMARY and export the product dataset as JSON, CSV or Excel.

The exact form prefill searches `drill`, echoes ZIP `90210`, sets a global cap of 20 and uses the default Apify proxy configuration. Its cloud test on 9 November 2026 delivered **13 unique products in 4.2 seconds**, using one successful datacenter request. The returned count reflects the active offer set, rather than a promise that every term has 20 matches.

### Inputs

| Input | Example and behavior |
| --- | --- |
| `searchTerms` | `["drill", "generator"]`. Each word must occur in the published product title, case-insensitively. |
| `productIds` | `["70725", "64709"]`. Select published primary item numbers or members of the source's eligible item group. |
| `startUrls` | Product, category, deals or official go.harborfreight.com coupon links. |
| `categoryUrls` | Additional category or deals links, combined with startUrls and deduplicated. |
| `locations` | Optional US ZIP codes echoed as requestedLocations. |
| `postalCodes` | Alias for locations. Both arrays are combined and deduplicated. |
| `storeIds` | Optional store numbers echoed as requestedStoreIds. |
| `maxItemsPerSearch` | New unique products per source, default 20, maximum 10,000. |
| `maxItems` | Global product limit, default 20, maximum 10,000. |
| `dealsOnly` | Compatible family input. All delivered products already have an active priced offer. |
| `includeDetails` | Add a convenient coupon-text details field, with no extra product fee. |
| `proxyConfiguration` | Automatic datacenter routing first, followed by US residential only after refusal. Explicit buyer settings are retained. |

A product listed twice by overlapping inputs is delivered and charged once. Products are keyed by the source's primary item number. A coupon can list several eligible supplier/item numbers in `offers.itemNumbers`; those remain a group. Use that group when joining a color or variant watchlist.

When both alias and canonical arrays are supplied, their values are combined. No array silently overrides another. Apify may add `proxyConfiguration: {"useApifyProxy": true}` automatically; this is recognized as the automatic routing default. Explicit disabled proxy use, custom URLs, proxy groups or country selection are honored.

#### Search several product groups

```json
{
  "searchTerms": ["drill", "generator", "tool cabinet"],
  "maxItemsPerSearch": 20,
  "maxItems": 60,
  "includeDetails": true
}
```

#### Watch known products

```json
{
  "productIds": ["70725", "64709", "56863"],
  "maxItems": 3
}
```

#### Collect a category's active offers

```json
{
  "categoryUrls": ["https://www.harborfreight.com/automotive.html"],
  "maxItemsPerSearch": 1000,
  "maxItems": 1000
}
```

A deals-page input, such as `https://www.harborfreight.com/deals.html`, selects all active numeric product offers available from the publication. Category filtering uses its supplied hierarchy. A product link selects its item number. A go.harborfreight.com coupon link selects that publication when it is active.

### Real output example

Selected fields from the 9 November 2026 cloud prefill:

```json
{
  "retailer": "Harbor Freight",
  "productId": "62845",
  "sku": "62845",
  "title": "WARRIOR Quick-Change Masonry Drill Bit Set, 5-Piece",
  "brand": "WARRIOR",
  "price": 4,
  "couponPrice": 4,
  "couponCode": "21646071",
  "promoStart": "2026-11-05",
  "promoEnd": "2026-11-18",
  "memberPrice": null,
  "priceScope": "advertised_public_coupon",
  "storePriceVerified": false,
  "storeId": null,
  "gtin": null
}
```

### Pricing

One distinct primary item with an active numeric product coupon or public member offer is one delivered product. Several collected offers for that primary item share the same product charge. Repeating a product through multiple inputs within a run is free. Requested ZIPs or store numbers do not multiply product rows or charges. Each new scheduled run is a fresh snapshot and charges for the products it delivers again.

| Delivered products | Base | Bronze | Silver | Gold |
| --- | ---: | ---: | ---: | ---: |
| 1 | $0.004 | $0.0038 | $0.0036 | $0.0032 |
| 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. Base pricing is $0.004 per product; Bronze has 5% off, Silver 10% off and Gold 20% off. Optional details have no extra fee. Notes, summaries, duplicate exclusions, failed requests and empty searches have no product charge. There is no additional default dataset-row fee.

The Actor checks capacity before it saves another product and stops cleanly when no further product fits. SUMMARY identifies that stop. Product limits are ceilings; the active source set determines how many matching items exist.

### Monitor prices every day

Save a task with stable item numbers, terms or category links. In Apify Console, create a schedule, select the task, choose the daily schedule and timezone, then connect a successful-run webhook to your destination.

Store `productId + scrapedAt` for each snapshot. Keep `offers.itemNumbers` as text arrays and retain public price, member price and code in separate columns. Compare the same primary item across runs to detect a changed amount, a new member deal or a changed validity window. Store snapshots in your own database to create a price history.

Read SUMMARY before accepting an observation batch. `freeFailures` distinguishes a source request problem from an empty matched set. `outcomes` records which inputs matched. A "no matches" outcome is a valid empty selection. If a monitored item disappears, check the active-offer scope and original coupon publication before classifying the change.

### API and AI agents

Use your own Apify token:

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

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/harbor-freight-scraper").call(
    run_input={"productIds": ["70725", "64709"], "maxItems": 2}
)
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/harbor-freight-scraper').call({
  searchTerms: ['drill'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Use with AI agents (MCP)

Connect your agent to `https://mcp.apify.com`. Ask for active Harbor Freight product coupons or public Inside Track Club prices, supply product words or item numbers and a product cap, and ask the agent to inspect SUMMARY after completion. Keep membership conditions, coupon codes and dates attached to prices in any comparison. Ask for `offers.itemNumbers` when monitoring a particular color or supplier group.

### Limits

- Coverage is the official coupon publication's active numeric product offers. The full regular-price catalog, catalog search results, compare-at prices, instant-savings catalog and Parking Lot Sale catalog are outside this source.
- ZIPs and store numbers are echoed for workflow context. They do not resolve or verify a chosen store. `storeId`, `storeName`, `location`, shelf price, pickup price, store stock, quantities and pickup availability stay null. The same national advertised offer is delivered once, regardless of requested store count. Online and in-store prices may vary.
- Regular price, unit price, size, GTIN/UPC, ratings and review counts remain null. Retailer item numbers, supplier groups and coupon codes are not relabeled as barcodes. A coupon's savings amount is not used to calculate a missing regular price.
- General percentage-off, free-gift and nonnumeric offers are excluded. Coupons can have conditions shown in the linked image; the Actor reads the publication's text and structured fields, without image transcription or personalized redemption checks.
- An item without an active qualifying publication returns no match. Category coverage follows the coupon taxonomy and can differ from the current main-site catalog. Expired, future and image-only numeric prices are excluded.
- Prices exclude taxes and checkout charges. Account-specific offers, clipped coupons and personalized eligibility are outside coverage. The Actor uses public signed-out requests and does not log in or solve CAPTCHAs.
- Public pages and APIs can change or refuse requests. Serial dataset delivery and charge reconciliation protect saved results across a reboot. A source refusal is reported as a free failure in SUMMARY; it is not replaced by an old price.

### FAQ

**Is the member price included in price?** Public and member prices stay separate. An item with only an Inside Track Club offer has memberPrice populated and price null.

**Can I use a list of item numbers?** Yes. Use productIds or product URLs. Eligible alternate numbers can match a coupon group; the returned primary item and full group remain explicit.

**Why did I receive fewer rows than the cap?** Only active, numeric, matching product offers are delivered. The cap is a maximum, and overlapping matches are deduplicated.

**What happens with bad input?** Parseable invalid selections produce a free note and SUMMARY. Apify can reject schema-invalid input before starting a run.

**Does a source error look like no matches?** SUMMARY includes freeFailures and notes for a failed source request. A completed empty selection is recorded as no matches.

# Actor input Schema

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

Find active advertised product offers matching the published product title, including its brand text. Example: drill, generator or tool storage. Empty when using only URLs or item numbers.

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

Harbor Freight product links, category links, deals pages or official go.harborfreight.com coupon links. These select products with active published offers.

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

Harbor Freight item numbers, such as 56863. Matches the source primary item or its listed coupon item group. Item numbers are not barcodes.

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

Optional US ZIPs. Echoed as requestedLocations for your workflow. These coupons have national advertised scope; ZIPs do not select a store price or stock.

## `postalCodes` (type: `array`):

Alias for locations. Values from both arrays are combined and deduplicated. Neither input establishes shelf prices or stock.

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

Optional store numbers echoed as requestedStoreIds. This coupon source does not verify stores or return store stock. Products are not multiplied by store count.

## `categoryUrls` (type: `array`):

Alias for category or deals links in startUrls. Both arrays are combined and deduplicated. Category filtering uses the coupon publication taxonomy.

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

Maximum new distinct products per term, category or deals source. Duplicate products do not consume this source cap.

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

Global product cap. About $0.004 per delivered product: 20 cost at most $0.08 plus the minimum $0.00005 start charge. Availability of active offers controls the actual count.

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

All returned products have an active numeric coupon or public member offer. This compatible family input does not change that scope.

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

Include the public coupon publication text and its source link. No extra product fee. This adds coupon conditions, not specifications or reviews.

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

Automatic default uses Apify datacenter first, then US residential only on refusal. Explicit disable, groups, country and custom proxy URLs are preserved.

## Actor input object example

```json
{
  "searchTerms": [
    "drill"
  ],
  "locations": [
    "90210"
  ],
  "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": [
        "90210"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/harbor-freight-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": ["90210"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/harbor-freight-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/hkeMvlRrz4gH1WJ48/builds/dF8Xw3bRng9bxfdyg/openapi.json
