# US New Car Prices — MSRP by trim (`rastriq/us-new-car-prices`) Actor

Official US new-car MSRP by trim from 40 manufacturer websites: destination charge, powertrain, specs, EPA/NHTSA match and quality flags. Monthly snapshot in one click or live extraction.

- **URL**: https://apify.com/rastriq/us-new-car-prices.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 preloaded 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

## US New Car Prices — MSRP by trim

**US New Car Prices — MSRP by trim** is an Apify Actor by Rastriq that collects the official **MSRP of new cars in the United States, trim by trim**, straight from the manufacturers' own configurators and price pages. You get one **flat row per sellable version** (make, model, model year, trim, powertrain, drivetrain), the **destination charge** when the OEM publishes it, the brand's own specs, a match against **NHTSA vPIC** and **EPA fueleconomy.gov**, and **data-quality flags** that tell you what to double-check. Think of it as a US new-car price API: JSON, CSV or Excel, no manual copy-paste from 40 brand websites.

### What is US New Car Prices — MSRP by trim?

Dealers, lenders, insurers, analysts and car-pricing tools all need the same thing: what is the list price of every trim a manufacturer sells in the US today? Brand sites publish it, but each one in a different format. **US New Car Prices — MSRP by trim** normalizes all of them into one **flat table with a fixed set of 80 columns**, so you can compare a Hyundai Tucson Hybrid with a Toyota RAV4 Hybrid without writing 40 scrapers and without unpicking nested JSON.

Typical uses: MSRP benchmarking and price-positioning dashboards, tracking MSRP changes week over week, feeding a vehicle valuation or depreciation model with the new-car reference price, EV vs. ICE price comparisons, joining prices to EPA fuel-economy data, and sourcing a clean list of current US trims.

### What data does US New Car Prices — MSRP by trim extract?

| | Column group | What it is |
|---|---|---|
| 🚗 | Identity: `make`, `model`, `model_year`, `trim`, `record_id` … | Vehicle identity. Several model years are published at the same time, so the year is part of the key. `record_id` is a stable hash ID for change tracking. |
| 💵 | Price: `msrp_usd`, `destination_charge_usd`, `price_level`, `price_type`, `price_basis` … | Base MSRP (**excluding** destination unless `msrp_usd_includes_destination` is true), destination when published, and the real granularity and basis of the price. |
| 🔧 | OEM specs: `oem_engine`, `oem_transmission`, `oem_hp`, `oem_seats`, `oem_mpg_*` … | The brand's own specs, unified across brands when the OEM publishes them. |
| 🧮 | Counts: `options_count`, `colors_count`, `accessories_count` | How many options, colors and accessories the brand lists. The options and colors themselves are in two child tables. |
| 🧬 | Match: `vpic_*`, `epa_*` | Link to NHTSA vPIC (make/model IDs) and to EPA fueleconomy.gov (engine, MPG, EV range) with an explicit confidence level (`epa_match`). |
| 🚩 | Quality: `quality_flags`, `master_flags`, `availability` | Closed-vocabulary flags that tell you what to double-check. **Flags mark, they never filter.** |
| 🔗 | Source: `source_name`, `source_url`, `scraped_at` | Provenance of every row. |
| 🧾 | `extras_json` | Everything brand-specific that has no column, as JSON text. Nothing is thrown away. |

See **Output** below for every column.

### Which brands are covered?

The Actor knows **40 US brands**. Current coverage:

| Status | Brands | Rows (reference run) |
|---|---|---|
| ✅ **Available** (40) | Hyundai, Genesis, Chevrolet, GMC, Buick, Cadillac, Jeep, Dodge, Chrysler, Ram, Fiat, Alfa Romeo, Toyota, Lexus, Kia, Mazda, Mercedes-Benz, Nissan, Infiniti, Porsche, Subaru, Mitsubishi, Volkswagen, Polestar, Rivian, Lucid, VinFast, INEOS, Land Rover, Jaguar, Maserati, Ford, Lincoln, BMW, MINI, Audi, Volvo, Honda, Acura, Tesla | ≈ 5,820 (≈ 3,120 excluding superseded model years) |

### How to use US New Car Prices — MSRP by trim

1. Open the Actor and click **Try for free**.
2. In **Data source**, keep **preloaded** (default) to get the latest published snapshot, or choose **live** to extract from the manufacturer websites during the run. In **Makes**, pick one or more brands; leave it empty to get all brands (with the defaults, one click returns the whole database).
3. Keep **Output format** on **Flat** (default). Choose **Full** only if you need the nested records (advanced / debugging, see Output).
4. Keep **Include superseded model years** on if you want the full history of what is still listed; turn it off for current model years only.
5. Click **Start**. Brands are processed in parallel and politely.
6. Open the **Output** tab, or download the dataset as JSON, CSV, Excel or via API. Check the **Run summary** (`RUN_SUMMARY` in the key-value store) for per-brand status: `ok`, `degraded`, `failed`, `limited`, `skipped` or `not_implemented`.
7. Optional: schedule it weekly and switch on **Compare with previous snapshot** to get a change feed (see below).

