# Amazon Autos Inventory Scraper: Dealer Listings & VINs (`crawlyth-forge/amazon-autos-scraper`) Actor

Scrape Amazon Autos dealer inventory by ZIP or metro. Filter by make, model, condition, body, price, year, mileage and radius; get VIN, pricing, finance/lease, specs, images and dealer details.

- **URL**: https://apify.com/crawlyth-forge/amazon-autos-scraper.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Amazon Autos Inventory Scraper: Dealer Listings, VINs & Prices by ZIP

Collect live **Amazon Autos** dealer inventory for any US ZIP code or metro. Search by condition, make, model, body style, fuel type, drivetrain, transmission, price, year, mileage and radius, then receive each vehicle's VIN, cash price, MSRP and discount, finance and lease estimates, full specifications, photos, dealer address and pickup details. No Amazon account, login or API key is required.

### What this actor does

- **Location-aware inventory:** searches Amazon Autos from a ZIP code or a named metro such as Los Angeles, Chicago, NYC, Miami or Dallas.
- **Nine vehicle filters plus ranges:** condition, make, model, body style, fuel type, drivetrain, transmission, price range, model-year range, mileage cap and 25/50/75-mile radius.
- **Two modes:** live inventory search, or direct lookup of specific Amazon Autos ASINs and `/vindp/` URLs.
- **Deep vehicle records:** opens each listing for VIN, exact price breakdown, finance/lease terms, full spec sections, dealer address and photo gallery.
- **Clean output:** duplicate listings seen in more than one location are emitted once and empty fields are omitted.

### Output per vehicle

- `listingId` — Amazon Autos ASIN
- `url`, `sourceUrl` — canonical `/vindp/` listing URL
- `title`, `condition`, `conditionCode`, `year`, `make`, `model`, `trim`
- `vin` — 17-character Vehicle Identification Number
- `price`, `currency`, `msrp`, `dealerDiscount`, `dealerFees`, `governmentFees`, `totalPurchasePrice`
- `finance` — `monthlyPayment`, `downPayment`, `termMonths`, `apr`
- `lease` — `monthlyPayment`, `downPayment`, `termMonths`, `annualMileage`
- `mileage`, `reportedAccidents`, `previousOwners`
- `exteriorColor`, `interiorColor`, `drivetrain`, `fuelType`, `engine`, `transmission`, `seats`
- `horsepower`, `torqueFtLb`, `towingCapacityPounds`
- `fuelEconomy` — `city`, `highway`; `combinedMpg`, `epaRangeMiles`
- `doors`, `lengthFeet`, `heightFeet`, `widthFeet`, `weightPounds`, `wheelbaseFeet`, `trunkCubicFeet`
- `keyFeatures` — label/value pairs shown on the listing
- `specifications` — every spec section and row (safety, technology, interior, exterior, engine, size, options)
- `warranties`, `installedOptions`
- `images[]`, `imageUrl`
- `dealerName`, `dealerId`, `dealerUrl`, `dealerAddress` (`street`, `city`, `state`), `dealerHours`
- `pickupAvailable`, `pickupEta`, `freePickup`
- `distanceMiles`, `searchZip`, `searchCity`, `searchState`
- `available`, `detailFetched`
- `recordType: "vehicle"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` for live inventory, `byListings` for specific ASINs/URLs |
| `locations` | array | `["Los Angeles, CA"]` | US ZIP codes or metro names. In `byListings` mode the first location supplies the ZIP used for pricing/availability |
| `listingUrls` | array | – | ASINs or `/vindp/` URLs (mode=`byListings`) |
| `condition` | string | `any` | `any`, `new`, `used`, `cpo` |
| `make` | string | – | One of 34 Amazon Autos brands (Toyota, Hyundai, Ford, BMW, …) |
| `model` | string | – | Model within the selected make, e.g. `Camry` |
| `bodyStyle` | string | `any` | `suv`, `sedan`, `pickup`, `hatchback`, `convertible`, `coupe`, `minivan`, `van` |
| `fuelType` | string | `any` | `gasoline`, `hybrid`, `electric`, `plug-in hybrid`, `diesel` |
| `drivetrain` | string | `any` | `awd`, `4wd`, `fwd`, `rwd` |
| `transmission` | string | `any` | `automatic`, `manual` |
| `priceMin` / `priceMax` | integer | – | Listed price bounds in USD |
| `yearMin` / `yearMax` | integer | – | Model-year bounds |
| `mileageMax` | integer | – | Maximum odometer reading in miles |
| `radiusMiles` | string | `75` | `25`, `50` or `75` miles from the ZIP |
| `sortBy` | string | `distance` | `distance`, `priceAsc`, `priceDesc`, `newest` |
| `maxItems` | integer | `50` | Hard cap across all locations (1–1000) |
| `maxPagesPerLocation` | integer | `20` | Result pages per location (24 listings per page) |
| `includeDetails` | boolean | `true` | Open each listing for VIN, specs, exact pricing and dealer address |

