![Autotrader Scraper avatar](https://images.apifyusercontent.com/LhatdTy4EpdEa9vSbLmOmfmoDwvdMKJRPGzTXkX-DBA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9RelNqQTRmMlhFMzd4R0pGOS9qZVRKQlpTNDNOd2lmb20zMi1hdXRvdHJhZGVyLmpwZw.webp)
Autotrader Scraper
Try for free
3 days trial then $15.00/month - No credit card required now
View all Actors![Autotrader Scraper](https://images.apifyusercontent.com/LhatdTy4EpdEa9vSbLmOmfmoDwvdMKJRPGzTXkX-DBA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9RelNqQTRmMlhFMzd4R0pGOS9qZVRKQlpTNDNOd2lmb20zMi1hdXRvdHJhZGVyLmpwZw.webp)
![Autotrader Scraper](https://images.apifyusercontent.com/LhatdTy4EpdEa9vSbLmOmfmoDwvdMKJRPGzTXkX-DBA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9RelNqQTRmMlhFMzd4R0pGOS9qZVRKQlpTNDNOd2lmb20zMi1hdXRvdHJhZGVyLmpwZw.webp)
Autotrader Scraper
epctex/autotrader-scraper
Try for free
3 days trial then $15.00/month - No credit card required now
Uncover valuable car listing data on Autotrader.com with our Autotrader Scraper. Scrape and extract descriptions, images, prices, mileage, addresses, names, engine information, the transmission of the car, contact details, and more without any limitations. Filter by any field to find your ideal car.
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 "startUrls": [
8 "https://www.autotrader.com/marketplace/buy/chevrolet/malibu/2012/1G1ZC5E02CF229746?listingId=700269607",
9 "https://www.autotrader.com/cars-for-sale/all-cars/harrisburg-pa-17101",
10 "https://www.autotrader.com/cars-for-sale/vehicledetails.xhtml?0=vehicledetails.xhtml&listingId=675520329&allListingType=all-cars&city=Harrisburg&state=PA&zip=17101&searchRadius=50&=&isNewSearch=false&referrer=%2Fcars-for-sale%2Fall-cars%2Fharrisburg-pa-17101%3F0%3Dvehicledetails.xhtml%26listingId%3D651889249%26searchRadius%3D50%26&clickType=listing",
11 "https://www.autotrader.com/cars-for-sale/vehicledetails.xhtml?0=vehicledetails.xhtml&listingId=675490538&allListingType=all-cars&city=Harrisburg&state=PA&zip=17101&searchRadius=50&=&isNewSearch=false&referrer=%2Fcars-for-sale%2Fall-cars%2Fharrisburg-pa-17101%3F0%3Dvehicledetails.xhtml%26listingId%3D651889249%26searchRadius%3D50%26&clickType=listing",
12 "https://www.autotrader.com/cars-for-sale/vehicledetails.xhtml?0=vehicledetails.xhtml&listingId=675749094&allListingType=all-cars&city=Harrisburg&state=PA&zip=17101&searchRadius=50&=&isNewSearch=false&referrer=%2Fcars-for-sale%2Fall-cars%2Fharrisburg-pa-17101%3F0%3Dvehicledetails.xhtml%26listingId%3D651889249%26searchRadius%3D50%26&clickType=listing"
13 ],
14 "maxItems": 20,
15 "endPage": 1,
16 "extendOutputFunction": "($) => { return {} }",
17 "customMapFunction": "(object) => { return {...object} }",
18 "proxy": {
19 "useApifyProxy": true
20 }
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/epctex~autotrader-scraper/runs?token=$API_TOKEN" \
27 -X POST \
28 -d @input.json \
29 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 8 monthly users
- 5 stars
- 100.0% runs succeeded
- Created in Feb 2020
- Modified about 23 hours ago
Categories