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

edmunds-listings

Skill1 starsChanged 10 days agoMITView on GitHub

Scrape used and new cars for sale from Edmunds inventory (edmunds.com/inventory), USA: price, Edmunds deal rating and price estimate, mileage, VIN, specs, dealer phone. Search by ZIP, make, model, year, price. Newest first. Add-ons: full details, price history. Listings only, no reviews. Runs the Apify Actor carabain-digital/edmunds-listings. Use for tasks like: Used Honda CR-V near Los Angeles on Edmunds; Used electric cars near Chicago: Edmunds price history.

  • Installs packages
  • Sends data out

The file

Files
SKILL.md

Edmunds Car Listings for Sale

Scrape used and new cars for sale from Edmunds inventory (edmunds.com/inventory), USA: price, Edmunds deal rating and price estimate, mileage, VIN, specs, dealer phone. Search by ZIP, make, model, year, price. Newest first. Add-ons: full details, price history. Listings only, no reviews.

Runs on Apify as the Actor carabain-digital/edmunds-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~edmunds-listings/runs and read the dataset afterwards):

curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~edmunds-listings/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"location": "90012", "make": "Honda", "model": "CR-V", "condition": "used", "limit": 100}'

Python (pip install apify-client):

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/edmunds-listings").call(run_input={"location": "90012", "make": "Honda", "model": "CR-V", "condition": "used", "limit": 100})
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/edmunds-listings.

Input

