# RockAuto Parts Pricing Monitor - Brand/Price/Fitment Lookup (`mooseandraven/rockauto-parts-pricing-monitor`) Actor

Look up and incrementally price-monitor RockAuto.com auto parts by vehicle (make/year/model/engine) and part type: brand, price, fitment, quality tier. No login, no API key.

- **URL**: https://apify.com/mooseandraven/rockauto-parts-pricing-monitor.md
- **Developed by:** [Moose & Raven](https://apify.com/mooseandraven) (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 $6.00 / 1,000 part records

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

## RockAuto Parts Pricing Monitor — Brand/Price/Fitment Lookup by Vehicle (JSON)

**Who this is for:** independent repair shops and body shops comparing brand/price options before
ordering a part, insurance adjusters and total-loss appraisers doing parts-cost valuation lookups,
and parts resellers tracking RockAuto's own pricing on SKUs they also stock — anyone who needs
RockAuto's real catalog data (brand, part number, price, fitment note, quality tier) for a specific
vehicle without clicking through RockAuto's own multi-step picker by hand.

**Worked example:** send
`{"vehicles":[{"make":"Acura","year":2020,"model":"MDX","engine":"3.5L V6","partTypes":["Brake Pad"]}]}`
and this actor returns every brake-pad option RockAuto lists for that exact vehicle — brand, part
number, price, fitment note (front/rear, material, included hardware), and quality tier (Economy,
Daily Driver, etc.) — pulled live from RockAuto's own catalog pages. See the real, live-fetched
sample JSON in section 4 below.

Look up and incrementally price-monitor RockAuto.com auto-parts listings by vehicle (make/year/
model/engine) and part type — no login, no API key, no account.

### 1. What makes this different

**Structured data from an unstructured picker.** RockAuto's own site requires clicking through six
levels (make → year → model → engine → category → part type) to see a single price list, with no
official API. This actor resolves that picker programmatically and returns the end result as
clean JSON.

**Price-change monitoring, not just a snapshot.** In `monitorMode`, this actor tracks each part's
own price over time and only re-delivers a part when its price has genuinely changed — the real
use case for a scheduled run: catching a price move on parts you quote or stock, not
re-downloading the same numbers every day.

**Diff key: manufacturer + part number + category/part-type section — never RockAuto's own
`partKey`.** `partKey` is RockAuto's internal id for a *listing row*, not for the physical part,
and it churns: moving a part between tiers (e.g. Economy → Closeout) gets it a new `partKey`
while it is still the same part. A monitor keyed on `partKey` would report that tier move as a
brand-new part rather than the tier/price change it actually is — a false "new part" record, and
in a paid product, a charge for something that did not happen. `recordId` in the output is still
RockAuto's own `partKey` (useful for tracing a specific listing), but it is not what `monitorMode`
diffs on.

**Self-discovering input.** You don't need to already know RockAuto's exact engine or part-type
spelling — omit `engine` or `partTypes` and the actor reports back the real, valid options for
that vehicle instead of guessing or failing opaquely.

### 2. How it works

1. Supply `vehicles` as an array — each entry a `{ make, year, model, engine?, partTypes }`
   vehicle+part-type lookup, independently resolved and tracked.
2. `make`/`year`/`model` must match RockAuto's own catalog labels (model is case-insensitive;
   year and make are not fuzzy-matched). An unrecognized value returns a `vehicle-not-found`
   status record naming the real options RockAuto offers at that level — never a guess.
3. `engine` is optional. Omit it when the vehicle has only one engine option (the common case);
   if there are several, the actor returns an `engine-selection-needed` record listing the real
   engine names rather than picking one for you. A partial `engine` value that matches more than
   one real option returns `engine-ambiguous` instead — nothing is fetched or billed until you
   use the exact label.