A failing brand never fails the whole run: it is reported in the summary and the rest continues.

#### Data source, access and resilience

- **Two modes.** **Preloaded** gives you a ready-made snapshot in one click. **Live** extracts from the manufacturer websites during your run.
- **Added columns.** Every dataset row (flat and full) also carries `access_tier` (how the source page was reached: direct or via proxy), `data_source` (`live` or `preloaded`) and `snapshot_published_at` (when the preloaded snapshot was published; null in live runs). Column order in every row: the 76 contract columns, then these three, then `epa_spec_basis` as the last column (80 in total). The tables below describe the 76 contract columns plus `epa_spec_basis`; the three added columns are described here. `record_id` is unchanged.
- **Resilient runs.** If a run is interrupted or restarted by the platform, it resumes without duplicating rows or charges.
- **Cost limit.** If the maximum charge per run is reached, the run ends cleanly: the brands affected are reported as `limited` and `charge_limit_reached` is true in the run summary.

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `dataSource` | string | `preloaded` | `preloaded`: the latest published snapshot, ready in one click. `live`: extract now from the manufacturer websites. All other filters apply to both. If the snapshot is unavailable the run switches to `live` (when `fallbackToLive` is on, the default) and says so in the status message and in `RUN_SUMMARY.data_source_effective`. |
| `fallbackToLive` | boolean | `true` | Only for `preloaded`. Turn it off to stop cleanly (nothing billed) instead of running live when the snapshot is unavailable. |
| `makes` | array | `[]` (all) | Multi-select of brands, e.g. `hyundai`, `land_rover`, `mercedes_benz`. Empty = all brands. |
| `outputFormat` | string | `flat` | `flat`: one flat row per trim with the 80 fixed columns (the public contract; for CSV/Excel export the `overview` view, see Output). `full`: nested enriched records for advanced users and debugging; same rows and same `record_id`. |
| `includeSupersededModelYears` | boolean | `true` | Keep rows whose model year has a newer one published (always flagged). |
| `includeOptions` | boolean | `true` | Write the child tables `OPTIONS` and `COLORS` to the key-value store (flat format only). They are not dataset rows and are not charged as results. |
| `enableBrowserMakes` | boolean | `false` | Reserved for future use; no current brand needs it. |
| `proxyEscalation` | string | `auto` | Live runs only. `auto` (default) lets the Actor use a proxy only when a brand needs it, `always` uses it from the start, `off` never uses one. |
| `proxyConfiguration` | object | off | Optional: your own proxy settings, used when a proxy is needed. |
| `retryFailedFromRun` | string | empty | Run ID of a previous run: re-run only the brands that failed in that run. |
| `limitPerMake` | integer | `0` | Testing aid; 0 = no limit. |
| `maxConcurrentJobs` | integer | `4` | How many brands are processed at the same time (1–8). |
| `minRequestIntervalSecs` | number | `1` | Minimum pause between requests to the same site (never below 1 s). |
| `perJobTimeoutSecs` | integer | `1200` | Maximum time allowed per brand. |
| `compareWithPrevious` | boolean | `false` | Diff and drift check against a previous snapshot (flat or older nested snapshots). |
| `previousSnapshot` | string | `LATEST` | `LATEST`, a dataset name/ID, or a local `.jsonl` path. |

Example inputs:

```json
{
  "dataSource": "preloaded"
}
```

```json
{
  "dataSource": "live",
  "makes": ["hyundai", "toyota", "rivian"],
  "includeSupersededModelYears": false
}
```

### Output

The default dataset has **one flat row per trim and exactly the same 80 columns, in the same order, in every row** (a column with no value is `null`). Lists (`epa_ids`, `quality_flags`, `master_flags`) are native JSON arrays; everything else is a scalar. The column set is the contract: new brand-specific data goes into `extras_json`, never into new columns.

Real row (Toyota Highlander Hybrid XLE Nightshade, model year 2025):

