Alert

Actor is under maintenance

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

Cars Scraper

  • voyn/cars-scraper
  • Modified
  • Users 14
  • Runs 399
  • Created by Author's avatarFatih Köse

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.

Free trial for 3 days

Then $10.00/month

No credit card required now

Cars Scraper

Free trial for 3 days

Then $10.00/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{
  "carscom_link": [
    "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="
  ],
  "proxy_config": {
    "useApifyProxy": true
  }
}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/voyn~cars-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'