4. `partTypes` is an array of part-type names (e.g. `"Brake Pad"`, case-insensitive, substring-
   matched if there's no exact match). **Omit `partTypes` entirely** to get back a
   `part-type-selection-needed` record listing every real category/part-type pair available for
   that vehicle — the recommended way to discover valid names before your first real run. A
   partial part-type value matching more than one real category/part-type pair returns
   `part-type-ambiguous` instead — nothing is fetched or billed until you use the exact pair.
5. Optional **incremental price-change monitor mode**: remembers each part's last-seen price (by
   RockAuto's own stable internal listing id, in a persistent named key-value store) and only
   delivers a part again when it's new OR its price has changed since the last run.
6. **A failed fetch is never silently treated as "no parts."** Each failure pushes an explicit
   `fetch-failed` (or `rate-limited`) status record — one vehicle's problem doesn't hide results
   for the rest.
7. **Selector-drift guard** (monitor mode only): tracks a rolling baseline of how many parts a
   given vehicle+part-type normally returns, and flags an `extraction-suspect` record if a run
   suddenly returns zero or a wildly different count — the sign of a RockAuto page redesign
   breaking this actor's extraction, not a genuinely empty result. See Limitations.
8. Every delivered part row is billed as `part-record`, whether it's monitor mode's Run 1
   `baseline_snapshot` (first time this part has been seen — real catalog data, not an empty
   return) or a later run's `price_change` — see `changeType` in section 4. There is no separate
   flat per-run fee.
9. **A row with no readable price is never delivered or billed.** If RockAuto's page shows a part
   but its price (and `totalPrice`) could not be extracted, that row is flagged as
   `extraction-suspect` (`reason: "price-missing"`) instead of being charged for a price this
   actor doesn't actually have.

### 3. Input

| Field | Type | Notes |
|---|---|---|
| `vehicles` | array (required\*) | `{ make, year, model, engine?, partTypes }` — \*omit entirely for a real bounded default lookup |
| `monitorMode` | boolean | Persistent incremental price-change tracking, per vehicle+part |
| `maxRecordsPerRun` | integer | This actor's own cap across all vehicles/part types this run, default 8 (a small, honest worked-example sample); set to 0 for your own real, uncapped pull |
| `requestTimeoutSecs` | integer | Per-page timeout, default 30 |

See the Input tab for the full form with inline descriptions.

### 4. Output fields

Each dataset item has a `recordType` of `"part"`, `"vehicle-not-found"`,
`"engine-selection-needed"`, `"engine-ambiguous"`, `"part-type-selection-needed"`,
`"part-type-ambiguous"`, `"part-type-not-found"`, `"fetch-failed"`, `"rate-limited"`,
`"truncated"`, or `"extraction-suspect"`.

**`part`**

| Field | Type | Notes |
|---|---|---|
| `recordId` | string | null | RockAuto's own internal listing row id (`partkey`) — **NOT** the monitor-mode diff key (see below); RockAuto reassigns this when a part moves tiers, so it is informational/traceable only |
| `vehicle` | string | e.g. `"2020 Acura MDX 3.5L V6"` |
| `manufacturer`, `partNumber` | string | null | |
| `tier` | string | null | RockAuto's own quality/price tier, e.g. `"Economy"`, `"Daily Driver"` |
| `price` | number | null | USD, listed part price **excluding** any core charge (see `coreCharge`/`totalPrice`) |
| `coreCharge` | number | null | USD, RockAuto's own refundable core-charge deposit on this part (0 when none applies) — **not included in `price`** |
| `totalPrice` | number | null | USD, RockAuto's own `price + coreCharge` total — use this, not `price` alone, for any real cost comparison (2026-11-19 fix: the old `price`-only field understated real cost on 9/12 real listings tested, $34-$75 off) |
| `packQuantity` | number | null | units per listing (e.g. `4` for "Sold in packs of 4"); `null` if RockAuto's page didn't show a pack-size note for this row |
| `warehouseCodes` | string\[] | RockAuto warehouse code(s) this listing can ship from. The dollar shipping cost per warehouse is NOT reachable from this page fetch alone — RockAuto computes it dynamically in its cart flow, which this actor does not simulate |
| `fitmentNote` | string | null | RockAuto's own application note, e.g. `"Front; Ceramic"` |
| `closeout` | boolean | True if flagged as a wholesaler closeout item |
| `priceChanged`, `previousPrice` | boolean, number|null | `monitorMode` only — tracks `totalPrice` (price + core charge), not `price` alone, so a core-charge-only move still counts as a real price change; `previousPrice` is the prior run's `totalPrice` |
| `changeType` | string | null | `monitorMode` only — `"baseline_snapshot"` the first time this exact part has been seen (real catalog data, not an empty/no-signal result — see Pricing in section 7), or `"price_change"` when it's re-delivered because the price moved; `null` outside `monitorMode` |
| `moreInfoUrl` | string | null | RockAuto's own detail-popup URL for this exact listing |
| `fetchedAt`, `sourceUrl` | string | |

**Status records** each carry `vehicle` and a `message` — read the `message`, it explains exactly
what happened and what it means for that vehicle's completeness this run. `vehicle-not-found`/
`engine-selection-needed`/`part-type-selection-needed` also carry `available` (the real options);
`part-type-not-found` carries `suggestions` (the closest real category/part-type pairs);
`engine-ambiguous`/`part-type-ambiguous` carry `candidates` (the real options your partial value
matched, more than one of which means it isn't unique).

#### Real sample output

Live-fetched for `{"vehicles":[{"make":"Acura","year":2020,"model":"MDX","engine":"3.5L V6","partTypes":["Brake Pad"]}]}`
— not a fabricated example (59 real rows returned; first shown below):

```json
{
  "recordType": "part",
  "vehicle": "2020 Acura MDX 3.5L V6",
  "make": "Acura",
  "year": 2020,
  "model": "MDX",
  "engine": "3.5L V6",
  "category": "Brake & Wheel Hub",
  "partType": "Brake Pad",
  "tier": "Economy",
  "manufacturer": "FMG",
  "partNumber": "PSG1723",
  "recordId": "18570881",
  "price": 10.32,
  "currency": "USD",
  "fitmentNote": "Front; Housing: YES; Includes: Hardware, Grease Pack; Service Grade; Material: Ceramic",
  "closeout": true,
  "priceChanged": false,
  "previousPrice": null,
  "changeType": null,
  "moreInfoUrl": "https://www.rockauto.com/en/moreinfo.php?pk=18570881&cc=3444459&pt=1684",
  "fetchedAt": "2026-11-15T18:14:38.669Z",
  "sourceUrl": "https://www.rockauto.com/en/catalog/acura,2020,mdx,3.5l+v6,3444459,brake+&+wheel+hub,brake+pad,1684"
}
```

### 5. Use cases

- **Repair/body shops** — compare real brand/price/fitment options before ordering, without
  clicking through RockAuto's picker by hand for every job.
- **Insurance adjusters / total-loss appraisers** — pull current parts pricing for valuation,
  on-demand or scheduled.
- **Parts resellers** — track RockAuto's own pricing on overlapping SKUs for competitive pricing,
  with `monitorMode` surfacing only genuine price moves.

### 6. Setting up price-change alerts (Apify Schedules + your own notification channel)

1. **Create an Apify Schedule** pointing at this actor, with `monitorMode: true` and your
   `vehicles` set. Daily is typical for active price-tracking.
2. **Attach a Webhook** to the schedule/actor for the `ACTOR.RUN.SUCCEEDED` event. Apify's webhook
   payload includes the run's dataset ID, so your webhook target can fetch the new/changed items.
3. Because `monitorMode` only re-delivers a part when it's new or its price changed, every
   triggered notification represents a real price move, not a repeat.
4. The dataset always distinguishes `part` records from `fetch-failed`/`rate-limited`/
   `extraction-suspect` status records — treat the latter as "monitoring degraded this run" rather
   than silently trusting an empty result (see Limitations on `extraction-suspect`).

### 7. Pricing

Pay-per-event pricing, consistent with this fleet's existing per-record rates (richer than a plain
lookup record — manufacturer/price/fitment/tier, not just an identifier — hence slightly above the
fleet's cheapest per-record rate) — **live on the Apify Pricing tab; pending Devin's ratification
before publish**:

- `part-record` — **$0.008** per part row delivered (monitor mode's Run 1 baseline included — see
  `changeType` in section 4). A search that returns zero parts is never charged.

There is no separate flat per-run fee — a prior `monitor-run` $0.05/run charge was dropped
2026-11-20 (council pricing ruling): it bought nothing a buyer could see beyond the per-part
charges already applied, and the `changeType` field (`baseline_snapshot` vs `price_change`) now
does the job of proving Run 1's output is real, billable data rather than a no-signal event.

### 8. FAQ

**How fresh is the data?** This actor fetches RockAuto's live catalog pages at run time — results
are as current as RockAuto's own site, not cached or delayed further by this actor.

**Do I need a RockAuto account or API key?** No — RockAuto has no public API for this data at all;
this actor reads the same public, unauthenticated catalog pages anyone can browse without logging
in. Login is required only to place an order, never to browse parts/pricing.

**Why does this actor sometimes ask me to pick an engine or part type instead of just answering?**
Several real vehicles share one make/year/model across multiple engines, and RockAuto's part-type
names aren't always guessable in advance. Rather than silently picking the wrong one (or the first
one), this actor reports the real options and asks you to specify — see section 2.

**Does this actor respect RockAuto's robots.txt?** Yes, by design, not by accident. RockAuto's
`robots.txt` names specific AI-company crawlers (`ClaudeBot`, `Bytespider`, `Sogou`) in its
disallow rules, alongside a much narrower generic `*` rule (`/info/`, `/cgi-bin/` only) that does
not block the catalog/search pages this actor needs. This actor is separate software from any of
those named crawlers — it makes its own HTTP requests under its own honest, self-identifying
`User-Agent` (see `src/rockauto-client.js`), never spoofing a browser or adopting a disallowed
bot's identity. See `MAINTENANCE.md` for the full reasoning this fleet applied when deciding to
build this actor, which is also this fleet's standing policy for any future site that names an
AI-company crawler without blocking generic automated access.

### 9. What it does NOT do / Limitations

- **No bulk/catalog-wide export.** This actor looks up specific vehicle+part-type combinations you
  name — it does not crawl RockAuto's entire catalog (hundreds of makes × decades of years × many
  part types per vehicle). Use `monitorMode` with a fixed vehicle/part list for ongoing tracking
  instead of trying to enumerate everything.