```json
{
  "record_id": "73b1474f2d92d02d",
  "master_model_id": "mm_2516fe05ceae",
  "make": "Toyota",
  "model": "Highlander",
  "model_year": 2025,
  "trim": "Hybrid XLE Nightshade",
  "trim_code": null,
  "model_code": "6989",
  "body_style": "crossover",
  "powertrain": "HEV",
  "powertrain_raw": "hybrid",
  "drivetrain": "AWD",
  "drivetrain_raw": "All-Wheel Drive",
  "msrp_usd": 47820.0,
  "destination_charge_usd": 1495.0,
  "msrp_incl_destination_usd": null,
  "msrp_usd_includes_destination": null,
  "price_level": "trim",
  "price_type": "msrp",
  "price_basis": "published_excl_dph",
  "currency": "USD",
  "destination_charge_alaska_usd": null,
  "destination_charge_hawaii_usd": null,
  "gas_guzzler_tax_usd": null,
  "invoice_usd": null,
  "forced_options_usd": null,
  "base_msrp_without_forced_options_usd": null,
  "oem_engine": "2.5L 4-Cyl. Hybrid Engine",
  "oem_transmission": "Electronically controlled Continuously Variable Transmission (ECVT)",
  "oem_hp": 243.0,
  "oem_seats": "7",
  "oem_seats_n": 7,
  "oem_mpg_city": 35.0,
  "oem_mpg_highway": 35.0,
  "oem_mpg_combined": 35.0,
  "oem_mpge": null,
  "oem_ev_range_mi": null,
  "oem_src": "oem_transmission|oem_hp|oem_seats|oem_mpg_city|oem_mpg_highway|oem_mpg_combined",
  "options_count": 1,
  "colors_count": 4,
  "accessories_count": 90,
  "accessories_min_usd": 14.0,
  "accessories_max_usd": 2500.0,
  "vpic_make_id": 448,
  "vpic_model_id": 2213,
  "vpic_model_name": "Highlander",
  "vpic_match": "exact",
  "master_model_name": "Highlander",
  "epa_match": "unique",
  "epa_id": 48981,
  "epa_ids": [
    48981
  ],
  "epa_candidates": 1,
  "epa_model_year": 2025,
  "epa_vehicle_class": "Standard Sport Utility Vehicle 4WD",
  "epa_engine_displ_l": 2.5,
  "epa_cylinders": 4,
  "epa_transmission": "Automatic (AV-S6)",
  "epa_drive": "All-Wheel Drive",
  "epa_powertrain": "HEV",
  "epa_mpg_city": 35,
  "epa_mpg_highway": 35,
  "epa_mpg_combined": 35,
  "epa_mpg_combined_min": 35,
  "epa_mpg_combined_max": 35,
  "epa_ev_range_mi": null,
  "epa_ev_range_mi_min": null,
  "epa_ev_range_mi_max": null,
  "epa_ev_motor": "259V Li-Ion",
  "quality_flags": null,
  "master_flags": [
    "epa_mpg_confirmed"
  ],
  "availability": null,
  "availability_evidence": null,
  "source_name": "oem_website",
  "source_url": "https://www.toyota.com/",
  "scraped_at": "2026-11-20T23:23:28+00:00",
  "extras_json": "{\"also_listed_in_series\":[\"highlanderhybrid\"],\"body_style_source\":\"oem_website\",\"dedupe_key\":\"2025|6989\",\"grade\":\"Hybrid XLE Nightshade\",\"grade_base_msrp_usd\":47820.0,\"is_default_trim\":true,\"is_preferred_series_row\":false,\"newer_model_year_listed\":true,\"region\":\"NATIONAL\",\"series_id\":\"highlander\",\"series_starting_msrp_usd\":40320.0,\"series_status\":\"LIVE\",\"trim_title\":\"Highlander Hybrid XLE Nightshade 2.5L 4-Cyl. Engine All-Wheel Drive\"}",
  "access_tier": "direct",
  "data_source": "live",
  "snapshot_published_at": null,
  "epa_spec_basis": "unique"
}
```

#### Columns by group

**Identity**

| Column | Type | Description |
|---|---|---|
| `record_id` | text | Stable hash of make, model, model year, trim, model code, powertrain, drivetrain and body style. Primary key; use it to track changes between runs and to join the OPTIONS / COLORS tables. |
| `master_model_id` | text | Stable canonical model ID (mm\_ + hash): groups every model year and trim of the same model. |
| `make` | text | Brand as shown by the manufacturer. |
| `model` | text | Commercial model name; powertrain variants may be part of it. |
| `model_year` | integer | Model year. Two or three model years are published at once, so it is part of the key. |
| `trim` | text | Trim/version. Null only when price_level is 'model'. |
| `trim_code` | text | OEM trim code (GM, Mazda). |
| `model_code` | text | OEM model/version code when the source has one. |
| `body_style` | text | Body style exactly as published by the source (not normalized). |
| `powertrain` | text | Normalized powertrain: ICE, HEV, PHEV, BEV, FCEV or diesel. |
| `powertrain_raw` | text | Powertrain text exactly as published. |
| `drivetrain` | text | Normalized drivetrain: FWD, RWD, AWD, 4WD or 2WD. |
| `drivetrain_raw` | text | Drivetrain text exactly as published. |

**Price**

