# Advance Auto Parts Scraper: Prices & Store Stock (`moggedhq/advance-auto-parts-scraper`) Actor

Get Advance Auto Parts online prices and store-matched pickup stock: sale price, offers, part number, brand, core charge and warranty. Search, categories or part links. $0.004 per part plus $0.0065 per run with products. No login. Effective pricing store is not supplied.

- **URL**: https://apify.com/moggedhq/advance-auto-parts-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

## Advance Auto Parts Scraper: Prices & Store Stock

For retail price analysts, automotive brands, comparison services and parts sellers who monitor Advance Auto Parts online prices and pickup inventory at selected US stores. Search by part name, browse categories or supply known product links. Each delivered observation contains the product identifiers, advertised item price, separate core deposit, warranty, available product offers and the source's store-matched inventory. About **$0.004 per delivered product**, plus **$0.0065 per run with products**: **20 products cost about $0.087**, including the default $0.00005 platform start charge. No retailer login is needed.

The family columns match the AutoZone retail schema, with automotive fields after the common retailer, store, product, price, promotion and stock fields. Use the same input names and snapshot keys when monitoring a basket across retailers.

### What you get

Each product row starts with a readable verdict. Overview, deals and full-field dataset views keep the main values visible. JSON and CSV exports retain the source identifiers as text and missing values as null.

| Field | Meaning |
| --- | --- |
| verdict | Item name, advertised cash price, core deposit and selected-store pickup summary. |
| retailer, country, currency | Advance Auto Parts, US and USD. |
| storeId, storeName, location | Confirmed public store number, store name/address and the requested ZIP when supplied. |
| productId, sku | Advance's source product identifier, preserved as text. |
| gtin | An explicitly labeled UPC, EAN or GTIN from product specifications, with a valid check digit. |
| title, brand, size | Source product title, manufacturer name and an explicitly supplied package size. |
| price | Current advertised item price returned by the pricing source. Read priceScope beside it. |
| regularPrice | Regular retail price supplied by the source. |
| onSale | The source's sale flag. A higher list price alone does not make an item a sale. |
| promoText, promoType | Published product-specific offer conditions and offer type. |
| promoStart, promoEnd | Published offer dates when present. |
| memberPrice, memberProgram | Separate membership-price columns, populated only when separately supplied. |
| unitPrice, unitOfMeasure | Explicit comparable per-unit pricing when supplied; item price is not relabeled as a per-volume price. |
| inStock, stockLevel | Selected-store inventory signal and the published quantity. |
| rating, reviewCount | Positive aggregate values supplied with the product response. |
| category, url, imageUrl | Product category, public product page and source product image. |
| scrapedAt | UTC observation timestamp. |

The automotive fields make cross-catalog matching and price comparisons easier:

| Field | Meaning |
| --- | --- |
| partNumber | Manufacturer part number. |
| lineCode | Source manufacturer or supplier code, kept separate from the part number. |
| coreCharge | Refundable core deposit, separate from the item price. |
| priceIncludingCore | Item price plus the separately supplied core deposit. |
| warranty | Published warranty description. |
| fitmentNote | Supplied fitment application descriptions, when present. |
| storeAvailability | Explicit store ID, source stock status, quantity and available pickup-time evidence. |
| shipToHome | Shipping eligibility, current shipping stock and quantity, and the ZIP used for the request. |
| listPrice | The source's list price, separate from regular retail price. |
| priceType | Source pricing classification, such as REGULAR_RETAIL. |
| requestedPriceStoreId | Store number supplied to the source pricing request. |
| priceScope, onlinePrice | Price-channel disclosure and advertised online price. |
| storePrice, storePriceVerified | Applied-store price and its confirmation flag when the source explicitly identifies the applied store. |
| shelfPrice | Physical shelf price when separately supplied. |
| stockStoreVerified | Whether the inventory response explicitly contained the selected store and product. |
| offers | Published product messages, preserving conditions and available dates. |
| requestedLocations, storeAddress | ZIP selections resolving to the store and its public address. |
| productAttributes, description, images | Available source specifications, product description and image URLs when includeDetails is enabled. |

### Start in three steps

1. Enter one or more search terms, category URLs, product URLs or product IDs.
2. Choose US ZIP codes or exact store numbers, then set the total product cap.
3. Run, inspect the SUMMARY output and export PRODUCT rows in your preferred format.

The form prefill searches engine oil near ZIP 10001 with a 20-product total cap. For repeatable store monitoring, use the returned storeId as an exact storeIds selection in later runs.

### Inputs

| Input | Behavior |
| --- | --- |
| searchTerms | Array of product or part-number searches, such as \["engine oil", "brake pads"]. |
| startUrls | Public US Advance product, category or search URLs. |
| productIds | Source numeric product IDs from the end of product URLs. |
| locations | Five-digit US ZIP codes, resolving a nearby public store for each selection. |
| postalCodes | ZIP alias, merged with locations before deduplication. |
| storeIds | Exact Advance store numbers. These take precedence over ZIP selections. |
| categoryUrls | Category URL alias, merged with startUrls before deduplication. |
| maxItemsPerSearch | Maximum new observations per search/category and store; default 20, maximum 1,000. |
| maxItems | Global product/store cap; default 20, maximum 10,000. |
| dealsOnly | Deliver products with a supplied sale flag or qualifying product-specific promotional message. |
| includeDetails | Include source specifications, description and images with no additional product charge. |
| proxyConfiguration | Automatic datacenter routing with US residential fallback, or your explicit proxy settings. |

