Automotive
Cars.com Scraper
cars.com
Cars.com is a major US vehicle marketplace with dealer and private listings. ScrapeUnblocker renders its search results as a buyer would see them and returns the make, model, price and specs for each car, holding a clean 100% at around four seconds a page.
What you can extract
- Make, model, trim and year
- Price and mileage
- Dealer name, rating and location
- Exterior and interior color and drivetrain
- Vehicle history flags and listing URL
How to scrape it
curl -X POST \
-H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
"https://api.scrapeunblocker.com/getPageSource?url=https%3A%2F%2Fwww.cars.com%2Fshopping%2Fresults%2F&parsed_data=true"import requests
resp = requests.post(
"https://api.scrapeunblocker.com/getPageSource",
headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
params={"url": "https://www.cars.com/shopping/results/", "parsed_data": True},
)
print(resp.text)import { ScrapeUnblockerClient } from 'scrapeunblocker';
const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });
const results = await su.getPageSource({
url: 'https://www.cars.com/shopping/results/',
parsedData: true,
});
console.log(results); Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.
Frequently asked questions
Is it legal to scrape Cars.com?
Collecting publicly available Cars.com data such as car prices, mileage and dealer names is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. Some of it can be personal data, so follow the privacy rules that apply to you. ScrapeUnblocker returns the public page; what you collect and how you use it is your responsibility.
How do I scrape Cars.com without getting blocked?
Cars.com uses bot detection and rate limiting. ScrapeUnblocker renders the page in a real browser, rotates residential and ISP exits and handles challenges, so you get the page a visitor sees rather than a block page. In ScrapeUnblocker's benchmark it returned real content on 100% of 1,000 calls, about 4.2s per call.
What Cars.com data can I get?
Cars.com search pages give you each car's make, model, trim and year, price and mileage, the dealer name, rating and location, exterior and interior color and drivetrain, vehicle history flags and the listing URL. Take the rendered HTML, or pass parsed_data=true for structured JSON.
Do I need a Cars.com API or account?
No. ScrapeUnblocker returns the public Cars.com page as HTML, or structured JSON with parsed_data=true, so you do not need a Cars.com API account. Send a Cars.com search or listing URL to /getPageSource with your ScrapeUnblocker key. Use steps for clicks, typing or scrolling when a page needs them.
Can I monitor Cars.com at scale?
Yes. Calls run in parallel up to your plan's concurrency limit: 20 to 100 concurrent requests on Pay as you go, Starter and Pro, and 200 to 400 on Business, Scale and Ultimate. Send many make, model and location searches at once to track prices and mileage across the US used and new car market.
How much does it cost to scrape Cars.com?
Each Cars.com request costs 1 credit, from EUR 1.00 per 1,000 on pay as you go to about EUR 0.55 per 1,000 on the Ultimate plan. Delivered pages are billed, including a site's own 404 or 410 page. A 403 block, a timeout, a 523 origin unreachable, a 429 and errors on ScrapeUnblocker's side are not billed. The free trial includes 500 requests, no card.
Related scrapers
Start scraping this site today
Free tier included. No credit card required to test it.