- **No add-to-cart / checkout / order status.** Pricing and fitment data only — this actor does
  not place orders, check real-time stock-location/shipping-cost, or touch any account-gated
  feature.
- **US/USD pricing only**, confirmed by this actor's unauthenticated requests (no currency/locale
  cookie is set) — RockAuto supports other display currencies and languages on-site, not covered
  here.
- **Core charges, taxes, and shipping are not included** in `price` — this is RockAuto's own listed
  part price only, matching what RockAuto itself labels as the item price (not the cart total).
- **`extraction-suspect` needs a prior healthy baseline.** The selector-drift guard compares each
  run's row count against recent history — it cannot fire on a brand-new vehicle+part-type
  combination's very first run (nothing to compare against yet), and it only tracks in
  `monitorMode`. A one-off lookup gets no drift protection; this is a real, stated limitation, not
  a hidden gap.
- **Part-type name matching is substring-based when there's no exact match** — a very generic
  partial name (e.g. `"Pad"`) may match more than one real part type; check the delivered
  `partType` field on returned records rather than assuming your input string was the only match.
- **Per-entity monitor-state cap (`monitorMode` only).** Each vehicle+engine entity remembers at
  most 5,000 parts' last-seen price; past that, the oldest-tracked parts are forgotten. A
  forgotten part that reappears is delivered (and billed) again as `baseline_snapshot`, same as a
  genuinely new part, since the actor can no longer tell the two apart. Only reachable with a very
  large part-type list tracked on one vehicle (LedgerLab R-3, 2026-11-20) — not fixed, noted here
  as a known, low-likelihood limitation rather than a hidden gap.