The platform's automatic proxy object, including an empty proxy-group list, preserves fallback. Explicit proxy disable, country, groups and custom URLs retain their meaning. Empty location selections use the site's public default store.

A two-term, two-ZIP basket allows up to 80 observations with these caps:

```json
{
  "searchTerms": ["engine oil", "brake pads"],
  "postalCodes": ["10001", "90001"],
  "maxItemsPerSearch": 20,
  "maxItems": 80
}
```

Monitor a category at an exact store:

```json
{
  "categoryUrls": ["https://shop.advanceautoparts.com/c4/engine-oil/13203"],
  "storeIds": ["7481"],
  "maxItemsPerSearch": 100,
  "maxItems": 100,
  "includeDetails": true
}
```

For an established basket, supply productIds or exact part links. Keyword searches use the retailer's relevance ranking, related items and category redirects; they are useful for discovery but are not exact manufacturer-part-number filters.

### Read prices, deposits and offers separately

price is the advertised item cash price. coreCharge is the separate deposit, and priceIncludingCore retains their sum. An eventual core refund is not subtracted from price. Keep the deposit in a separate column when comparing a battery, alternator or starter across catalogs.

regularPrice is regular retail price. listPrice is the source's separate reference list price. The source can supply a list price above today's retail price while onSale is false. Preserve that distinction when calculating discount rates.

Conditional offers stay in promoText and offers. A message such as free brake pads with the purchase of two rotors is not deducted from the item's displayed cash price. Published dates remain beside the message when the source supplies them. Missing dates remain null.

Each inventory response identifies the selected store and product. stockStoreVerified confirms that match. Shipping inventory remains in shipToHome, so a warehouse quantity cannot be mistaken for local pickup stock.

### Observed source example

On 11 November 2026 the public source returned Carquest Standard NAD1363, product 20410122, at $54.99 regular retail, with a separate $73.99 list price and onSale false. Inventory for store 7481 showed quantity 2. The same source published a conditional free-pads-with-two-rotors message. This illustrates why list price, cash price, offer eligibility and store stock remain separate.

```json
{
  "retailer": "Advance Auto Parts",
  "storeId": "7481",
  "productId": "20410122",
  "partNumber": "NAD1363",
  "lineCode": "WEA",
  "brand": "Carquest Standard",
  "price": 54.99,
  "regularPrice": 54.99,
  "listPrice": 73.99,
  "onSale": false,
  "stockLevel": 2,
  "stockStoreVerified": true,
  "storePriceVerified": false,
  "gtin": null
}
```

### Pricing and spending limits

The base Product price is $0.004. Bronze receives 5% off, Silver 10% and Gold 20%. Platinum and Diamond use the Gold rate. Specifications add no separate fee.

| 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 |

The table shows Product charges. Add one $0.0065 Catalog session on runs with delivered products, discounted 5%/10%/20% for Bronze/Silver/Gold. It is saved and charged alongside the first product; empty runs have no Catalog session charge. A base-price one-product run costs $0.01055 and a 1,000-product run costs about $4.01, including the minimum platform start charge.

Add the platform start charge of $0.00005 per GB, with a minimum of one unit. The default 512 MB run uses the minimum unit. There is no additional default dataset-row charge.

A product found through two overlapping searches at the same store is saved and charged once within that run. The same product at a second store is a separate observation. Failed source reads, retries, duplicate observations, notes and empty results have no Product charge. A later scheduled run creates a fresh observation and is charged normally.

Set the maximum charge in Apify before starting. The Actor checks affordability before collecting the next page and before saving each product. It stops cleanly when another Product cannot fit. SUMMARY records whether the spending limit stopped coverage.

### Monitor prices every day

Save a task with exact storeIds and a stable product basket or category selection. Create a schedule in Apify Console, choose your timezone and connect a finished-run webhook if your workflow needs an automatic export.

Join observations with retailer + storeId + productId, keeping scrapedAt as the snapshot timestamp. Filter recordType=PRODUCT before loading a dataset into an analytical table. Keep SUMMARY beside each snapshot so incomplete source coverage is visible.

Two monitoring baskets of 1,100 observations each were checked across three searches and two stores. One covered engine oil, brake pads and spark plugs; the other covered engine oil, air filters and oil filters. Both returned 1,100 distinct product/store observations, each with a positive advertised price and an inventory response explicitly identifying the selected store.

The Actor collects fresh source responses for each new run. Run-local response checkpoints support recovery after an interruption. Durable saved rows and charging receipts prevent duplicate product delivery and a second Product charge after a platform reboot.

### API and integrations