| Column | Type | Description |
|---|---|---|
| `msrp_usd` | number | Base MSRP of the row in USD, excluding destination unless msrp_usd_includes_destination is true. Not homogeneous across brands: read it together with price_basis. Null when the source lists the version without a price (flag price_missing). |
| `destination_charge_usd` | number | Destination/delivery charge when the manufacturer publishes it (flag destination_unknown otherwise). |
| `msrp_incl_destination_usd` | number | MSRP plus destination, only when the source publishes it that way. |
| `msrp_usd_includes_destination` | boolean | True when msrp_usd already includes the destination charge (GM). |
| `price_level` | text | Real granularity of the price: trim, model_code or model. |
| `price_type` | text | msrp, starting_msrp or as_shown. |
| `price_basis` | text | Basis of msrp_usd when it is not the published price as is (Toyota/Lexus excl./incl. DPH, Ford/Lincoln base_plus_forced_options, Rivian). |
| `currency` | text | Always USD. |
| `destination_charge_alaska_usd` | number | Destination charge for Alaska (Mazda, Mitsubishi, Subaru). |
| `destination_charge_hawaii_usd` | number | Destination charge for Hawaii (Stellantis). |
| `gas_guzzler_tax_usd` | number | Gas guzzler tax (GM, Porsche). |
| `invoice_usd` | number | Dealer invoice price (Ford/Lincoln). |
| `forced_options_usd` | number | Mandatory options included in msrp_usd (Ford/Lincoln). |
| `base_msrp_without_forced_options_usd` | number | msrp_usd minus the forced options (Ford/Lincoln). |