- **A site-side ENGINE-label rename still orphans the selector-drift baseline (`monitorMode`
  only).** The legacy-key migration (AuditLab MIG-5) is spelling/case/whitespace-insensitive for
  the whole vehicle label, so a trailing-space change or a make/model re-spelling on either side
  (ours or the site's) carries history forward correctly. But if RockAuto itself changes an
  engine's own display label (e.g. a trim/liter-notation tweak on their catalog page), that text
  is embedded in the vehicle label string the migration matches against, so it is a genuinely
  different label, not a spelling variant — the migration can't recognize it as "the same
  vehicle." Price history for that vehicle+engine resets (parts re-deliver once as
  `baseline_snapshot`, billed as new) and the selector-drift guard goes blind for it until
  `BASELINE_SAMPLE_SIZE` healthy runs re-accumulate. Rare (RockAuto's own engine labels are
  stable in practice) and self-healing, not fixed — noted here as a known limitation rather than a
  hidden gap.

### Local development

```
npm install
npm test                # recorded-fixture unit tests, no network needed
npm run test:live       # hits the real rockauto.com, no account/key needed
npx apify-cli run       # local end-to-end run - works immediately, no account/key needed
```

### Support

Built and maintained by Moose & Raven. Questions or issues: support@mooseandraven.com.

