# CarGurus Zipcode Search Scraper (`e-commerce/cargurus-zipcode-search-scraper`) Actor

Scraper to find all CarGurus car listings for a given zipcode in the United States of America

- **URL**: https://apify.com/e-commerce/cargurus-zipcode-search-scraper.md
- **Developed by:** [E Commerce](https://apify.com/e-commerce) (Apify)
- **Categories:** Other
- **Stats:** 128 total users, 14 monthly users, 97.5% runs succeeded, 2 bookmarks
- **User rating**: 3.57 out of 5 stars

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

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

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

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

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

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

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

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

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

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

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


# README

### What does CarGurus Zipcode Search Scraper do?

CarGurus Zipcode Search Scraper will enable you to get more data from [CarGurus.com](https://www.cargurus.com) than the official CarGurus API.

CarGurus Zipcode Search Scraper can scrape:

- Descriptions
- Images
- Prices
- Mileage
- Locations
- Vehicle Specs
- Contact Details
- And more

### Why scrape CarGurus.com?

CarGurus.com has a large number of users and is a great source of data for car enthusiasts, dealerships, and researchers.

Here are just some of the ways you could use that data:

- Compare car prices across different zip codes- Analyze trends in vehicle specs- Monitor changes in listing details
- Research market competitiveness

If you would like more inspiration on how scraping CarGurus.com could help your business or organization, check out our [automotive industry page](https://apify.com/industries).

### How to scrape CarGurus.com

It's easy to scrape CarGurus.com with CarGurus Zipcode Search Scraper. Just follow these few steps and you'll get your data in a few minutes.

1. Click on Try for free.
2. Enter the zipcodes you want to search.
3. Click on Run.
4. When CarGurus Zipcode Search Scraper has finished, preview or download your data from the Dataset tab.

### How much will it cost to scrape CarGurus.com?

Apify gives you $5 free usage credits every month on the Apify Free plan. You can get 3,333 results per month from CarGurus Zipcode Search Scraper for free!

But if you need to get more data regularly from CarGurus.com, you should grab an Apify subscription. We recommend our $49/month Starter plan - you can get up to 32,667 results every month with the $49 monthly plan!

Or get 332,667 results for $499 with the Scale plan - wow!

### Results

```json
{
    "id": 380681265,
    "listingTitle": "2016 Dodge Grand Caravan SXT FWD",
    "dateOfScrape": "2024-03-20",
    "makeName": "Dodge",
    "modelName": "Grand Caravan",
    "makeId": "m24",
    "modelId": "d653",
    "carYear": 2016,
    "trimName": "SXT FWD",
    "localizedTransmission": "Automatic",
    "bodyTypeGroupId": "bg4",
    "bodyTypeName": "Minivan",
    "salesStatus": "PAYING",
    "options": ["Alloy Wheels", "Steel Wheels", "Bluetooth"],
    "mileage": 130583,
    "mileageString": "130,583",
    "unitMileage": {
        "value": 130583,
        "unit": "MILES"
    },
    "exteriorColorName": "RED",
    "normalizedExteriorColor": "RED",
    "price": 6900,
    "priceString": "$6,900",
    "expectedPrice": 9535,
    "expectedPriceString": "$9,535",
    "savingsAmount": null,
    "priceDifferential": 2635,
    "priceDifferentialString": "$2,635",
    "dealScore": 1.450334732425314,
    "daysOnMarket": 7,
    "dealRating": "GREAT_PRICE",
    "mainPictureUrl": null,
    "originalPictureUrl": null,
    "pictureCount": 0,
    "originalPictureData": {
        "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-1024x768.jpeg",
        "height": 600,
        "width": 800
    },
    "mainPictureData": null,
    "sellerId": 1173244,
    "listingPartnerId": 54,
    "sellerType": "DEALER",
    "sellerCity": "North Hollywood, CA",
    "sellerRegion": "CA",
    "sellerPostalCode": "91601",
    "serviceProviderId": 409418,
    "isFranchiseDealer": null,
    "franchiseMake": null,
    "serviceProviderName": "T&T Auto",
    "phoneNumber": "+1 818-938-1292",
    "phoneNumberString": "(818) 938-1292",
    "phoneNumberSMS": "+18883346545",
    "supportsSms": true,
    "expectedSaleDays": null,
    "sellerRating": 4.5,
    "reviewCount": 5,
    "dealerReviews": null,
    "howToShop": "PICK_UP_ONLY",
    "structuredDataDealerLogoUrl": null,
    "structuredDataDealerName": null,
    "financeDto": {
        "financingEligibilityLookup": ["WESTLAKE"]
    },
    "accidentCount": null,
    "ownerCount": null,
    "isFleet": null,
    "isRentalFleet": null,
    "offset": 262,
    "cityFuelEconomy": {
        "value": 17,
        "unit": "MPG"
    },
    "highwayFuelEconomy": {
        "value": 25,
        "unit": "MPG"
    },
    "combinedFuelEconomy": {
        "value": 20.6,
        "unit": "MPG"
    },
    "localizedFuelEconomy": null,
    "localizedFuelType": "Flex Fuel Vehicle",
    "localizedCombinedFuelEconomy": "21 MPG",
    "localizedDoors": "4 doors",
    "detailUrl": "https://www.cargurus.com/Cars/inventorylisting/viewDetailsFilterViewInventoryListing.action?sourceContext=carGurusHomePageModel&entitySelectingHelper.selectedEntity=&zip=90210#listing=380681265/NONE/DEFAULT",
    "financingEligibilityLookup": [
        {
            "financePartner": "WESTLAKE",
            "usesWizard": true
        }
    ],
    "localizedDoor": "4 doors",
    "vin": "2C4RDGCG4GR169421",
    "description": "2016 DODGE GRAND CARAVAN SXT. COLOR RED WITH BLACK CLOTH INTERIOR WITH BLUETOOTH. PRICE $6900. CLEAN TITLE. MILES 130583Visit T & T Auto Repair & Sales online at ttcarsales.com to see more pictures of this vehicle or call us at 818-761-0055 today to schedule your test drive.[!@@Additional Info@@!]ABS Brakes,Air Conditioning,AM/FM Radio,Automatic Headlights,Child Safety Door Locks,Cruise Control,Daytime Running Lights,Driver Airbag,Electronic Brake Assistance,Front Side Airbag,Interval Wipers,Keyless Entry,Leather Steering Wheel,Passenger Airbag,Power Windows,Rear Window Defogger,Rear Wiper,Run Flat Tires,Separate Driver/Front Passenger Climate Controls,Side Head Curtain Airbag,Steel Wheels,Steering Wheel Mounted Controls,Tachometer,Telematics System,Telescopic Steering Column,Tilt Steering,Tilt Steering Column,Tire Pressure Monitor,Traction Control,Trip Computer,Vehicle Stability Control System",
    "stockNumber": "169421",
    "localizedExteriorColor": "Red",
    "localizedInteriorColor": "Black",
    "localizedEngineDisplayName": "283 hp 3.6L V6 Flex Fuel Vehicle",
    "distance": "5 mi",
    "rawDistance": "5.3485413_MILES",
    "roundedDistance": 5,
    "pictures": [
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5147625964300062206-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-581499944074279899-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-581499944074279899-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-581499944074279899-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-581499944074279899-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-581499944074279899-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-4030474322628922550-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-4030474322628922550-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-4030474322628922550-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-4030474322628922550-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-4030474322628922550-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5849240997641090848-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5849240997641090848-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5849240997641090848-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5849240997641090848-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5849240997641090848-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-292738375429041049-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-292738375429041049-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-292738375429041049-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-292738375429041049-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-292738375429041049-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-1655766798669581886-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-1655766798669581886-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-1655766798669581886-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-1655766798669581886-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-1655766798669581886-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5266596322244470988-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5266596322244470988-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5266596322244470988-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5266596322244470988-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-5266596322244470988-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7668570336947506721-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7668570336947506721-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7668570336947506721-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7668570336947506721-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7668570336947506721-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-2644476633885085054-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-2644476633885085054-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-2644476633885085054-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-2644476633885085054-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-2644476633885085054-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3040481204394612655-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3040481204394612655-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3040481204394612655-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3040481204394612655-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3040481204394612655-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6430005096164133012-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6430005096164133012-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6430005096164133012-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6430005096164133012-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6430005096164133012-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7910155327490428589-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7910155327490428589-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7910155327490428589-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7910155327490428589-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-7910155327490428589-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6862361908214813340-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6862361908214813340-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6862361908214813340-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6862361908214813340-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6862361908214813340-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3798164611941041242-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3798164611941041242-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3798164611941041242-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3798164611941041242-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-3798164611941041242-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-273123826719865668-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-273123826719865668-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-273123826719865668-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-273123826719865668-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-273123826719865668-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6792446108658914416-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6792446108658914416-67x50.jpeg",
            "height": 600,
            "width": 800,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6792446108658914416-1024x768.jpeg",
                    "width": 600,
                    "height": 800
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6792446108658914416-296x222.jpeg",
                    "width": 222,
                    "height": 296
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-6792446108658914416-67x50.jpeg",
                    "width": 50,
                    "height": 66
                }
            }
        },
        {
            "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-971945507804323564-1024x768.jpeg",
            "thumbnailUrl": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-971945507804323564-67x50.jpeg",
            "height": 600,
            "width": 450,
            "scaledPictures": {
                "SIZE_1024x768": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-971945507804323564-1024x768.jpeg",
                    "width": 600,
                    "height": 450
                },
                "SIZE_296x222": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-971945507804323564-296x222.jpeg",
                    "width": 222,
                    "height": 166
                },
                "SIZE_67x50": {
                    "url": "https://static.cargurus.com/images/forsale/2024/03/12/10/31/2016_dodge_grand_caravan-pic-971945507804323564-67x50.jpeg",
                    "width": 50,
                    "height": 37
                }
            }
        }
    ],
    "vehicleHistory": {
        "hasVehicleHistoryReport": true,
        "hasThirdPartyVehicleDamageData": true,
        "hasVehicleHistory": true
    },
    "highLeverage": null,
    "carId": 25108,
    "ncapSafetyRatings": [
        {
            "overallRating": "4",
            "overallFrontCrashRating": "4",
            "overallSideCrashRating": "5",
            "rolloverRating": "4"
        }
    ],
    "seller": {
        "serviceProviderId": 409418,
        "listingSellerId": 1173244,
        "listingPartnerId": 54,
        "rootServiceProviderId": null,
        "sellerType": "DEALER",
        "name": "T&T Auto",
        "address": {
            "street": "5707 Tujunga Ave",
            "city": "North Hollywood",
            "region": "CA",
            "cityRegion": "North Hollywood, CA",
            "postalCode": "91601",
            "country": "US",
            "geo": {
                "latitude": 34.1742,
                "longitude": -118.379
            },
            "addressLines": ["5707 Tujunga Ave", "North Hollywood, CA 91601"]
        },
        "supportsSms": true,
        "supportsLiveChat": true,
        "canHostCPOInventory": true,
        "facebookUrl": null,
        "structuredDataFacebookUrl": null,
        "hours": null,
        "phoneNumber": "+1 818-938-1292",
        "phoneNumberString": "(818) 938-1292",
        "phoneNumberSMS": "+18883346545",
        "inventoryUrl": "/Cars/m-T-T-Auto-sp409418",
        "homePageUrl": "/Cars/m-T-T-Auto-sp409418",
        "mapUrl": "/Cars/viewServiceProviderMap.action?serviceProvider=sp409418",
        "websiteUrl": "/Cars/Link?url=http%3A%2F%2Fwww.ttcarsales.com%2F%3Futm_source%3Dcargurus.com%26utm_medium%3Dreferral%26utm_campaign%3Dcargurus_listings&hmac=B48F7A484506FE4467CEA1D179BD8CAFDAC3B19E",
        "structuredDataWebsiteUrl": "http://www.ttcarsales.com/?utm_source=cargurus.com&utm_medium=referral&utm_campaign=cargurus_listings",
        "logoUrl": null,
        "isFranchiseDealer": null,
        "websiteDomain": "www.ttcarsales.com",
        "salesStatus": "PAYING",
        "googleMapsUrl": "https://www.google.com/maps/dir/?api=1&destination=T%26T+Auto+5707+Tujunga+Ave%2CNorth+Hollywood+CA%2C+91601%2CUNITED_STATES",
        "dealerPriority": "Standard",
        "review": null
    }
}
````

### Tips for scraping CarGurus.com

- Tip 1: Use multiple zipcodes to gather data from different regions
- Tip 2: Check for new listings regularly to stay up-to-date

### Is it legal to scrape CarGurus.com?

Note that personal data is protected by GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. We also recommend that you read our blog post: [is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)."

# Actor input Schema

## `zips` (type: `array`):

ZIPs to start with

## `carBrands` (type: `array`):

Select the car brands to scrape listings for.

## `radius` (type: `string`):

Search radius within which listings will be scraped.

## Actor input object example

```json
{
  "zips": [
    "90210",
    "73099",
    "77494",
    "37042"
  ],
  "radius": "100 miles"
}
```

# 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("e-commerce/cargurus-zipcode-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("e-commerce/cargurus-zipcode-search-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call e-commerce/cargurus-zipcode-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=e-commerce/cargurus-zipcode-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "CarGurus Zipcode Search Scraper",
        "description": "Scraper to find all CarGurus car listings for a given zipcode in the United States of America",
        "version": "0.0",
        "x-build-id": "putyqeDukDcqH8H7g"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/e-commerce~cargurus-zipcode-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-e-commerce-cargurus-zipcode-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/e-commerce~cargurus-zipcode-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-e-commerce-cargurus-zipcode-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/e-commerce~cargurus-zipcode-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-e-commerce-cargurus-zipcode-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "zips"
                ],
                "properties": {
                    "zips": {
                        "title": "Enter zip codes",
                        "type": "array",
                        "description": "ZIPs to start with",
                        "default": [
                            "90210",
                            "73099",
                            "77494",
                            "37042"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "carBrands": {
                        "title": "Car Brands",
                        "type": "array",
                        "description": "Select the car brands to scrape listings for.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "Acura",
                                "Alfa Romeo",
                                "Audi",
                                "Bentley",
                                "BMW",
                                "Buick",
                                "Cadillac",
                                "Chevrolet",
                                "Chrysler",
                                "Dodge",
                                "FIAT",
                                "Ford",
                                "Genesis",
                                "GMC",
                                "Honda",
                                "Hyundai",
                                "INFINITI",
                                "Jaguar",
                                "Jeep",
                                "Kia",
                                "Land Rover",
                                "Lexus",
                                "Lincoln",
                                "Maserati",
                                "Mazda",
                                "Mercedes-Benz",
                                "MINI",
                                "Mitsubishi",
                                "Nissan",
                                "Porsche",
                                "RAM",
                                "Subaru",
                                "Toyota",
                                "Volkswagen",
                                "Volvo",
                                "Aston Martin",
                                "Ferrari",
                                "Ineos",
                                "Karma",
                                "Lamborghini",
                                "Lotus",
                                "McLaren",
                                "Polestar",
                                "Rivian",
                                "Rolls-Royce",
                                "VinFast"
                            ],
                            "enumTitles": [
                                "Acura",
                                "Alfa Romeo",
                                "Audi",
                                "Bentley",
                                "BMW",
                                "Buick",
                                "Cadillac",
                                "Chevrolet",
                                "Chrysler",
                                "Dodge",
                                "FIAT",
                                "Ford",
                                "Genesis",
                                "GMC",
                                "Honda",
                                "Hyundai",
                                "INFINITI",
                                "Jaguar",
                                "Jeep",
                                "Kia",
                                "Land Rover",
                                "Lexus",
                                "Lincoln",
                                "Maserati",
                                "Mazda",
                                "Mercedes-Benz",
                                "MINI",
                                "Mitsubishi",
                                "Nissan",
                                "Porsche",
                                "RAM",
                                "Subaru",
                                "Toyota",
                                "Volkswagen",
                                "Volvo",
                                "Aston Martin",
                                "Ferrari",
                                "Ineos",
                                "Karma",
                                "Lamborghini",
                                "Lotus",
                                "McLaren",
                                "Polestar",
                                "Rivian",
                                "Rolls-Royce",
                                "VinFast"
                            ]
                        }
                    },
                    "radius": {
                        "title": "Radius",
                        "enum": [
                            "10 miles",
                            "25 miles",
                            "50 miles",
                            "75 miles",
                            "100 miles",
                            "150 miles",
                            "200 miles",
                            "500 miles",
                            "Nationwide"
                        ],
                        "type": "string",
                        "description": "Search radius within which listings will be scraped.",
                        "default": "100 miles"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
