Skip to main content gottem  — one API for every scraper.
Automotive
Verified

CarGurus Scraper

Extract CarGurus deal ratings, price analysis, vehicle listings, and dealer reviews with React SPA rendering support. Built on spider-browser .

Get started Docs
target
cargurus.com
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

cargurus-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.cargurus.com/Cars/inventorylisting/vAll_iO.jsp?zip=90001");
await page.content();

const data = await page.evaluate(`(() => {
  const vehicles = [];
  document.querySelectorAll('[data-testid="srp-listing-card"]').forEach(el => {
    const title = el.querySelector("h4")?.textContent?.trim();
    const price = el.querySelector('[data-testid="srp-tile-price"]')?.textContent?.trim();
    const deal = el.querySelector('[data-testid="srp-deal-badge"]')?.textContent?.trim();
    const mileage = el.querySelector('[data-testid="srp-tile-mileage"]')?.textContent?.trim();
    if (title) vehicles.push({ title, price, deal, mileage });
  });
  return JSON.stringify({ total: vehicles.length, vehicles: vehicles.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Fetch API

One endpoint for cargurus.com.

Structured JSON from cargurus.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/cargurus.com/
Vehicle titlePriceDeal ratingMileageDealer nameDays on market
cURL
curl -X POST https://api.spider.cloud/fetch/cargurus.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/cargurus.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/cargurus.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Fields you can pull.

Vehicle titlePriceDeal ratingMileageDealer nameDays on marketPrice dropLocation
Listings

Vehicle inventory

Extract make, model, year, price, and mileage from cargurus.com listings.

Rendering

Dynamic search

Handle interactive search filters, map views, and lazy-loaded inventory pages.

Scale

Market coverage

Process thousands of vehicle listings across dealers and private sellers.

Related

More Automotive scrapers.

Start

Start scraping cargurus.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.