agentleFS
carabain-digitalcarabain-digital/apify-agent-skills/skills/autotrader-listings/SKILL.md

autotrader-listings

Skill1 starsChanged 10 days agoMITView on GitHub

Scrape car listings from Autotrader.com (USA): new, used and certified cars from dealers and private sellers by ZIP code and radius. Filter by make, model, year, price, mileage, fuel, body. Price, VIN, KBB fair price, deal rating, dealer phone. Newest first. Runs the Apify Actor carabain-digital/autotrader-listings. Use for tasks like: Used Toyota Camry 2018-2023 near New York on Autotrader; Electric cars near Los Angeles with price history on Autotrader.

  • Installs packages
  • Sends data out

The file

Files
SKILL.md

Autotrader Car Listings Scraper

Scrape car listings from Autotrader.com (USA): new, used and certified cars from dealers and private sellers by ZIP code and radius. Filter by make, model, year, price, mileage, fuel, body. Price, VIN, KBB fair price, deal rating, dealer phone. Newest first.

Runs on Apify as the Actor carabain-digital/autotrader-listings, billed per result to the user's own Apify account.

Setup

The user needs an Apify API token in APIFY_TOKEN (console.apify.com/settings/integrations). No Apify account yet? Sign up free: no credit card needed, and the Free plan includes $5 of credit every month, enough for about 5,000 car listings with this Actor.

Run it

Apify API, waits for the run and returns the items (up to 5 minutes; for bigger runs start it with POST /v2/acts/carabain-digital~autotrader-listings/runs and read the dataset afterwards):

curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~autotrader-listings/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"make": "Toyota", "model": "Camry", "condition": "used", "min_year": 2018, "max_year": 2023, "min_price": 10000, "max_price": 30000, "max_mileage": 80000, "location": "10001", "radius_km": 160, "limit": 200}'

Python (pip install apify-client):

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/autotrader-listings").call(run_input={"make": "Toyota", "model": "Camry", "condition": "used", "min_year": 2018, "max_year": 2023, "min_price": 10000, "max_price": 30000, "max_mileage": 80000, "location": "10001", "radius_km": 160, "limit": 200})
items = client.dataset(run["defaultDatasetId"]).list_items().items

MCP: add the Apify MCP server with this Actor as a tool: https://mcp.apify.com/?actors=carabain-digital/autotrader-listings.

Input

FieldTypeDescription
makestringCar make as Autotrader names it. Example: Toyota, Mercedes-Benz, Land Rover. Leave empty for all makes. An unknown make fails the run instead of returning every car.
modelstringModel of that make. Example: Camry, CR-V, F-150, 3 Series. Needs a make.
min_yearintegerOldest model year. Example: 2018.
max_yearintegerNewest model year. Example: 2023.
min_priceintegerLowest asking price in US dollars. Example: 10000.
max_priceintegerHighest asking price in US dollars. Example: 30000.
max_mileageintegerHighest odometer reading in miles. Example: 60000.
fuel_typestringOnly cars with this fuel. Example: electric. Values: petrol, diesel, electric, hybrid, plugin_hybrid, hydrogen.
transmissionstringOnly automatic or only manual cars. Example: manual. Values: automatic, manual.
body_typestringOnly this body style. Example: suv. Van and minivan are one category on Autotrader. Values: sedan, hatchback, wagon, suv, coupe, convertible, van, minivan, pickup.
conditionstringNew, used (certified pre-owned included) or both. Example: used. Values: any, used, new. Default: "any".
seller_typestringWho sells the car. Example: private. Values: any, dealer, private. Default: "any".
locationstringUS ZIP code to search around (5 digits). Example: 10001 (New York), 90012 (Los Angeles), 60601 (Chicago). Leave empty to search nationwide.
radius_kmintegerSearch radius around the ZIP code in kilometres; it is rounded up to Autotrader's options (10, 25, 50, 75, 100, 200, 300, 400, 500 miles; beyond 500 miles = nationwide). Example: 80 (= 50 miles), 160 (= 100 miles). Default: 80.
start_urlsarraySearch result pages copied from autotrader.com; they replace the filters above and keep every filter and the sort order in the URL. Example: https://www.autotrader.com/cars-for-sale/used-cars/honda/cr-v/los-angeles-ca?zip=90012&searchRadius=50&startYear=2020. Format: [{"url": "https://..."}].
limitintegerStop after this many listings (newest first). Example: 100. Default: 100.
includeDetailsbooleanAlso open each listing's page: the dealer's full description, every photo, equipment by category, highlighted features, option packages, original warranties, open safety recalls, walk-around videos, all dealer phone numbers and opening hours. Adds $1.00 per 1,000 listings on top of the base price. One extra request per listing (about 3 s per 10 listings). Default: false.
trackHistorybooleanKeep the price of every listing in a named store in your own Apify account and add first_seen_at, previous_price, price_change, price_change_pct, status_changed and price_history to each item. Run it on a schedule: the first run only starts the series. Adds $1.00 per 1,000 listings that already had history. Do not run two runs on the same store at once. Default: false.
historyStoreNamestringName of the key-value store that holds the history (letters a-z, digits, dashes). All our car Actors use cars-history by default, so history is shared between them. Use another name to keep a separate series per search, e.g. nyc-used-suvs. Default: "cars-history".

