Autotrader Scraper
3 days trial then $15.00/month - No credit card required now
Autotrader Scraper
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.
Actor - Autotrader Scraper
Autotrader scraper
Since Autotrader doesn't provide a good and free API, this actor should help you to retrieve data from it.
The Autotrader data scraper supports the following features:
-
Search any search results - Get any search results. New or used cars with brand and model information.
-
Filter by anything without any limits - Filter your search results by brand, price, and any other options that the website provides. No limits!
-
Scrape any listing details - Retrieve information about the cars. Brand, model, price, mileage, fuel type, transmission, interior colors, exterior colors, and many other features.
🇬🇧 If you are looking into scraping Autotrader.co.uk instead of the UK store, please check our Autotrader Scraper.
Bugs, fixes, updates, and changelog
This scraper is under active development. If you have any feature requests you can create an issue from here.
Input Parameters
The input of this scraper should be JSON containing the list of pages on Autotrader that should be visited. Possible fields are:
-
startUrls
: (Required) (Array) List of Autotrader URLs. It should be search, list, or listing detail URL. -
includeReviews
: (Optional) (Boolean) This will add all the reviews that Autotrader provides into the detail objects. Please keep in mind that the time and resources the actor uses will increase proportionally by the number of reviews. -
endPage
: (Optional) (Number) Final number of page that you want to scrape. The default isInfinite
. This applies to allsearch
requests andstartUrls
individually. -
maxItems
: (Optional) (Number) You can limit scraped items. This should be useful when you search through the big lists or search results. -
proxy
: (Required) (Proxy Object) Proxy configuration. -
extendOutputFunction
: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data. -
customMapFunction
: (Optional) (String) Function that takes each object's handle as an argument and returns the object with executing the function.
This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.
Tip
When you want to scrape over a specific listing URL, just copy and paste the link as one of the startUrl.
If you would like to scrape only the first page of a list then put the link for the page and have the endPage
as 1.
With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a list and define the endPage
parameter as 6 then you'll have the 5th and 6th pages only.
Compute Unit Consumption
The actor is optimized to run blazing fast and scrape many as listings as possible. Therefore, it forefronts all listing detail requests. If the actor doesn't block very often it'll scrape 100 listings in 2 minutes with ~0.15-0.25 compute units.
Autotrader Scraper Input example
1{ 2 "startUrls":[ 3 "https://www.autotrader.com/cars-for-sale/all-cars/harrisburg-pa-17101", 4 "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", 5 "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", 6 "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", 7 "https://www.autotrader.com/marketplace/buy/chevrolet/malibu/2012/1G1ZC5E02CF229746?listingId=700269607", 8 ], 9 "endPage": 3, 10 "proxy":{ 11 "useApifyProxy":true, 12 "countryCode":"US" 13 } 14}
During the Run
During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.
If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.
Autotrader Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Autotrader actor.
Scraped Autotrader Output
The structure of each item in Autotrader looks like this:
1{ 2 "id": 674376797, 3 "url": "https://www.autotrader.com/cars-for-sale/vehicledetails.xhtml?listingId=674376797&allListingType=all-cars&city=Harrisburg&state=PA&zip=17101&searchRadius=50&marketExtension=include&isNewSearch=false&showAccelerateBanner=false&sortBy=relevance&numRecords=25&referrer=%2Fcars-for-sale%2Fall-cars%2Fharrisburg-pa-17101%3FsearchRadius%3D50%26marketExtension%3Dinclude%26isNewSearch%3Dfalse%26showAccelerateBanner%3Dfalse%26sortBy%3Drelevance%26numRecords%3D25&clickType=listing", 4 "title": "Used 2021 Toyota Tacoma TRD Off-Road", 5 "brand": "Toyota", 6 "model": "Tacoma", 7 "stockNumber": "MM403382", 8 "vin": "3TMCZ5AN8MM403382", 9 "year": 2021, 10 "price": 42242, 11 "features": { 12 "Exterior": [ 13 "Aluminum Wheels", 14 "Automatic Headlights", 15 "Automatic Highbeams", 16 "Fog Lamps", 17 "Heated Mirrors", 18 "Integrated Turn Signal Mirrors", 19 "Power Mirror(s)", 20 "Tires - Front All-Season", 21 "Tires - Rear All-Season", 22 "Tow Hitch" 23 ], 24 "Interior": [ 25 "A/C", 26 "Adjustable Steering Wheel", 27 "Auto-Dimming Rearview Mirror", 28 "Bucket Seats", 29 "Cloth Seats", 30 "Driver Adjustable Lumbar", 31 "Intermittent Wipers", 32 "Leather Steering Wheel", 33 "Pass-Through Rear Seat", 34 "Power Door Locks", 35 "Power Driver Seat", 36 "Power Windows", 37 "Privacy Glass", 38 "Rear Bench Seat", 39 "Steering Wheel Audio Controls", 40 "Trip Computer", 41 "Variable Speed Intermittent Wipers" 42 ], 43 "Safety": [ 44 "ABS", 45 "Brake Assist", 46 "Child Safety Locks", 47 "Conventional Spare Tire", 48 "Daytime Running Lights", 49 "Driver Air Bag", 50 "Front Head Air Bag", 51 "Front Side Air Bag", 52 "Knee Air Bag", 53 "Lane Departure Warning", 54 "Passenger Air Bag", 55 "Passenger Air Bag Sensor", 56 "Rear Head Air Bag", 57 "Security System", 58 "Stability Control", 59 "Tire Pressure Monitor", 60 "Traction Control" 61 ], 62 "Mechanical": [ 63 "Four Wheel Drive", 64 "Front Disc/Rear Drum Brakes", 65 "Power Steering" 66 ], 67 "Technology": [ 68 "AM/FM Stereo", 69 "Adaptive Cruise Control", 70 "Auxiliary Audio Input", 71 "Back-Up Camera", 72 "Bluetooth Connection", 73 "Cruise Control", 74 "Immobilizer", 75 "Keyless Entry", 76 "Keyless Start", 77 "MP3 Player", 78 "Satellite Radio", 79 "Telematics", 80 "WiFi Hotspot" 81 ], 82 "Other": [ 83 "Driver Monitoring", 84 "Front Collision Mitigation", 85 "Locking/Limited Slip Differential", 86 "Requires Subscription", 87 "Smart Device Integration", 88 "Tow Hooks" 89 ] 90 }, 91 "daysOnSite": 3, 92 "engine": "6-Cylinder", 93 "fuelType": "Gasoline", 94 "description": "Priced below KBB Fair Purchase Price!<br>Non-Smoker, 120V/400W Deck Mounted AC Power, 6 Speakers, ABS brakes, Air Conditioning, Alloy wheels, Anti-whiplash front head restraints, Apple CarPlay/Android Auto, Auto High-beam Headlights, Black Overfenders, Brake assist, Dual front impact airbags, Dual front side impact airbags, Electronic Stability Control, Engine Immobilizer, Fabric Seat Trim (FD), Front Center Armrest, Front fog lights, Heated door mirrors, Illuminated entry, Low tire pressure warning, Panic alarm, Passenger door bin, Power door mirrors, Power driver seat, Power Sliding Rear Window w/Privacy Glass, Radio: AM/FM Radio, Rear step bumper, Remote keyless entry, Speed control, Split folding rear seat, Steering wheel mounted audio controls, Tachometer, Tilt steering wheel, Traction control, TRD Off Road Package. CARFAX One-Owner. Certified.<br>Cement 2021 Toyota Tacoma TRD Off-Road V6 4WD 6-Speed 3.5L V6 PDI DOHC 24V LEV3-ULEV70 278hp<br><br>Recent Arrival! Odometer is 8707 miles below market average!<br><br>Toyota Certified Used Vehicles Details:<br><br>* Roadside Assistance<br>* Limited Warranty: 12 Month/12,000 Mile (whichever comes first) from TCUV purchase date<br>* Limited Comprehensive Warranty: 12 Month/12,000 Mile (whichever comes first) from certified purchase date. Roadside Assistance for 7 Year / 100,000 Mile<br>* 160 Point Inspection<br>* Vehicle History<br>* Warranty Deductible: $0<br>* Transferable Warranty<br>* Powertrain Limited Warranty: 84 Month/100,000 Mile (whichever comes first) from TCUV purchase dateTacoma 4WD Four Wheel Drive, Locking/Limited Slip Differential, Tow Hitch, Power Steering, ABS, Front Disc/Rear Drum Brakes, Brake Assist, Locking/Limited Slip Differential, Aluminum Wheels, Tires - Front All-Season, Tires - Rear All-Season, Conventional Spare Tire, Tow Hooks, Heated Mirrors, Power Mirror(s), Integrated Turn Signal Mirrors, Intermittent Wipers, Variable Speed Intermittent Wipers, Privacy Glass, Power Door Locks, Daytime Running Lights, Automatic Headlights, Automatic Highbeams, Fog Lamps, AM/FM Stereo, Satellite Radio, MP3 Player, Bluetooth Connection, Auxiliary Audio Input, Smart Device Integration, Requires Subscription, Steering Wheel Audio Controls, Power Driver Seat, Bucket Seats, Driver Adjustable Lumbar, Pass-Through Rear Seat, Rear Bench Seat, Adjustable Steering Wheel, Trip Computer, Power Windows, WiFi Hotspot, Leather Steering Wheel, Keyless Entry, Power Door Locks, Keyless Entry, Power Door Locks, Keyless Start, Cruise Control, Adaptive Cruise Control, A/C, Cloth Seats, Auto-Dimming Rearview Mirror, Power Windows, Power Door Locks, Trip Computer, Security System, Immobilizer, Traction Control, Stability Control, Traction Control, Front Side Air Bag, Telematics, Requires Subscription, Lane Departure Warning, Front Collision Mitigation, Driver Monitoring, Tire Pressure Monitor, Front Head Air Bag, Rear Head Air Bag, Passenger Air Bag Sensor, Knee Air Bag, Driver Air Bag, Passenger Air Bag, Child Safety Locks, Back-Up Camera", 95 "images": [ 96 "https://images.autotrader.com/hn/c/2b8d9b3ced6649a4bfb0d9f5c1c604ec.jpg", 97 "https://images.autotrader.com/hn/c/b09db1d7d92a4e15a001d59b582cd084.jpg", 98 "https://images.autotrader.com/hn/c/9df669fc7b064a26b2814c6694c87004.jpg", 99 "https://images.autotrader.com/hn/c/5ff9c77054074b2580cd13422bee7032.jpg", 100 "https://images.autotrader.com/hn/c/51adf23e01f04373aa86386a3abbf379.jpg", 101 "https://images.autotrader.com/hn/c/367d292505c04ccc8846bdab5ca134f3.jpg", 102 "https://images.autotrader.com/hn/c/2139773562874e39b7856b06e8be4186.jpg", 103 "https://images.autotrader.com/hn/c/3cc10090552f406ca42911298f4c93b2.jpg", 104 "https://images.autotrader.com/hn/c/8f74cbd9ab814a3b8e93cfbb84c7d774.jpg", 105 "https://images.autotrader.com/hn/c/9275f2e471b74d75bf963222349cab87.jpg" 106 ], 107 "ownerTitle": "Faulkner Toyota - Harrisburg", 108 "ownerRating": 5, 109 "ownerRatingCount": 1589, 110 "ownerPhone": "7177988257" 111}
Contact
Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.
Actor Metrics
6 monthly users
-
5 stars
>99% runs succeeded
6.1 hours response time
Created in Feb 2020
Modified 17 hours ago