# AutoZone Products Scraper (`shahidirfan/autozone-products-scraper`) Actor

Efficiently extract AutoZone product data including prices, availability, and descriptions. Monitor inventory changes, track competitor pricing, and analyze customer reviews. Supports bulk scraping for market research and ecommerce optimization.

- **URL**: https://apify.com/shahidirfan/autozone-products-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 8 total users, 5 monthly users, 96.1% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## AutoZone Products Scraper
Collect structured AutoZone product listings from shelf URLs or keyword searches.  
Build clean datasets for catalog analysis, price monitoring workflows, and automotive parts research.  
The actor supports pagination, market-aware collection, and null-free output records.

### Features

- **URL or keyword input** — Run by product shelf URL or search keyword.
- **Pagination controls** — Limit extraction by records and page count.
- **Market selection** — Use `location` to target United States, Mexico, or Brazil.
- **Clean dataset output** — Empty and null values are removed from records.
- **Review metrics included** — Product records include available review statistics.

### Use Cases

#### Parts Catalog Research
Collect brake pads, filters, batteries, and other automotive categories at scale.  
Use consistent product fields for catalog mapping and enrichment.

#### Competitive Monitoring
Track changes in product availability, assortment depth, and brand coverage.  
Run on schedule to maintain current benchmark datasets.

#### Marketplace Intelligence
Analyze part numbers, fitment labels, and category structure for demand planning.  
Use extracted fields for downstream BI dashboards.

#### Content and SEO Planning
Identify top product clusters and category patterns for editorial or campaign planning.  
Build long-tail keyword and category opportunity lists from real shelf data.

---

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `url` | String | No | `https://www.autozone.com/brakes-and-traction-control/brake-pads/ford` | AutoZone URL for URL-based extraction. |
| `keyword` | String | No | `brake pads ford` | Keyword for search-based extraction when URL is not used. |
| `location` | String | No | `United States` | Market hint (`United States`, `Mexico`, `Brazil`). |
| `results_wanted` | Integer | No | `20` | Maximum number of records to collect. |
| `max_pages` | Integer | No | `20` | Maximum result pages to process. |
| `proxyConfiguration` | Object | No | `{ "useApifyProxy": false }` | Proxy settings for network routing. |

---

### Output Data

Each dataset item can contain:

| Field | Type | Description |
|---|---|---|
| `sourceMode` | String | Extraction mode (`url` or `keyword`). |
| `sourceInput` | String | Original URL or keyword used for the run. |
| `country` | String | Market country code (for example `USA`). |
| `pageNumber` | Integer | Page index where the item was found. |
| `rankOverall` | Integer | Global rank in the run output. |
| `itemId` | String | Product SKU identifier. |
| `itemDescription` | String | Product title. |
| `brandName` | String | Product brand. |
| `partNumber` | String | Product part number. |
| `productDetailsPageUrl` | String | Product detail page path. |
| `productImageUrl` | String | Product image URL. |
| `partGroupName` | String | Part family/group name. |
| `taxonomyPath` | String | Category taxonomy path. |
| `reviewStatistics` | Object | Aggregated review metrics for the SKU. |

---

### Usage Examples

#### URL Mode