FieldTypeDescription
locationstringUS ZIP code to search around (5 digits). Example: 10001 (New York), 90210, 60601. Leave empty to search 500 miles around the middle of the US (Edmunds' largest radius). Also sets the area for search URLs.
radius_kmintegerDistance from the ZIP code in kilometres (converted to miles; Edmunds searches at most 500 miles). Default 50 miles (80 km). Only dealers within this distance are kept. Example: 160 for 100 miles.
makestringCar make as Edmunds writes it. Example: Toyota, Ford, Mercedes-Benz, Land Rover.
modelstringModel of that make (needs Make). Example: Camry, F-150, Model 3, CR-V.
conditionstringused (includes Certified Pre-Owned, the Edmunds default), new, or any (used, certified and new together, newest first). Example: used. Values: used, new, any. Default: "used".
min_yearintegerOldest model year. Example: 2018.
max_yearintegerNewest model year. Example: 2023.
min_priceintegerLowest price in US dollars. Example: 10000.
max_priceintegerHighest price in US dollars. Example: 25000.
max_mileageintegerHighest odometer reading in miles. Example: 60000.
fuel_typestringFuel type. Example: electric. Values: any, petrol, diesel, electric, hybrid, plugin_hybrid. Default: "any".
transmissionstringTransmission. Example: manual. Values: any, automatic, manual. Default: "any".
body_typestringBody style. Example: suv. Values: any, sedan, suv, pickup, hatchback, coupe, convertible, wagon, minivan, van. Default: "any".
seller_typestringKeep only dealer or only private-seller listings. Edmunds lists dealer inventory, so private is nearly always empty. Example: dealer. Values: any, dealer, private. Default: "any".
start_urlsarraySearch result pages copied from edmunds.com/inventory; their filters replace the ones above (the ZIP and radius still come from the fields). Example: https://www.edmunds.com/inventory/srp.html?inventorytype=used%2Ccpo&make=honda&model=honda%7Ccr-v. Page number and sort order are ignored; results come newest first. Format: [{"url": "https://..."}].
limitintegerStop after this many listings (newest first). Example: 100. Default: 100.
includeDetailsbooleanAlso open each listing: the dealer's complete description, full equipment list, dealer fees, MSRP and destination fee, dealer coordinates and the dealer's own page for the car. Charged per listing enriched. Example: true. 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 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. camry-nyc. Default: "cars-history".

Examples

Used Honda CR-V near Los Angeles on Edmunds: Scrape the newest used Honda CR-V listings within 50 miles of Los Angeles (ZIP 90012) from Edmunds inventory: price, Edmunds deal rating and price estimate, mileage, VIN, dealer and phone. Export to JSON, CSV or Excel.

{
  "location": "90012",
  "make": "Honda",
  "model": "CR-V",
  "condition": "used",
  "limit": 100
}

Used electric cars near Chicago: Edmunds price history: Scrape used electric cars under $35,000 around Chicago (ZIP 60601) from Edmunds inventory and track their price over time: price drops, Edmunds deal rating, mileage and dealer. Run it daily to catch the best EV deals.

{
  "location": "60601",
  "radius_km": 80,
  "fuel_type": "electric",
  "max_price": 35000,
  "limit": 200,
  "trackHistory": true
}

Output

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

FieldTypeDescription
idstringStable listing ID, edmunds:<VIN>
sourcestringShort site name (edmunds)
urlstringPublic listing page on edmunds.com
titlestringListing title, e.g. 2019 Honda CR-V LX AWD
makestringMake, e.g. Toyota
modelstringModel, e.g. Camry
variantstringTrim, e.g. LX AWD
conditionstringused or new
pricenumberListed price in USD (includes dealer fees where the state requires it). Null when the dealer shows no price
price_currencystringUSD
price_typestringfixed, or on_request when there is no price
mileageintegerOdometer reading
mileage_unitstringmi (miles)
yearintegerModel year
first_registrationstringAlways null: US listings only have the model year
fuel_typestringpetrol, diesel, electric, hybrid, plugin_hybrid, ethanol (flex fuel), cng, hydrogen or other
transmissionstringmanual or automatic
body_typestringsedan, hatchback, wagon, suv, coupe, convertible, van, pickup, minivan or other
power_kwintegerEngine power in kW (from hp)
power_hpintegerEngine power in hp, when CarGurus knows it
engine_ccintegerEngine displacement in cc
colorstringExterior colour as the dealer names it
doorsintegerNumber of doors
seatsintegerAlways null: not published
vinstringVehicle identification number (17 characters)
seller_typestringdealer or private
seller_namestringDealer name
seller_phonestringDealer phone number
seller_urlstringDetails add-on: the dealer's own page for this car
addressstringDealer address (city and state; full street address with the details add-on)
citystringDealer city
postcodestringDealer ZIP code
regionstringDealer state, e.g. NJ
countrystringUS
latnumberDetails add-on: dealer latitude
lonnumberDetails add-on: dealer longitude
listed_atstringDate the car was listed on CarGurus (YYYY-MM-DD, from days on market)
image_urlsarrayPhoto URLs (one without details, all with the details add-on)
descriptionstringSeller's comments (cut off after ~200 characters on the search card; complete with the Details add-on)
deal_ratingstringEdmunds deal rating: great, good, fair or above_market; null when Edmunds has no rating (too little data, many new cars)
days_on_marketintegerDays the car has been listed on CarGurus
msrpnumberDetails add-on: manufacturer's suggested retail price incl. options, USD
certified_pre_ownedbooleanTrue for certified pre-owned (CPO) cars
drivetrainstringe.g. All-Wheel Drive
enginestringEngine as CarGurus shows it, e.g. 184 hp 2.4L I4
transmission_textstringTransmission as CarGurus shows it, e.g. 8-Speed Automatic
fuel_type_textstringFuel type as CarGurus shows it, e.g. Gasoline
interior_colorstringInterior colour
mpg_citynumberCity fuel economy (MPG)
mpg_highwaynumberHighway fuel economy (MPG)
mpg_combinednumberCombined fuel economy (MPG)
optionsarrayTop features from the search card, e.g. AWD/4WD
stock_numberstringDealer stock number
distance_minumberDistance of the dealer from the searched ZIP code in miles
dealer_idintegerEdmunds dealer (rooftop) ID
equipmentarrayDetails add-on: full equipment list as the dealer entered it
accident_countintegerDetails add-on: accidents in the vehicle history report
owner_countintegerDetails add-on: previous owners in the vehicle history report
dealer_feesarrayDetails add-on: dealer fees [{name, amount, included}], e.g. Documentation Fee
details_fetchedbooleanTrue when the details add-on enriched this item
scraped_atstringWhen this item was scraped, UTC ISO 8601
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_changenumberDetails add-on: last change of the advertised price, USD (negative = drop)
price_change_pctnumberPrice history add-on: price change in percent
status_changedbooleanPrice history add-on: always false for CarGurus (no status field)
price_historyarrayPrice history add-on: price points over your runs, [{at, price, status}], last 20
price_estimatenumberEdmunds' price estimate for this car in your area (what similar cars list for), USD
price_vs_estimatenumberEdmunds estimate minus the price: positive = listed below the estimate, negative = above
deal_thresholdsobjectPrice limits behind the deal rating: {great_max, good_max, fair_max} in USD
savings_percentnumberPercent below Edmunds' estimate (negative = above)
in_transitbooleanTrue when the car is still being delivered to the dealer
clean_titlebooleanVehicle history: clean title (only where Edmunds shows history)
usage_typestringVehicle history: previous use, e.g. Personal Use, Rental
destination_feenumberDetails add-on: factory destination fee, USD

Price

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

  • Full details: $1.00 per 1,000. One listing enriched with its Edmunds listing page: the dealer's complete description, full equipment list, dealer fees, MSRP and destination fee, last price change, dealer coordinates and the dealer's own page for the car.
  • Price history: $1.00 per 1,000. One listing that already had history in your named history store, enriched with first_seen_at, previous_price, price_change, price_change_pct and price_history. The first run of a listing is free.

Store page, reviews and full documentation: Edmunds Car Listings for Sale

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.