vøiddo guidesAll Actors on Apify

CarGurus Zipcode Search Scraper: how to get the data as JSON/CSV (API, Python, no code)

Scrape CarGurus vehicle search pages by ZIP code: VIN, make, model, year, trim, price, MSRP, mileage, fuel economy, dealer name and location, and direct listing link. This guide shows the output fields, a working input, and Python, JavaScript and cURL code for the Actor v0iddo/cargurus-zipcode-search-scraper on Apify.

Open CarGurus Zipcode Search Scraper on Apify

More on voiddo.com

What data you get

One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.

FieldLabelTypeExample
listingIdListing IDtext460003322
vinVINtext1FA6P8CF2T5417539
yearYearnumber2026
makeMaketextFord
modelModeltextMustang
trimTrimtextGT Fastback RWD
pricePrice USDnumber58099
msrpMSRP USDnumber62650
mileageMileagenumber
dealerNameDealertextFred Beans Ford of Mechanicsburg
dealerStateStatetextPA
urlListing URLURLhttps://www.cargurus.com/details/460003322
searchUrltexthttps://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2
pagenumber1
bodyTypetextCoupe
conditiontextNEW
enginetext480 hp 5L V8
transmissiontextAutomatic
drivetraintextRear-Wheel Drive
exteriorColortextShadow Black
fuelTypetextGasoline
mpgCombinednumber19.6
dealerCitytextMechanicsburg
dealerZiptext17050
distancenumber86.99595
imageUrltexthttps://static.cargurus.com/images/forsale/2026/09/26/07/04/2026_fo...

Input example

This is the input that is pre-filled on the Actor page. Change the values for your own run.

{
  "searchUrls": [
    "https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2"
  ],
  "zipCode": "10001",
  "radiusMiles": 100,
  "maxPages": 1,
  "maxItems": 20
}
Input fieldTypeWhat it does
searchUrls (required)arrayCarGurus vehicle listing pages such as https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2 or https://www.cargurus.com/Cars/used/nl-Used-Toyota-Camry-d158.
zipCodestring5-digit US ZIP code to center the search on (e.g.
radiusMilesintegerSearch radius in miles from the ZIP code.
conditionstringKeep only new listings, only used listings, or all regardless of condition.
maxPagesintegerHow many result pages to read per search URL (around 15-25 listings per page).
maxItemsintegerThe run stops after this many result rows.

Output sample

Real rows from a run of the Actor. Fields that name people are left out of the sample.

[
  {
    "searchUrl": "https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2",
    "page": 1,
    "listingId": "460003322",
    "vin": "1FA6P8CF2T5417539",
    "year": 2026,
    "make": "Ford",
    "model": "Mustang",
    "trim": "GT Fastback RWD",
    "bodyType": "Coupe",
    "condition": "NEW",
    "price": 58099,
    "msrp": 62650,
    "engine": "480 hp 5L V8",
    "transmission": "Automatic",
    "drivetrain": "Rear-Wheel Drive",
    "exteriorColor": "Shadow Black",
    "fuelType": "Gasoline",
    "mpgCombined": 19.6,
    "dealerName": "Fred Beans Ford of Mechanicsburg",
    "dealerCity": "Mechanicsburg",
    "dealerState": "PA",
    "dealerZip": "17050",
    "distance": 86.99595,
    "imageUrl": "https://static.cargurus.com/images/forsale/2026/09/26/07/04/2026_ford_mustang-pic-5048896905568389234-1024x768.jpeg",
    "url": "https://www.cargurus.com/details/460003322"
  },
  {
    "searchUrl": "https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2",
    "page": 1,
    "listingId": "449569122",
    "vin": "1FA6P8TH3T5124587",
    "year": 2026,
    "make": "Ford",
    "model": "Mustang",
    "trim": "EcoBoost Fastback RWD",
    "bodyType": "Coupe",
    "condition": "NEW",
    "price": 30468,
    "msrp": 35695,
    "mileage": 20,
    "engine": "315 hp 2.3L I4",
    "transmission": "Automatic",
    "drivetrain": "Rear-Wheel Drive",
    "exteriorColor": "Adriatic Blue",
    "fuelType": "Gasoline",
    "mpgCombined": 26.95,
    "dealerName": "Preston Autoplex Group",
    "dealerCity": "Hurlock",
    "dealerState": "MD",
    "dealerZip": "21643",
    "distance": 89.102234,
    "imageUrl": "https://cdn-img.vincue.net/image/opt-dealerid50362-photoid2416062051-olid416438-overlaymodetopbottom--O6X5Z-ltid1/2416062051.jpg",
    "url": "https://www.cargurus.com/details/449569122"
  }
]

Code: Python, JavaScript and cURL

Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/cargurus-zipcode-search-scraper.

Python (apify-client)

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {'searchUrls': ['https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2'],
 'zipCode': '10001',
 'radiusMiles': 100,
 'maxPages': 1,
 'maxItems': 20}

run = client.actor("v0iddo/cargurus-zipcode-search-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

JavaScript (apify-client)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const input = {
  "searchUrls": [
    "https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2"
  ],
  "zipCode": "10001",
  "radiusMiles": 100,
  "maxPages": 1,
  "maxItems": 20
};

const run = await client.actor('v0iddo/cargurus-zipcode-search-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

cURL

curl -X POST "https://api.apify.com/v2/acts/v0iddo~cargurus-zipcode-search-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchUrls": ["https://www.cargurus.com/Cars/new/nl-New-Ford-Mustang-d2"], "zipCode": "10001", "radiusMiles": 100, "maxPages": 1, "maxItems": 20}'

Price

$0.85 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.59 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.

Good to know

FAQ

What data does the CarGurus Zipcode Search Scraper return?

Each result is one row in an Apify dataset. Fields include listingId, vin, year, make, model, trim, price, msrp, and more. The table above shows every field with an example value.

How do I use the CarGurus Zipcode Search Scraper from Python?

Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/cargurus-zipcode-search-scraper with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.

Can I use it without writing code?

Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.

How much does it cost?

$0.85 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.59 per 1,000. A new Apify account gets $5 of platform credit every month.

How do I limit the number of results?

Set the maxItems input field to the number of results you need; the run stops there, so it also caps the cost of one run. You can also set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.

Can I send the results to Google Sheets, Make, Zapier or n8n?

Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.

Open CarGurus Zipcode Search Scraper on Apify

Related guides