# RockAuto Parts Scraper (`parseforge/rockauto-scraper`) Actor

Scrapes RockAuto part listings by vehicle year, make, model, and category, or from direct catalog URLs. Returns each part as a flat row with price, brand, and fitment data.

- **URL**: https://apify.com/parseforge/rockauto-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** E-commerce, Automation, Other
- **Stats:** 28 total users, 3 monthly users, 90.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### RockAuto Parts Scraper

**Scrape RockAuto parts by vehicle or direct URL, up to a million rows per run.** Every part comes with its price, brand, category, and fitment details. No login or API key. Export to CSV, JSON, Excel, or XML.

RockAuto's catalog is huge, but there is no official API for bulk access. This Actor reads the public part listings directly, driven by vehicle filters or exact catalog URLs, and returns each match in one flat schema. You can pull a single category or every part for a make and model.

| Who uses it | What they scrape RockAuto for |
|---|---|
| Auto parts resellers | Build a price list for a specific vehicle model to set competitive margins. |
| Mechanics and repair shops | Pull all available brake pads for a customer's car to compare brands and prices. |
| Market researchers | Track which brands and part numbers dominate a category for a given vehicle. |
| E-commerce managers | Populate a store catalog with RockAuto part data, including fitment and pricing. |
| Data analysts | Collect part listings across multiple vehicles for price trend analysis. |

### What it does

This Actor collects RockAuto part listings by vehicle year, make, model, and category, or from direct catalog URLs, and returns each part as a flat row.

- 🚗 **Vehicle filters:** year, make, model, and optional part category, with case-insensitive matching.
- 🔗 **Direct URLs:** paste RockAuto catalog URLs to skip vehicle selection and scrape exactly those pages.
- ⚙️ **Engine variants:** include all engine options for a vehicle or stick to the first one found.
- 📦 **Bulk output:** up to 1,000,000 parts per run for paid users, 100 for free users.
- 🛡️ **Rate-limit control:** adjust max concurrency from 1 to 20 to avoid blocks.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with RockAuto data

**💰 Price comparison for resellers.**

A parts reseller scrapes all brake pads for a 2020 Toyota Camry and compares RockAuto prices against their supplier to set competitive margins.

**🔧 Shop inventory planning.**

A mechanic pulls every suspension part for a Honda Civic to see which brands are available and at what price before ordering for a customer job.

**📊 Market trend analysis.**

A market researcher scrapes engine parts for Ford F-150 across multiple model years to track brand dominance and price changes over time.

**🛒 E-commerce catalog building.**

An online store owner scrapes RockAuto listings for a specific vehicle and imports the part data into their own catalog with fitment and pricing.

**🔍 Part number discovery.**

A data analyst uses direct URLs to scrape a category page and extract all part numbers and OEM references for cross-referencing.

### Why choose this scraper

|  | What you get |
|---|---|
| **No official API** | RockAuto has no public API, so this Actor is the fastest way to get structured part data. |
| **Vehicle-level scraping** | Filter by year, make, model, and category to get only the parts that fit a specific car. |
| **Flexible input** | Use vehicle filters for broad scraping or direct URLs for precise control. |
| **Scalable** | Paid users can scrape up to a million parts in one run, enough for full catalog dumps. |
| **Clean output** | Every part is returned as a flat row, ready for CSV, JSON, Excel, or XML export. |

### How it compares

This Actor focuses on vehicle-level scraping with flexible filters, while the competitors below offer different input methods or enrichment features.

| Feature | ParseForge | RockAuto Product Scraper | RockAuto Auto Parts Scraper - car parts, prices | RockAuto Parts Scraper |
|---|---|---|---|---|
| Scrape by vehicle year, make, model | Yes | Not listed | Not listed | Not listed |
| Scrape by direct catalog URL | Yes | Not listed | Not listed | Not listed |
| Filter by part category | Yes | Not listed | Not listed | Not listed |
| Include all engine variants | Yes | Not listed | Not listed | Not listed |
| Search by part number or brand | Not listed | Yes | Not listed | Yes |
| OEM/interchange number enrichment | Not listed | Yes | Not listed | Not listed |
| Fitment data | Yes | Not listed | Yes | Not listed |

### Configure the run

