Cars Scraper avatar
Cars Scraper
Try for free

1 day trial then $20.00/month - No credit card required now

View all Actors
Cars Scraper

Cars Scraper

voyn/cars-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

Cars.com scraper, great tool for car dealers! Scrape cars from Cars.com to retrieve data such as year, make, model, trim, specs, and price. Additionaly, it'll calculate profit if average price of car given by website.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "carscom_link": [
8    "https://www.cars.com/shopping/results/?dealer_id=&keyword=&list_price_max=&list_price_min=&makes[]=&maximum_distance=all&mileage_max=&page_size=20&sort=best_match_desc&year_max=&year_min=&zip="
9  ],
10  "proxy_config": {
11    "useApifyProxy": false
12  }
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/voyn~cars-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 9 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • 7 days response time
  • Created in Sep 2022
  • Modified about 6 hours ago