#### Example: used Toyota SUVs near Los Angeles

```json
{
  "mode": "search",
  "locations": ["90001"],
  "condition": "used",
  "make": "Toyota",
  "bodyStyle": "suv",
  "priceMin": 25000,
  "priceMax": 50000,
  "mileageMax": 60000,
  "radiusMiles": "25",
  "yearMin": 2022,
  "maxItems": 40
}
```

#### Example: new electric cars in New York and Chicago

```json
{
  "mode": "search",
  "locations": ["New York, NY", "Chicago, IL"],
  "condition": "new",
  "fuelType": "electric",
  "sortBy": "priceAsc",
  "maxItems": 30,
  "maxPagesPerLocation": 5
}
```

#### Example: certified pre-owned under $30k in Miami

```json
{
  "mode": "search",
  "locations": ["Miami, FL"],
  "condition": "cpo",
  "priceMax": 30000,
  "radiusMiles": "50",
  "maxItems": 25
}
```

#### Example: refresh specific listings

```json
{
  "mode": "byListings",
  "locations": ["90001"],
  "listingUrls": [
    "B0HRZRK22Y",
    "https://www.amazon.com/vindp/B0HRHRN81Q"
  ],
  "maxItems": 2
}
```

### Use cases

- **Dealer competitive pricing:** compare same-make models against nearby Amazon Autos dealers, including dealer fees and discounts.
- **Inventory monitoring:** track how long specific VINs stay listed and when availability changes.
- **Finance and lease benchmarking:** capture monthly payments, down payments, APR and lease mileage side by side.
- **Market research:** quantify condition, fuel-type and body-style mix by metro without an Amazon account.
- **Lead and sourcing lists:** export VIN-level listings with dealer name, address and distance for follow-up.

### FAQ

**Do I need an Amazon account, cookies or an API key?** No. The actor uses Amazon's public Autos pages and works without signing in.

**Which locations are supported?** Any five-digit US ZIP code works. Common metro names are mapped to a representative ZIP, and you can pass several locations in one run. Amazon Autos is a US marketplace, so non-US locations are not supported.

**Why is `VIN` missing?** VIN comes from the listing detail page. Set `includeDetails` to `true` (the default) to collect it.

**Why do some vehicles have no MSRP, discount or lease?** Amazon only shows MSRP, dealer discount and lease estimates on new vehicles. Used and certified pre-owned listings normally show a cash price and finance estimate only.

**Why do new cars have no `mileage`?** Amazon does not publish an odometer reading for new vehicles; the field is omitted instead of guessing zero.

**Why is the radius limited to 75 miles?** That is the maximum distance filter Amazon Autos exposes.

**Why does a vehicle say it is unavailable?** Availability can change between the search and detail request. `available` reflects the detail page at scrape time; the listing is still returned so you can track it.

**Are duplicates removed?** Yes. The same ASIN found in several ZIPs is emitted once, using the first location where it appeared.

**Is body style included in each record?** Body style is available as a search filter, but Amazon does not expose a per-listing body-style field outside that filter. Use the filter to restrict results.

**Why is there no dealer phone number?** Amazon's public listing pages do not publish dealer phone numbers. The dealer name, seller ID, address, hours and pickup estimate are included.

### Limitations

- **US only.** Amazon Autos covers US metro areas; the actor does not scrape other Amazon marketplaces.
- **75-mile maximum radius.** Smaller custom radii are not offered by Amazon; `25`, `50` and `75` are the supported values.
- **Used/CPO pricing is cash + finance.** MSRP, dealer discount and lease estimates are generally new-car fields.
- **No odometer for new vehicles.** The field is omitted when Amazon does not publish it.
- **Trim is derived from the listing title** using Amazon's own model names, so a small number of uncommon titles may keep the trim as part of the model.
- **Availability is a snapshot.** Vehicles can sell or become unavailable between requests.
- **Result counts above 10,000 are displayed as "over 10,000"** by Amazon; use `maxItems` and `maxPagesPerLocation` to control how deep the actor walks.