Examples

Used Toyota Camry 2018-2023 near New York on Autotrader: Scrape used Toyota Camry listings (2018-2023, $10k-$30k, under 80,000 miles) within 100 miles of New York from Autotrader.com: price, mileage, VIN, KBB fair price, deal rating, dealer and phone. Export to JSON, CSV or Excel.

{
  "make": "Toyota",
  "model": "Camry",
  "condition": "used",
  "min_year": 2018,
  "max_year": 2023,
  "min_price": 10000,
  "max_price": 30000,
  "max_mileage": 80000,
  "location": "10001",
  "radius_km": 160,
  "limit": 200
}

Electric cars near Los Angeles with price history on Autotrader: Scrape electric cars for sale within 50 miles of Los Angeles from Autotrader.com and track their price over time: asking price, price drops, KBB fair price, mileage, dealer. Run it daily to catch price cuts.

{
  "fuel_type": "electric",
  "location": "90012",
  "radius_km": 80,
  "limit": 300,
  "trackHistory": true
}

Output

One dataset item per result. Main fields: title, year, mileage, price, deal_rating, city, region, seller_name, url.

FieldTypeDescription
idstringStable listing ID, autotrader:<listing id>
sourcestringShort site name (autotrader)
urlstringPublic listing URL on autotrader.com
titlestringListing title, e.g. Used 2025 Buick Encore GX Avenir
makestringMake, e.g. Toyota
modelstringModel, e.g. Camry
variantstringTrim, e.g. XLE (null when the site has none)
conditionstringnew or used (certified pre-owned cars are used, see certified)
pricenumberAsking price in USD (the dealer's sale price). Null when the dealer shows 'Contact Dealer For Price'
price_currencystringUSD
price_typestringfixed, or on_request when there is no price
mileageintegerOdometer reading in miles
mileage_unitstringmi
yearintegerModel year
first_registrationstringModel year as YYYY (Autotrader does not publish a registration date)
fuel_typestringpetrol, diesel, electric, hybrid, plugin_hybrid, hydrogen, ethanol (flex fuel), cng, lpg or other
transmissionstringautomatic or manual
body_typestringsedan, hatchback, wagon, suv, coupe, convertible, van, minivan, pickup or other
power_kwnumberNot published by Autotrader (null)
power_hpnumberNot published by Autotrader (null)
engine_ccintegerEngine displacement in cc, from the litres the site shows (2.0 L = 2000)
colorstringExterior colour as the dealer wrote it
doorsintegerNumber of doors
seatsintegerNot published in search results (null)
vinstringVehicle identification number (17 characters)
seller_typestringdealer or private
seller_namestringDealer name, or 'Private Seller Exchange' for private sellers
seller_phonestringSeller phone number in +1 format (the dealer's tracking number for this listing)
seller_urlstringDealer website link for this car
addressstringDealer street, city, state and ZIP on one line
citystringSeller city
postcodestringSeller ZIP code
regionstringUS state code, e.g. NY
countrystringUS
latnumberDealer latitude
lonnumberDealer longitude
listed_atstringDate the car was listed on Autotrader (YYYY-MM-DD, from its days on site)
image_urlsarrayPhoto URLs (search results carry the main photo; the details add-on adds every photo)
descriptionstringDetails add-on: the dealer's full description
scraped_atstringWhen this item was scraped, UTC ISO 8601
certifiedbooleanTrue for manufacturer or third-party certified pre-owned cars
trimstringTrim name as the site shows it
drive_typestringDrive type, e.g. All wheel drive
enginestringEngine, e.g. 4-Cylinder Turbo
engine_displacement_lnumberEngine displacement in litres
interior_colorstringInterior colour
mpg_citynumberCity fuel economy in MPG
mpg_highwaynumberHighway fuel economy in MPG
stock_numberstringDealer stock number
days_on_siteintegerDays the car has been listed on Autotrader
deal_ratingstringAutotrader/KBB deal rating: Great, Good or null
kbb_fair_pricenumberKelley Blue Book Fair Purchase Price in USD
kbb_fair_price_lownumberLow end of the KBB fair price range
kbb_fair_price_highnumberHigh end of the KBB fair price range
price_reducedbooleanTrue when the dealer recently cut the price
site_price_historyarrayPrice changes Autotrader shows for this listing, [{date, price}]
vehicle_historyarrayVehicle history badges, e.g. NO_ACCIDENTS_REPORTED, ONE_OWNER, NO_SALVAGE_TITLE
dealer_ratingnumberDealer review score (0-5)
dealer_review_countintegerNumber of dealer reviews
distance_minumberDistance from the searched ZIP code in miles
details_fetchedbooleanTrue when the details add-on enriched this item
featuresobjectDetails add-on: equipment by category (exterior, interior, mechanical, safety, technology, other)
highlightsarrayDetails add-on: the key features the site highlights, e.g. Backup Camera, Apple CarPlay
packagesarrayDetails add-on: option packages
warrantiesobjectDetails add-on: original warranties, e.g. {basic: '3 Years/36,000 Miles'}
open_recallsintegerDetails add-on: number of open safety recalls
video_urlsarrayDetails add-on: walk-around video URLs
seller_phonesarrayDetails add-on: every phone number of the dealer
dealer_hoursobjectDetails add-on: opening hours per weekday
first_seen_atstringPrice history add-on: when this listing was first seen by your runs
previous_pricenumberPrice history add-on: the price at the previous run (null on the first run)
price_changenumberPrice history add-on: price minus previous price
price_change_pctnumberPrice history add-on: price change in percent
status_changedbooleanPrice history add-on: true when the status changed since the previous run
price_historyarrayPrice history add-on: price and status points over your runs, [{at, price, status}], last 20

Price

Pay per result: $1.00 per 1,000 car listings on the Apify Free plan, less on paid plans. No subscription; Apify bills the run to the user's account.

  • Full details: $1.00 per 1,000. One car listing enriched with its Autotrader page: the dealer's full description, every photo, equipment by category, highlighted features, option packages, original warranties, open safety recalls, walk-around videos, all dealer phone numbers and opening hours.
  • Price history: $1.00 per 1,000. One car listing that already had history in your named history store, enriched with first_seen_at, previous_price, price_change, price_change_pct, status_changed and price_history. The first run of a listing is free.

Store page, reviews and full documentation: Autotrader Car Listings Scraper

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.