# Actor input Schema

## `vehicles` (type: `array`):

Array of { make, year, model, engine?, partTypes }. make/year/model must match RockAuto's own catalog labels (e.g. make "Acura", model "MDX", year 2020) — case-insensitive for model, exact for year. engine is optional: omit it when the make/year/model has only one engine option; if there are several, the actor reports the available engine names instead of guessing. partTypes is an array of part-type names (e.g. \["Brake Pad", "Oil Filter"]) — case-insensitive, substring-matched if no exact match. Omit partTypes to get back the full list of available categories/part types for that vehicle instead of part data (use this to discover valid names first). Default is a real, live, bounded lookup so a bare-default run exercises the actual path.

## `monitorMode` (type: `boolean`):

When on, the actor remembers each part's last-seen price (via a persistent named key-value store) and only delivers a part again when it is new OR its price has changed since the last run — the real use case for repeat-scheduled runs (price-drift tracking for valuation/insurance-adjuster lookups). Also tracks a rolling extraction-count baseline per vehicle+part-type to detect selector drift (see README). Each delivered part record is tagged changeType: baseline_snapshot (first time seen) or price_change (later price move) and billed as a normal part-record event — there is no separate per-run fee.

## `maxRecordsPerRun` (type: `integer`):

0 = no caller-supplied cap (a real request with vehicles specified would then be uncapped; a bare run with no vehicles is capped internally regardless). Default of 8 keeps the default worked example (one real vehicle/part-type, 60 real listings available) a small, honest, disclosed sample rather than silently billing for all of them — set to 0 or raise it for your own real pull.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for a single RockAuto page to load before treating it as a failure.

## Actor input object example

```json
{
  "vehicles": [
    {
      "make": "Acura",
      "year": 2020,
      "model": "MDX",
      "engine": "3.5L V6",
      "partTypes": [
        "Brake Pad"
      ]
    }
  ],
  "monitorMode": false,
  "maxRecordsPerRun": 8,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

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

Every dataset item from this run.

## `overview` (type: `string`):

The same records limited to the most useful review columns.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mooseandraven/rockauto-parts-pricing-monitor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("mooseandraven/rockauto-parts-pricing-monitor").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 '{}' |
apify call mooseandraven/rockauto-parts-pricing-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mooseandraven/rockauto-parts-pricing-monitor"
        }
    }
}
```

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/Ef6N1IXKYFyzCbupL/builds/TlyRXJhL7f6ukxkYp/openapi.json