# Actor input Schema

## `mode` (type: `string`):

Search live inventory by location and filters, or fetch specific Amazon Autos listings by ASIN or /vindp/ URL.

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

US ZIP codes (5 digits) or metro names such as `Los Angeles, CA`, `Chicago`, or `NYC`. Amazon Autos is US-only; the actor sets each location on a US-located connection automatically. In `byListings` mode the first location supplies the ZIP used for pricing and availability.

## `listingUrls` (type: `array`):

(mode=byListings) Amazon Autos ASINs or `/vindp/` URLs, e.g. `B0HRZRK22Y` or `https://www.amazon.com/vindp/B0HRZRK22Y`.

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

Hard cap on vehicle records across all locations. Duplicate listings seen in more than one location are emitted once.

## `maxPagesPerLocation` (type: `integer`):

Amazon returns 24 listings per page. Pagination stops earlier when a page is empty, short, or `maxItems` is reached.

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

Open each vehicle's page for VIN, full specifications, exact price breakdown, finance/lease estimate and dealer address. Turn off for the fastest listing-only run.

## `condition` (type: `string`):

Vehicle condition filter.

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

Brand sold through Amazon Autos. Leave unset for every make.

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

Model name within the selected make, e.g. `Camry`, `Model Y`, `F-150`. Requires `make` because Amazon scopes its model facet to a brand.

## `bodyStyle` (type: `string`):

Body style filter.

## `fuelType` (type: `string`):

Fuel or powertrain filter.

## `drivetrain` (type: `string`):

Drive layout filter.

## `transmission` (type: `string`):

Transmission filter.

## `priceMin` (type: `integer`):

Minimum listed price in US dollars.

## `priceMax` (type: `integer`):

Maximum listed price in US dollars.

## `yearMin` (type: `integer`):

Earliest model year.

## `yearMax` (type: `integer`):

Latest model year.

## `mileageMax` (type: `integer`):

Maximum odometer reading in miles. Amazon's own mileage facets are coarse; the actor applies the exact bound after the server-side bucket.

## `radiusMiles` (type: `string`):

Distance from the ZIP code. Amazon Autos supports up to 75 miles.

## `sortBy` (type: `string`):

Result ordering applied by Amazon.

## Actor input object example

```json
{
  "mode": "search",
  "locations": [
    "90001",
    "Chicago, IL",
    "Miami"
  ],
  "listingUrls": [
    "B0HRZRK22Y",
    "https://www.amazon.com/vindp/B0HRHRN81Q"
  ],
  "maxItems": 3,
  "maxPagesPerLocation": 1,
  "includeDetails": false,
  "condition": "any",
  "model": "Camry",
  "bodyStyle": "any",
  "fuelType": "any",
  "drivetrain": "any",
  "transmission": "any",
  "radiusMiles": "75",
  "sortBy": "distance"
}
```

# Actor output Schema

## `vehicles` (type: `string`):

Dataset containing every scraped Amazon Autos vehicle listing.

# 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 = {
    "mode": "search",
    "locations": [
        "90001"
    ],
    "listingUrls": [],
    "maxItems": 3,
    "maxPagesPerLocation": 1,
    "includeDetails": false,
    "condition": "any",
    "bodyStyle": "any",
    "fuelType": "any",
    "drivetrain": "any",
    "transmission": "any",
    "radiusMiles": "75",
    "sortBy": "distance"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/amazon-autos-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 = {
    "mode": "search",
    "locations": ["90001"],
    "listingUrls": [],
    "maxItems": 3,
    "maxPagesPerLocation": 1,
    "includeDetails": False,
    "condition": "any",
    "bodyStyle": "any",
    "fuelType": "any",
    "drivetrain": "any",
    "transmission": "any",
    "radiusMiles": "75",
    "sortBy": "distance",
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/amazon-autos-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 '{
  "mode": "search",
  "locations": [
    "90001"
  ],
  "listingUrls": [],
  "maxItems": 3,
  "maxPagesPerLocation": 1,
  "includeDetails": false,
  "condition": "any",
  "bodyStyle": "any",
  "fuelType": "any",
  "drivetrain": "any",
  "transmission": "any",
  "radiusMiles": "75",
  "sortBy": "distance"
}' |
apify call crawlyth-forge/amazon-autos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/amazon-autos-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/kCmiKMUKtGOl7OdOc/builds/uNgwuHYoufWCEEedy/openapi.json