```json
{
    "url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
    "results_wanted": 50,
    "max_pages": 5
}
````

#### Keyword Mode

```json
{
    "keyword": "duralast brake pads",
    "location": "United States",
    "results_wanted": 30,
    "max_pages": 3
}
```

#### Mexico Market Search

```json
{
    "keyword": "balatas",
    "location": "Mexico",
    "results_wanted": 40,
    "max_pages": 4
}
```

***

### Sample Output

```json
{
    "sourceMode": "url",
    "sourceInput": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
    "country": "USA",
    "pageNumber": 1,
    "rankOverall": 1,
    "itemId": "905934",
    "itemDescription": "Duralast Ceramic Brake Pads D1212",
    "brandName": "Duralast",
    "partNumber": "D1212",
    "productDetailsPageUrl": "/p/duralast-brake-pads-d1212/905934",
    "productImageUrl": "https://contentassets.autozone.com/product_image/USA/1684/CFHH/D1212/D1212-01.jpg",
    "partGroupName": "Brake Pads",
    "taxonomyPath": "/brakes/brake-pads-wear-indicator-sensors/brake-pads",
    "reviewStatistics": {
        "skuNumber": "905934",
        "averageOverallRating": 4.6,
        "totalReviewCount": 258
    }
}
```

***

### Tips for Best Results

#### Choose Specific Inputs

- Use direct category URLs for tighter results.
- Use precise keywords to reduce broad matches.

#### Keep Test Runs Small First

- Start with `results_wanted: 20` to validate output quickly.
- Increase limits after confirming data quality.

#### Use Market Hints Intentionally

- Set `location` to `United States`, `Mexico`, or `Brazil`.
- Keep market consistent across scheduled runs for stable comparisons.

***

### Integrations

Connect your dataset with:

- **Google Sheets** — Build live tracking sheets.
- **Airtable** — Create searchable product databases.
- **Make** — Trigger downstream automations.
- **Zapier** — Connect extraction runs with business workflows.
- **Webhooks** — Push run completion data to custom services.

#### Export Formats

- **JSON** — Structured data processing.
- **CSV** — Spreadsheet and reporting workflows.
- **Excel** — Business-friendly analysis.
- **XML** — System-to-system integrations.

***

### Frequently Asked Questions

#### Can I run with only a keyword?

Yes. Provide `keyword` and the actor will collect matching products.

#### Can I run with only a URL?

Yes. Provide `url` for direct category-style extraction.

#### What happens if both URL and keyword are provided?

URL mode is used unless the URL is a search-result URL.

#### Does output include empty or null values?

No. Null and empty values are removed before records are saved.

#### How many records can I collect?

Set `results_wanted` and `max_pages` based on your target volume and runtime limits.

***

### Support

For issues or feature requests, use the Apify Console issue/support channels.

#### Resources

- [Apify Documentation](https://docs.apify.com/)
- [Apify API Reference](https://docs.apify.com/api/v2)
- [Apify Scheduling](https://docs.apify.com/platform/schedules)

***

### Legal Notice

This actor is intended for lawful data collection and analysis.\
Users are responsible for compliance with applicable laws and website terms.

# Actor input Schema

## `url` (type: `string`):

AutoZone page URL. If provided, URL mode is used.

## `results_wanted` (type: `integer`):

Maximum number of records to collect.

## `max_pages` (type: `integer`):

Maximum API pages to fetch.

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

Apify proxy settings.

## Actor input object example

```json
{
  "url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
  "results_wanted": 20,
  "max_pages": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
    "results_wanted": 20,
    "max_pages": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/autozone-products-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 = {
    "url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
    "results_wanted": 20,
    "max_pages": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/autozone-products-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford",
  "results_wanted": 20,
  "max_pages": 3
}' |
apify call shahidirfan/autozone-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=shahidirfan/autozone-products-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "AutoZone Products Scraper",
        "description": "Efficiently extract AutoZone product data including prices, availability, and descriptions. Monitor inventory changes, track competitor pricing, and analyze customer reviews. Supports bulk scraping for market research and ecommerce optimization.",
        "version": "0.0",
        "x-build-id": "EwBVlqKlFPbVRxkXS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/shahidirfan~autozone-products-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-shahidirfan-autozone-products-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/shahidirfan~autozone-products-scraper/runs": {
            "post": {
                "operationId": "runs-sync-shahidirfan-autozone-products-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/shahidirfan~autozone-products-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-shahidirfan-autozone-products-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "url": {
                        "title": "URL",
                        "type": "string",
                        "description": "AutoZone page URL. If provided, URL mode is used.",
                        "default": "https://www.autozone.com/brakes-and-traction-control/brake-pads/ford"
                    },
                    "results_wanted": {
                        "title": "Results wanted",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of records to collect.",
                        "default": 20
                    },
                    "max_pages": {
                        "title": "Max pages",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum API pages to fetch.",
                        "default": 3
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy settings.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