**OEM specs (unified from the brand's own fields)**

| Column | Type | Description |
|---|---|---|
| `oem_engine` | text | Engine as described by the manufacturer. |
| `oem_transmission` | text | Transmission as described by the manufacturer. |
| `oem_hp` | number | Horsepower published by the manufacturer, parsed to a number (e.g. '220 kW / 299 hp' gives 299). |
| `oem_seats` | text | Seating capacity as published (text: '7/8', '2+2', 'Two-row'). |
| `oem_seats_n` | integer | Numeric seats: integer when oem_seats is a number or a range ('7/8' gives 8); null for text. |
| `oem_mpg_city` | number | City MPG published by the manufacturer (MPGe for BEV/FCEV). |
| `oem_mpg_highway` | number | Highway MPG published by the manufacturer (MPGe for BEV/FCEV). |
| `oem_mpg_combined` | number | Combined MPG published by the manufacturer (MPGe for BEV/FCEV). |
| `oem_mpge` | number | Explicit MPGe key published by the manufacturer. |
| `oem_ev_range_mi` | number | Electric range in miles published by the manufacturer. |
| `oem_src` | text | Which oem\_\* columns were filled from the manufacturer's data, e.g. 'oem_hp|oem_seats'. Only the oem\_\* column names are listed, separated by '|'; source field names are not disclosed. |

**Counts**

| Column | Type | Description |
|---|---|---|
| `options_count` | integer | Number of options/packages (rows of the OPTIONS table for this record, or the count published by the source). |
| `colors_count` | integer | Number of exterior colors (rows of the COLORS table, or the count published by the source). |
| `accessories_count` | integer | Number of accessories (Toyota/Lexus). |
| `accessories_min_usd` | number | Lowest accessory price (Toyota/Lexus). |
| `accessories_max_usd` | number | Highest accessory price (Toyota/Lexus). |

**NHTSA vPIC match**

| Column | Type | Description |
|---|---|---|
| `vpic_make_id` | integer | Make_ID in NHTSA vPIC. |
| `vpic_model_id` | integer | Model_ID in NHTSA vPIC (null when vPIC does not register the model). |
| `vpic_model_name` | text | Model name in vPIC (may be a sub-model when vpic_match is 'trim'). |
| `vpic_match` | text | How the model was matched to vPIC: exact, core, alias, contains, trim or none. |
| `master_model_name` | text | Canonical model name. |

**EPA fueleconomy.gov match**

| Column | Type | Description |
|---|---|---|
| `epa_match` | text | Match against EPA fueleconomy.gov: unique (one specification), ambiguous (several), model_only (model matched, not the version), not_applicable (outside EPA scope, e.g. heavy-duty) or not_found. |
| `epa_id` | integer | EPA vehicles.csv id when epa_match is unique (lowest id if several rows share the same specification); otherwise null. |
| `epa_ids` | array of integers | All compatible EPA vehicles.csv ids. |
| `epa_candidates` | integer | Number of distinct compatible EPA specifications. |
| `epa_model_year` | integer | Model year of the EPA record used (may be one or two years earlier: flag epa_prior_model_year). |
| `epa_vehicle_class` | text | EPA vehicle class (unique and ambiguous). |
| `epa_engine_displ_l` | number | Engine displacement in liters (unique only). |
| `epa_cylinders` | integer | Number of cylinders (unique only). |
| `epa_transmission` | text | EPA transmission (unique only). |
| `epa_drive` | text | EPA drive label(s), joined with '|' if several (unique only). |
| `epa_powertrain` | text | ICE, MHEV, HEV, PHEV, BEV, FCEV or diesel per EPA (unique only). |
| `epa_mpg_city` | integer | EPA city MPG (unique only). |
| `epa_mpg_highway` | integer | EPA highway MPG (unique only). |
| `epa_mpg_combined` | integer | EPA combined MPG (unique only). |
| `epa_mpg_combined_min` | integer | Lowest combined MPG among candidates (unique and ambiguous). |
| `epa_mpg_combined_max` | integer | Highest combined MPG among candidates. |
| `epa_ev_range_mi` | integer | EPA electric range in miles (unique only). |
| `epa_ev_range_mi_min` | integer | Lowest electric range among candidates. |
| `epa_ev_range_mi_max` | integer | Highest electric range among candidates. |
| `epa_ev_motor` | text | EPA electric motor description (unique, or consensus when `epa_spec_basis` is `consensus`). |
| `epa_spec_basis` | text | Where the EPA specification columns come from: `unique` (one EPA vehicle), `consensus` (several candidate vehicles; only the variables on which all of them agree are filled) or null (no EPA specifications). Last column of the row. |

**Quality**

| Column | Type | Description |
|---|---|---|
| `quality_flags` | array of text | Data-quality flags of the price record (closed vocabulary). Rows are flagged, never dropped by default. Null when there are none. |
| `master_flags` | array of text | Flags of the vPIC/EPA match (closed vocabulary) plus enrich_error / flatten_error when the post-processing of this row failed (details in extras_json.pipeline_error). Null when there are none. |
| `availability` | text | orderable, upcoming, not_orderable, delisted or only_inventory (sold from inventory only, not configurable online). Null when the source says nothing. |
| `availability_evidence` | text | Short plain-language reason for the availability value, taken from what the manufacturer's website shows, for example `Coming Soon` or `Not available to build online`. Null only when `availability` is null. |

**Source**

| Column | Type | Description |
|---|---|---|
| `source_name` | text | Constant `oem_website` (the data comes from the manufacturer's public website; no technical source names are disclosed). |
| `source_url` | text | The manufacturer's public website (homepage). |
| `scraped_at` | text | Extraction time, ISO 8601 UTC. |

**Extras**

| Column | Type | Description |
|---|---|---|
| `extras_json` | text (JSON) | JSON text (sorted keys) with everything that has no column: brand-specific fields and unconsumed OEM values. Parse it with JSON.parse / json.loads. |

#### How to read the match columns

- **`epa_match`** tells you how far to trust the EPA columns. `unique`: exactly one EPA specification fits, so the engine, transmission, MPG and EV-range columns are filled and `epa_id` points to it. `ambiguous`: several specifications fit; the ranges (`epa_mpg_combined_min/max`, `epa_ev_range_mi_min/max`), the vehicle class and `epa_ids` are filled, plus any specification on which all candidates agree (see `epa_spec_basis`). `model_only`: the model exists at EPA but no version could be chosen. `not_applicable`: outside EPA scope (for example heavy-duty trucks and vans, which have no EPA label). `not_found`: no EPA data. The match uses a reference snapshot of NHTSA and EPA data, so very new trims may still show `not_found`.
- **`epa_spec_basis`** says where the EPA specification columns (engine, cylinders, transmission, drive, powertrain, MPG, EV range, electric motor) come from. `unique`: they describe the one EPA vehicle in `epa_id`. `consensus`: several EPA vehicles fit the trim (`epa_match` is `ambiguous`), so only the variables on which all of them agree are filled and the others stay empty; the filled variables are listed in `extras_json.epa_consensus_fields`, and `epa_id` stays empty. Empty: no EPA specifications for the row.
- **`vpic_match`** (`exact`, `core`, `alias`, `contains`, `trim`, `none`) says how the model was linked to NHTSA vPIC; `master_model_id` groups all years and trims of the same model.
- **`master_flags`** records the caveats of those matches (for example `epa_prior_model_year`: the EPA record is from an earlier model year; `epa_mpg_confirmed`: the brand's MPG agrees with EPA's).

#### `oem_src` and `extras_json`

- **`oem_*` columns** unify the brand's own spec fields, which are named differently per brand. **`oem_src`** lists which `oem_*` columns were filled from the manufacturer's data, for example `oem_hp|oem_seats` (column names only, separated by `|`; source field names are not disclosed).
- **`extras_json`** is JSON text (sorted keys) holding everything that has no column: brand-specific fields (`series_status`, `grade` …). Parse it when you need it (`json.loads`, `JSON.parse`, or `JSON_EXTRACT` in your database). Empty values are omitted.

#### Options and colors (child tables)

Options and colors are lists with several entries per trim, so they are not flattened into the main table. With `outputFormat` = `flat` and `includeOptions` on, they are saved as two JSON records in the run's **key-value store**, linked to the dataset by `record_id`:

| Record | One object per | Columns |
|---|---|---|
| `OPTIONS` | priced option or package (Toyota, Lexus, Mercedes-Benz) | `record_id`, `position`, `code`, `title`, `type`, `availability`, `install_point`, `group`, `is_package`, `msrp_usd`, `extra_json` |
| `COLORS` | exterior color (Toyota, Lexus, Porsche, Nissan, Infiniti, …) | `record_id`, `position`, `code`, `title`, `extra_cost`, `msrp_usd`, `extra_json` |

Find them under **Storage → Key-value store → `OPTIONS` / `COLORS`** or at `…/key-value-stores/<id>/records/OPTIONS`. They are not dataset rows, so you are **not charged** for them as results. The main table keeps `options_count` and `colors_count` for each trim. Other brands do not publish option or color lists, so those trims simply have no child rows.

#### Excel and CSV

Use Apify's **XLSX download** of the dataset to open the data in Excel: ids and codes stay text and numbers stay numbers. If you open a CSV in Excel instead, `record_id` values such as `7441310765666900` turn into scientific notation, codes such as `0223` lose their leading zero and, on European regional settings, everything lands in column A. Treat `record_id`, `master_model_id`, `model_code`, `trim`, `trim_code` and every `code` as **text** when importing (Data → From Text/CSV, UTF-8, comma delimiter, those columns as Text). How Apify's CSV/XLSX exporters write array columns (`epa_ids`, `quality_flags`, `master_flags`) is not specified in its documentation: depending on the exporter, lists may arrive as indexed columns (e.g. `quality_flags/0`) instead of one cell, which would add columns beyond the 80. For a predictable table, export the **overview** view (`?view=overview`) or pick columns with `fields=` (for example `fields=record_id,make,model,model_year,trim,msrp_usd,epa_match`). `extras_json` is plain JSON text.

#### If something fails inside a row

Rows are never dropped. If the vPIC/EPA match or the flattening fails for a row (or the reference data cannot be loaded), the row is still emitted with what could be computed, `master_flags` contains `enrich_error` or `flatten_error`, and `extras_json.pipeline_error` says what happened. Brands with such rows are reported as `degraded` in the run summary.

#### Full format (advanced)

`outputFormat` = `full` emits the nested enriched records instead: the same rows and `record_id`, with the brand's original fields (`engine`, `options_packages`, `exterior_colors` …) as they come, plus the `vpic_*` / `epa_*` / `master_*` fields. Fields vary by brand and are not a stable contract; use it for debugging or if you need the raw nested structures. No child tables are written in this format.

The `RUN_SUMMARY` record in the key-value store looks like this (abridged):

```json
{"makes_ok": 3, "status_counts": {"ok": 3}, "rows_emitted": 405, "output_format": "flat",
 "master": {"loaded": true, "built_at": "2026-11-22T09:12:38+00:00"},
 "child_tables": {"OPTIONS": 0, "COLORS": 214},
 "makes": {"subaru": {"status": "ok", "rows_extracted": 103, "with_destination": 103, "flags": {},
                      "epa_match": {"unique": 71, "ambiguous": 32}}}}
```

### Weekly price changes (optional diff and drift)

With `compareWithPrevious` on, the Actor compares the run with a previous snapshot by `record_id` and writes to the key-value store: `CHANGES` (one JSON line per change: `new`, `removed`, `price_up`, `price_down`, `destination_change`, `flags_change`), `CHANGES_SUMMARY` and `DRIFT_REPORT` (per-brand `ok`/`warn`/`alert` when a brand suddenly returns fewer rows or less price/destination coverage). The previous snapshot can be a dataset produced by this Actor in the flat format or an older nested one; the format is detected automatically and reported in `CHANGES_SUMMARY.previous_format`. The change records live in the key-value store and never add columns to the dataset. It is off by default and never fails the run.

### Limitations

- **Destination charge is not published everywhere.** Where the manufacturer's site does not show it, the row carries `destination_unknown`; for Subaru, Volkswagen and Mitsubishi it is taken from the OEM's official price notes when available. INEOS, Maserati and a few Mitsubishi rows have no destination.
- **Option prices and colors only where the brand publishes them.** Toyota, Lexus and Mercedes-Benz list priced options/packages and several brands list exterior colors (child tables `OPTIONS` / `COLORS`); for the rest, `options_count` / `colors_count` are empty. Accessory prices are summarized as a count and a min/max range.
- **EPA/vPIC match is a reference snapshot, not live.** `epa_match` is `unique` for about 54 % of rows, `ambiguous` for 16 % and `not_applicable` for 28 % (mostly heavy-duty vehicles and brands with no EPA label); trust the EPA columns by `epa_match`.
- **Some trims are inferred.** Rows with `trim_inferred` or `drivetrain_inferred` were deduced from a text field, not a structured one.
- **Some brands publish price per model, not per trim** (`price_level` tells you which).
- **Tesla Model S and Model X are sold from inventory only.** The manufacturer no longer lets you configure them online, so their rows carry `availability` = `only_inventory`. Tesla's model year is not published next to its prices: rows carry the latest model year Tesla publishes and the flag `model_year_inferred`.
- Prices are the manufacturer's published list prices at run time; they are not dealer, transaction or incentive prices.

### How much does US New Car Prices — MSRP by trim cost?

The Actor uses Apify's **pay-per-event** model. You pay per trim row emitted; the child tables (`OPTIONS` / `COLORS`) are **not charged**. Each data-source mode has its own event and price:

| Mode | Event | Price per record | Full database (≈ 5,820 rows) |
|---|---|---|---|
| **Preloaded** (default) | `preloaded-record` | **$0.02** | **≈ $116** |
| **Live** | `live-record` | **$0.06** | **≈ $349** |

Discount tiers lower the price per record: Silver $0.017 (preloaded) / $0.05 (live); Gold $0.015 / $0.045.

**Preloaded** serves the latest monthly snapshot instantly: no waiting. **Live** extracts from the manufacturer websites during your run.

With the default options (**Include superseded model years** on) one click returns every row of the snapshot. Turn that option off to get current model years only (≈ 3,120 rows, ≈ $62 preloaded).

| Example (default options, Bronze price) | Mode | Approx. records | Approx. cost |
|---|---|---|---|
| Whole US market | Preloaded | ≈ 5,820 | ≈ $116 |
| Whole US market, current model years only | Preloaded | ≈ 3,120 | ≈ $62 |
| One brand (e.g. Toyota) | Preloaded | ≈ 660 | ≈ $13 |
| One brand group (e.g. GM: Chevrolet + GMC + Buick + Cadillac) | Preloaded | ≈ 1,360 | ≈ $27 |
| Whole US market | Live | ≈ 5,820 | ≈ $349 |
| One brand (e.g. Toyota) | Live | ≈ 660 | ≈ $40 |

**Tips:** set a **maximum cost per run** to cap your spend. Start with one or two brands to preview your cost before running all brands. The `OPTIONS` and `COLORS` child tables in the key-value store are free regardless of the mode.

### Related Actors

- [Tesla Pricing Scraper](https://apify.com/rastriq/tesla-pricing-scraper) — Tesla prices across many countries, including the US (this Actor covers the US only).
- [Amazon Reviews Scraper](https://apify.com/rastriq/amazon-reviews-scraper) — customer reviews and ratings from Amazon product pages.

### FAQ

**Is it legal to scrape manufacturer price pages?** The Actor reads publicly available list prices from the manufacturers' own sites at a polite rate and does not log in or submit forms. You are responsible for using the data in line with the sites' terms and your local laws; this is not legal advice.

**Why is `msrp_usd` sometimes `null`?** The brand lists the version but publishes no price (for example "coming soon"). The row is emitted with `price_missing` instead of being dropped.

**Why are there duplicated vehicles across model years?** Brands publish two or three model years at once. Older ones are flagged `superseded_model_year`; untick the input to exclude them.

**Is the price with or without destination?** `msrp_usd` is without destination, except where `msrp_usd_includes_destination` is `true` (GM). Add `destination_charge_usd` yourself, or use `msrp_incl_destination_usd` where the source provides it. Read `msrp_usd` together with `price_basis`.

**A brand returned `degraded` or `failed`. What now?** Check `RUN_SUMMARY` for the reason. Sites change; open an issue on the Actor page and we will look at it.

**Can I get option prices and colors?** Yes, where the brand publishes them: the `OPTIONS` and `COLORS` records in the key-value store (see Output). Inventory is out of scope.

**Why are some columns `null`?** The column set is fixed, so a value the brand does not publish (or that does not apply, such as `epa_ev_range_mi` on a gasoline car) is `null`. The same trim never changes its columns between runs.

**Can I still get the nested records?** Yes: set `outputFormat` to `full`.

# Actor input Schema

## `dataSource` (type: `string`):

<b>preloaded</b> (default): the latest published snapshot, filtered by your options. Leave everything else empty to get the full database in one click. If the snapshot is unavailable the run switches to <b>live</b> and says so in the run summary (<code>data_source_effective</code>). <b>live</b>: extract now from the manufacturer websites.

## `makes` (type: `array`):

Pick one or more brands. Leave empty to get all brands.

## `fallbackToLive` (type: `boolean`):

Only for <b>preloaded</b>. If the published snapshot is unavailable, run live instead and say so in the status message and the run summary. Turn it off to stop the run cleanly instead (nothing is billed).

## `outputFormat` (type: `string`):

<b>flat</b> (default, the public contract): one flat row per trim with 76 fixed columns, vPIC/EPA enrichment included, lists as JSON arrays and brand-specific leftovers in <code>extras_json</code>. Array columns may be exported by Apify as indexed columns in CSV/XLSX: export the <code>overview</code> view or use <code>fields=</code> for a fixed table. <b>full</b>: the nested enriched records (OEM objects such as <code>options_packages</code> and <code>exterior_colors</code> stay nested; fields vary by brand), meant for advanced users and debugging. Same rows and same <code>record_id</code> in both formats.

## `includeSupersededModelYears` (type: `boolean`):

Rows of a model year for which a newer model year of the same make+model+trim is published are always flagged <code>superseded_model_year</code>. Untick to exclude them from the dataset (current model years only).

## `includeOptions` (type: `boolean`):

With <code>outputFormat</code> = flat, also write the child tables to the run's key-value store: <code>OPTIONS</code> (priced options/packages) and <code>COLORS</code> (exterior colors), JSON arrays linked to the dataset by <code>record_id</code>. They are not dataset rows and are not charged as results. Untick to skip them (the flat rows keep <code>options_count</code> / <code>colors_count</code>). Ignored with <code>outputFormat</code> = full, where options and colors already travel inside each row.

## `limitPerMake` (type: `integer`):

Testing aid. 0 = no limit. Keeps only the first rows per brand. A limited run is reported as partial in the diff.

## `enableBrowserMakes` (type: `boolean`):

Reserved for future use. It currently has no effect.

## `proxyEscalation` (type: `string`):

Live runs only. Controls whether a proxy is used for the brands that need one. The default is fine for most runs.

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

Optional. Your own proxy settings, used when a proxy is needed. Leave empty to use the default.

## `retryFailedFromRun` (type: `string`):

Run ID of a previous run of this Actor: re-run only the brands that failed in that run. The previous run must be accessible with your account. Each run summary includes a ready-to-copy <code>retry_input</code>.

## `maxConcurrentJobs` (type: `integer`):

How many brands are processed at the same time.

## `minRequestIntervalSecs` (type: `number`):

Minimum pause between requests to the same site (never below 1 s).

## `perJobTimeoutSecs` (type: `integer`):

Maximum time allowed per brand. A brand that exceeds it is reported as `failed` in the run summary; the rest of the run continues.

## `compareWithPrevious` (type: `boolean`):

Off by default. When on, the run is compared with a previous snapshot and writes CHANGES (jsonl), CHANGES_SUMMARY and DRIFT_REPORT to the key-value store. Failures here never fail the run.

## `previousSnapshot` (type: `string`):

`LATEST` (follows the `LATEST` pointer in the named store `us-new-car-prices-snapshots`), a dataset name or ID, or a local `.jsonl` path (local runs only). Empty with compareWithPrevious on = `LATEST`.

## `driftThresholds` (type: `object`):

Optional overrides of the drift thresholds, e.g. {"row_drop_alert": 0.5}. See docs/operacion.md for the keys.

## Actor input object example

```json
{
  "dataSource": "preloaded",
  "makes": [],
  "fallbackToLive": true,
  "outputFormat": "flat",
  "includeSupersededModelYears": true,
  "includeOptions": true,
  "limitPerMake": 0,
  "enableBrowserMakes": false,
  "proxyEscalation": "auto",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrentJobs": 4,
  "minRequestIntervalSecs": 1,
  "perJobTimeoutSecs": 1200,
  "compareWithPrevious": false
}
```

# Actor output Schema

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

Dataset items: one flat row per make/model/model year/trim (76 fixed columns): MSRP, destination, powertrain, drivetrain, OEM specs, vPIC/EPA match, quality flags.

## `specs` (type: `string`):

Same rows, focused on OEM specs and the EPA fueleconomy.gov match.

## `options` (type: `string`):

Priced options/packages, one object per option, linked to the dataset by record_id (Toyota, Lexus, Mercedes-Benz). Written when includeOptions is on and outputFormat is flat.

## `colors` (type: `string`):

Exterior colors, one object per color, linked to the dataset by record_id. Written when includeOptions is on and outputFormat is flat.

## `runSummary` (type: `string`):

Per-brand status (ok, degraded, failed, skipped, not_implemented), rows extracted/emitted, price and destination coverage, flag counts and errors.

# 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 = {
    "dataSource": "preloaded"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/us-new-car-prices").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 = { "dataSource": "preloaded" }

# Run the Actor and wait for it to finish
run = client.actor("rastriq/us-new-car-prices").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 '{
  "dataSource": "preloaded"
}' |
apify call rastriq/us-new-car-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rastriq/us-new-car-prices"
        }
    }
}
```

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/diPoUbOuBhSbA9ERO/builds/zt3MeWs0BqtiU67eB/openapi.json