Start a run using your own Apify token:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~advance-auto-parts-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["engine oil"],"postalCodes":["10001"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/advance-auto-parts-scraper").call(
    run_input={"searchTerms": ["engine oil"], "postalCodes": ["10001"], "maxItems": 20}
)
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/advance-auto-parts-scraper').call({
  searchTerms: ['engine oil'], postalCodes: ['10001'], maxItems: 20
});
const {items} = await client.dataset(run.defaultDatasetId).listItems();
```

Make, Zapier, n8n, Google Sheets and data warehouses can consume the dataset or a finished-run webhook. Preserve identifiers as text when importing into a spreadsheet. The output panel links to product rows, SUMMARY and the free DEALS JSON record.

### Use with AI agents (MCP)

Connect your agent to https://mcp.apify.com. Ask for Advance Auto Parts online prices, core deposits and pickup inventory, supplying search terms or product IDs, ZIP codes or exact store IDs, and a total product cap. Read the input schema before starting a run, then inspect SUMMARY and preserve nulls in downstream analysis.

### Limits

Coverage comes from public signed-out US catalog pages, store pages and the site's own data calls. The Actor does not log in, import account cookies, solve CAPTCHAs or read personalized checkout offers. Public refusals and outages can leave incomplete coverage; SUMMARY identifies those cases without a Product charge for missing rows.

The pricing request includes the selected store, but the current source response does not identify the effective pricing store. Accordingly, price is labeled an online advertised price, storePrice remains null and storePriceVerified is false. No physical shelf-price claim is made. Store inventory is independently matched to the requested store ID.

Stock quantities are the retailer's public inventory-feed signals. The shopping site can offer later ship-to-store fulfillment even when the current store quantity is zero. Check its current fulfillment controls for pickup eligibility and timing. A ZIP with no public locator match produces a free no-match note. Pickup time, offer dates, barcodes, unit prices and membership prices remain null when absent. General homepage coupon codes are not automatically applied to every product. Account-specific rewards, Speed Perks balances and checkout-only discounts are outside this collection.

Category links select their category identifier. Use unfiltered category URLs; pasted filter and sort settings are not applied.

Vehicle-specific fitment requires a vehicle selection on the retailer's site. A part number or generic source label does not confirm fitment to a buyer's vehicle. Taxes, shipping charges, installation and checkout adjustments are excluded. Prices and stock can change after the observation; historical backfill is unavailable.

### FAQ

**Can I use the same inputs as AutoZone?** Yes. searchTerms, startUrls, productIds, locations, postalCodes, storeIds and categoryUrls use the same family names. Store and product identifiers belong to each retailer.

**Which location wins if I enter a ZIP and a store number?** Exact storeIds select stores directly and take precedence. locations and postalCodes merge when no storeIds are supplied.

**Do I need to add specifications to receive stock?** No. Pickup inventory and shipping inventory are included in the normal product observation. includeDetails adds source descriptive fields.

**Are source product IDs barcodes?** No. A source SKU remains productId and sku. gtin requires an explicit UPC/EAN/GTIN label and a valid check digit, with leading zeros preserved.

**Does a larger list price prove a discount?** No. Use the source onSale flag, regularPrice and published offer conditions. listPrice is a separate reference field.

**What does an empty deals filter mean?** When all required responses succeed, it means no matching product-specific deals were found within the scanned selection. If an offer response fails, SUMMARY reports source coverage instead of presenting a failed read as no deals.

**Can I download Excel or CSV?** Use Apify's dataset export controls for Excel, CSV, JSON and other supported formats. Keep PRODUCT observations separate from free NOTE rows.

**What happens with invalid inputs?** Parseable invalid selections produce a free note and summary. Apify may reject schema-invalid values before starting a run. Neither creates a Product charge.

**Is this affiliated with the retailer?** This is an independent data tool. Product names and brands identify their source items.

# Actor input Schema

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

Parts or product names to search at each selected store.

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

Public US Advance Auto Parts category, brand, search or product links.

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

Advance product IDs from the end of public part URLs. These are source identifiers, not barcodes.

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

Resolve one nearby store per US ZIP. Exact storeIds take precedence.

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

Exact Advance Auto Parts store numbers, preferred over ZIP inputs.

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

Maximum new product rows per search/category and store.

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

Maximum distinct product/store observations across the run.

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

Keep products with source evidence of a sale, rebate or product-specific promotional offer.

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

Add available product specifications and description. No additional product fee.

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

Automatic default: try the default datacenter pool first, with fresh sessions and US residential fallback. Explicit disable, country, groups and custom proxy settings are preserved.

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

Additional ZIP codes, merged with locations before deduplication.

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

Additional public category URLs, merged with startUrls.

## Actor input object example

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

# Actor output Schema

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

No description

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

No description

## `deals` (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": [
        "engine oil"
    ],
    "locations": [
        "10001"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/advance-auto-parts-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": ["engine oil"],
    "locations": ["10001"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/advance-auto-parts-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/XV5TjtlPwbvdQTjM1/builds/voW0ABsGuICcllOaB/openapi.json