Drive the Actor from vehicle filters or direct RockAuto catalog URLs, and set a maximum part count to cap the run. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "startUrls": [
    "https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"
  ],
  "maxItems": 10
}
```

A larger pull:

```json
{
  "startUrls": [
    "https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"
  ],
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0065 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.65 |
| 1,000 results | $6.50 |
| 10,000 results | $65.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [RockAuto Parts Scraper](https://apify.com/parseforge/rockauto-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to RockAuto through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/rockauto-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that the vehicle year, make, and model are correct and that the vehicle exists on RockAuto. If using Start URLs, ensure the URLs are valid catalog pages.

**Why is the run slow?**

Increase Max Concurrency up to 20 for faster scraping, but be aware that higher concurrency may increase the risk of rate-limiting.

**Why am I getting rate-limited?**

Lower Max Concurrency to 1 or 2 and add a delay between requests if needed. The Actor does not use proxies by default, so your IP is exposed.

**Why are some parts missing?**

If you are using vehicle filters, the Actor may only scrape the first engine variant by default. Enable 'Include All Engine Variants' to get parts for all engines.

**Why did the run stop at 100 parts?**

Free users are limited to 100 parts per run. Upgrade to a paid plan to scrape more, up to 1,000,000 parts.

**Why is my Start URL not working?**

Make sure the URL is a RockAuto catalog URL, not a search or home page. The URL should include the vehicle and category path.

### FAQ

| Question | Answer |
|---|---|
| Do I need a RockAuto account or API key? | No. The Actor reads the public catalog pages directly, so no login or API key is required. |
| Can I scrape parts for a specific vehicle? | Yes. Use the vehicle filters for year, make, model, and optionally part category. The Actor will find the vehicle and scrape all matching parts. |
| What if I already have RockAuto URLs? | Paste them into the Start URLs field. The Actor will scrape those exact pages and ignore the vehicle filters. |
| How many parts can I scrape in one run? | Free users are limited to 100 parts. Paid users can scrape up to 1,000,000 parts per run. |
| Does it scrape all engine variants? | By default, it uses only the first engine variant found. Enable 'Include All Engine Variants' to scrape parts for every engine option of the vehicle. |
| Can I filter by part category? | Yes. Enter a category like 'Brake & Wheel Hub' or 'Suspension' in the Part Category field to scrape only that group. |
| What output formats are supported? | The Actor returns data in a flat schema that can be exported to CSV, JSON, Excel, or XML from the Apify platform. |
| Is the data live? | Yes. Each run scrapes the current RockAuto catalog, so prices and availability reflect what is on the site at that moment. |
| Can I schedule regular scrapes? | Yes. Use Apify's scheduler to run the Actor daily, weekly, or at any interval to keep your data fresh. |
| What if I get rate-limited? | Lower the Max Concurrency setting to reduce parallel requests. The default is 5, but you can set it as low as 1. |
| Does it handle vehicle make and model case sensitivity? | Yes. The make and model fields are case-insensitive, so 'toyota' and 'TOYOTA' both work. |
| Can I scrape all categories for a vehicle? | Yes. Leave the Part Category field empty to scrape every category for the selected vehicle. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by RockAuto, LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

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

List of RockAuto catalog URLs to scrape (year/make/model/category level). If provided, vehicle filters below are ignored.

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

Free users: Limited to 100. Paid users: Optional, max 1,000,000.

## `year` (type: `integer`):

Vehicle model year (e.g. 2020). Required when not using Start URLs.

## `make` (type: `string`):

Vehicle manufacturer (e.g. TOYOTA, HONDA, FORD). Case-insensitive.

## `model` (type: `string`):

Vehicle model name (e.g. CAMRY, CIVIC, F-150). Case-insensitive.

## `partCategory` (type: `string`):

Filter to a specific part category group (e.g. 'Brake & Wheel Hub', 'Engine', 'Suspension'). Leave empty to scrape all categories.

## `includeAllEngines` (type: `boolean`):

When true, scrapes parts for all engine variants of the vehicle. When false (default), only uses the first engine variant found.

## `maxConcurrency` (type: `integer`):

Maximum number of parallel requests. Lower this if you get rate-limited.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"
  ],
  "maxItems": 10,
  "includeAllEngines": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with all scraped items

# 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 = {
    "startUrls": [
        "https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/rockauto-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 = {
    "startUrls": ["https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/rockauto-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 '{
  "startUrls": [
    "https://www.rockauto.com/en/catalog/toyota,2020,camry,2.5l+l4,3445372,brake+%26+wheel+hub,brake+pad,1684"
  ],
  "maxItems": 10
}' |
apify call parseforge/rockauto-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/rockauto-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/OMJccwgidbbgGd9NN/builds/da6dpOxgjFbciYcn0/openapi.json
