Autotrader Api 标志

Autotrader Api

社区
scavio-ai
autotrader-api

Autotrader API,适用于 Cox Automotive 运营的美国汽车交易平台 Autotrader(autotrader.com):按照 Autotrader 的展示方式,提供新车和二手车的挂牌价,以及每条房源旁显示的 Kelley Blue Book Fair Purchase Price 区间(金额、低价、高价和 Autotrader 自行计算的价差)和 Autotrader 的优惠标签(Great、Good)。例如,2026 年 11 月 26 日,洛杉矶附近一辆二手 2018 Honda Civic LX 的标价为 18,881 USD,而 KBB Fair Purchase Price 为 19,440(区间为 18,690-20,140),并标注为 Great。可按美国任意 ZIP code 及半径(或全美范围)搜索待售车辆,按品牌、车型和配置筛选;每页 25 或 100 条,最多 100 页,可按相关度、价格、里程、车型年份或距离排序,并按车型年份、价格、里程、车身类型、驱动系统、颜色、经销商或私人卖家、新车、二手车或认证二手车、燃料、变速箱、车辆历史、Good 或 Great 优惠、单项配置、车门数和座位数筛选;提供结果集的最低、平均和最高价格、里程和年份;查询单条房源的完整信息,包括配置、规格、保修、经销商费用、价格历史、Autotrader 提供的历史记录标记,以及经销商地址、电话和营业时间;查询 ZIP code 附近最近的 50 家经销商(可按单一品牌筛选),以及单家经销商的营业时间、上门服务、按品牌统计的库存数量和首屏房源;查询某一品牌的车型、车型年份及按年份划分的价格区间。仅限美国,货币为 USD。共 5 个端点,每次调用消耗 2 个 credits。私人卖家仅显示城市和州;不提供 VIN、库存编号、经销商评价文字、成交价、autotrader.co.uk 或 autotrader.ca。

概览

发布者scavio-ai
代码仓库skills
技能名称autotrader-api
星标数
145
复刻数
1
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scavio-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Autotrader Api AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/autotrader-api
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/autotrader-api .claude/skills/autotrader-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Autotrader Api,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Autotrader Api。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Autotrader Api 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Autotrader API - Used Car Listings, KBB Price Range, Dealers

Read Autotrader (autotrader.com, the US car marketplace run by Cox Automotive) around any US ZIP code: search the cars for sale, one listing in full, the dealers near a ZIP, one dealer with its inventory, and one make's models. Every answer is what Autotrader's public pages show a visitor without an account at the moment of the call, in USD. All 5 endpoints return structured JSON at 2 credits per call.

Read-only data. This skill reads the public pages Autotrader shows to any visitor and returns them as JSON for analysis. It uses no Autotrader account, no saved searches, no messaging and no dealer contact forms.

The job this skill is for: asking prices next to the KBB Fair Purchase Price range. Each Autotrader listing can carry the Kelley Blue Book Fair Purchase Price Autotrader shows for it (kbb_fair_purchase_price {amount, low, high, delta}) and Autotrader's own deal label (deal_label, Great or Good). Report both exactly as given, next to the asking price and the mileage. Captured 2026-11-26 with /search:

Listing (seller, city)MileageAsking (USD)KBB Fair Purchase Price (low-high)deltadeal_label
Used 2018 Honda Civic LX (dealer, Van Nuys, CA)46,07718,88119,440 (18,690-20,140)559Great
Used 2021 Honda Civic Sport (dealer, Alhambra, CA)45,69918,77720,990 (19,490-22,490)2,128Great
Used 2022 Toyota RAV4 SE w/ Convenience Package (dealer, Bronx, NY)59,00928,99929,089 (27,889-30,389)-85Good
Used 2023 Volkswagen Atlas SE (private seller, Chicago, IL)19,12028,40528,601 (27,101-30,001)196Great
Used 2015 BMW X5 xDrive35d (private seller, Chicago, IL)47,39321,50020,140 (18,690-21,590)-1,360Good
Used 2021 Ford F150 XL w/ XL Power Equipment Group (dealer, 23.1 miles from 75201)114,60510,00021,460 (20,160-22,860)11,460null

The BMW asked more than the KBB amount and was still labelled Good; the F150 asked far below the range and carried no label at all. The label is Autotrader's, not a verdict: quote it as "Autotrader labels it Great", never as "a great deal". Put each row with its listing id, seller type, city, mileage and the capture date.

Ten limits shape every answer, so say them plainly:

  • 2 credits per call, every endpoint. credits_used in every answer says what was spent. A not-found (404: a sold or removed listing, an unknown dealer, a model Autotrader does not list for the make) is charged; a refused input (400) and an upstream failure (502, 503) are not.
  • US only, USD, a ZIP is required. /search and /dealers need zip (a 5-digit US ZIP code). location.place is the place Autotrader names for it (90012 Los Angeles, CA; 75201 Dallas, TX; 10001 New York, NY; 60601 Chicago, IL in the captures) and location.radius_miles the radius it applied. An unknown ZIP is a 400, not charged. autotrader.co.uk and autotrader.ca are separate sites and are not served.
  • KBB figures and labels as given. kbb_fair_purchase_price and deal_label are Autotrader's, as shown on the listing. delta is Autotrader's own figure: it does not always equal amount minus price (the RAV4 above: 29,089 against 28,999, delta -85), so quote it, never recompute it. New cars and some used cars carry no KBB range or label (null): say "no KBB range shown", not "no deal".
  • Asking prices, not sold prices. price is the asking price on the listing (null with a price_label when the dealer asks you to call). dealer_fees are the fees the dealer lists, kept apart from the price. price_history is the listing's own price changes as Autotrader shows them. Autotrader publishes no sold prices.
  • Private sellers stay private. A private seller is {type: "private", city, state, distance_miles} only: no name, phone or street address. VINs and stock numbers are never returned; phone numbers, emails, stock numbers and VIN-like codes inside descriptions read "[removed]". Dealer names, addresses, phones, websites and hours are the dealer's public business details.
  • Paid placements are flagged. spotlights are Autotrader's paid Spotlight placements shown above the results (sponsored: true); listings are the results in page order. Count and compare listings, not spotlights.
  • Paging. 25 (default) or 100 listings a page, page 1-100. total and total_pages are Autotrader's counts; stats gives the min, average and max price, mileage and model year of the whole result set, not of the page.
  • Filters as applied. filters_applied lists the filters Autotrader applied (in its own codes); filters_not_applied lists any you sent that it did not, and the results are without them. A model spelt differently is matched to Autotrader's name and a note says so (F-150 was read as F150).
  • Dealers are the first 50. /dealers returns the dealer finder's first 50, nearest first as Autotrader orders them; it does not page, so narrow with radius or make. /dealer gives rating and rating_count only: dealer review text is not offered.
  • Slow pages. Answers took 5 to 104 seconds in the captures and can take up to 4 minutes. Set a client timeout of at least 240 seconds and send one request at a time.

Autotrader publishes no public API for reading listings, dealers or prices. This skill reads Autotrader's public search, listing, dealer and make pages with one Scavio key. Other vendors offer Autotrader data tools; this skill reads Autotrader's own public pages.

See also: cargurus-api (CarGurus' expected price and deal rating for the same model, in the US, Canada and the UK), cars-com-api (Cars.com listings and dealers), carmax-api (CarMax's own no-haggle prices), carvana-api (Carvana's online prices) and offerup-api (local used-car asks from private sellers). Same car only: year, make, model, trim and a mileage band must match; show each price with its marketplace, seller type, city and date, and keep each site's own price analysis labelled as that site's.

When to trigger

Use this skill when the user asks to:

  • Read Autotrader asking prices for a make and model around a US ZIP code or city
  • Put an asking price next to the Kelley Blue Book Fair Purchase Price range Autotrader shows, with Autotrader's deal label
  • Find only the listings Autotrader labels a Good or Great price, or only private sellers, certified cars or one body style
  • Read one Autotrader listing in full: specifications, features, warranties, dealer fees, price changes and history flags
  • Find the car dealers near a ZIP code (optionally of one make) with address, phone, website and rating
  • Read one dealer's hours, home services, inventory count by make and its listings, lowest price first
  • List one make's models with model years and the price range by year

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every call in this skill costs 2 credits, so 50 credits cover 25 calls.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth, 1,000 credits cost $1.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. In the captures, listings answered in 5-11 seconds, makes 6-31, dealers 11-17, dealer 10-21 and search 24-104. Allow up to 4 minutes, set a client timeout of at least 240 seconds, and send one request at a time.

EndpointWhat it returnsCredits
POST /api/v1/autotrader/searchCars for sale around a ZIP: asking price, mileage, KBB Fair Purchase Price range, deal label, dealer fees, price history, history flags, seller; total, pages, filters applied, spotlights, price / mileage / year stats2
POST /api/v1/autotrader/listingOne listing by id or link: the search fields plus description, images, features, specifications, warranties, KBB consumer rating, the dealer's address, phone, website and hours2
POST /api/v1/autotrader/dealersThe first 50 dealers near a ZIP, nearest first, optionally of one make or with cars in a price or year range2
POST /api/v1/autotrader/dealerOne dealer by id or link: address, phone, website, hours, home services, inventory count, makes with counts, the first page of its listings2
POST /api/v1/autotrader/makesOne make's models: model years, price range label by year, MPG by year, body style, the model name to pass to search2

Market

US only, USD: every answer carries market {country "us", currency "USD"}. There is no country or market input. Mileage is in miles, distances in miles from the ZIP.

Prices, labels and sellers

FieldMeaning
priceThe asking price on the listing, USD. null when the dealer asks you to call (price_label says so)
display_price, msrpThe price as displayed, and the MSRP where Autotrader shows one (new cars)
kbb_fair_purchase_price{amount, low, high, delta}: the Kelley Blue Book Fair Purchase Price and range Autotrader shows for the listing, and Autotrader's own delta (as given; negative means the listing is above it). null when none is shown
deal_labelAutotrader's own label (Great, Good) based on that range, as given; null when Autotrader shows none. deal_basis on /listing says what it is based on
dealer_fees{total, items [{name, amount}]}: the fees the dealer lists (Doc Fee, Emissions Testing Charge ...), not included in price
price_history[{date, price, current}]: the listing's own price changes as Autotrader shows them
history_previewAutotrader's vehicle history flags as given (NO_ACCIDENTS_REPORTED, ACCIDENTS_REPORTED, ONE_OWNER, NO_SALVAGE_TITLE, FREE_REPORT ...)
days_on_site, newly_listed, reduced_priceAutotrader's days-on-site count and flags
sellerA dealer {type "dealer", dealer_id, name, rating, rating_count, city, state, distance_miles, url} or a private seller {type "private", city, state, distance_miles}
sponsoredtrue on Spotlight placements (spotlights)
  • Ids: listing_id and dealer_id are Autotrader's (digits); send them as strings. trim_code (CIVIC|LX) and model_code come from a search answer.
  • Distance: distance_miles is from the ZIP you sent; on /listing it is null unless you send zip.
  • Dealer phones: quote the phone with the page it came from; the dealer finder and the dealer page can show different numbers for the same dealer.

Workflow

  1. Pick the model. /makes with make for the models and their search_model names (or start from /search with a make and model name: Autotrader's spelling is matched and a note says so).
  2. Search per area. /search with zip, make, model (and radius, listing_type, year_min, mileage_max ...). Note location.place, location.radius_miles, total and stats. Send the same filters and sort in every area you compare.
  3. Read the KBB columns. For each listing: price, mileage, kbb_fair_purchase_price (amount, low, high, delta) and deal_label, all as given. Skip spotlights when you count.
  4. Open the interesting ones. /listing with listing_id (and zip for the distance): features, warranties, dealer fees, price history, history flags and the dealer's address and hours.
  5. Dealers. /dealers with zip (and make) for the nearest 50; /dealer with dealer_id for hours, home services, inventory by make and the first page of its listings.
  6. Report. Each car with year, make, model, trim, mileage, asking price in USD, the KBB range and label as Autotrader gives them, seller type and city, the listing id and the capture date.
  7. Price series: there is no history beyond each listing's own price_history. Store each answer with its fetched_at; that stored set is your record.

Parameters

Search (/search)

ParameterTypeDefaultDescription
zipstringrequiredA 5-digit US ZIP code
makestringnoneA make by name or Autotrader code (Toyota, Ford, Mercedes-Benz, Land Rover, or MB, ROV; 72 makes)
modelstringnoneA model as Autotrader names it (Civic, F150, RAV4, C-Class) or its model_code. Needs make. A model Autotrader does not list for the make is a charged 404 that lists the make's models
trim_codestringnoneA trim as listings[].trim_code gives it (`CIVIC
radiusintegerAutotrader'sMiles: 10, 25, 50, 75, 100, 200, 300, 400, 500, or 0 for nationwide
pageinteger11-100
page_sizeinteger2525 or 100
sortstringrelevancerelevance, price_asc, mileage_asc, year_desc (newest model year), distance_asc
year_min, year_maxintegernoneModel year range
price_min, price_maxintegernoneWhole USD
mileage_min, mileage_maxintegernoneMiles
body_stylestringnoneCode or label: CONVERT (Convertible), COUPE, HATCH (Hatchback), SEDAN, SUVCROSS (SUV / Crossover), TRUCKS (Truck), VANMV (Van / Minivan), WAGON
drivetrainstringnoneAWD4WD, FWD, RWD
exterior_color, interior_colorstringnoneBLACK, WHITE, GRAY, SILVER, BLUE, RED ... (19 colours)
seller_typestringnonedealer or private
listing_typestringnonenew, used, certified (manufacturer certified pre-owned), third_party_certified
fuelstringnoneGSL (Gasoline), DSL (Diesel), HYB (Hybrid), ELE (Electric), HYD (Hydrogen), PIH (Plug-in Hybrid)
transmissionstringnoneAUT (Automatic) or MAN (Manual)
historystringnoneNO_ACCIDENTS, ONE_OWNER, CLEAN_TITLE, NO_FRAME_DAMAGE, FREE_REPORT
dealstringnonegood or great: only listings Autotrader labels a Good or Great price
featurestringnoneOne feature, code or label (Apple CarPlay, Android Auto, Backup Camera, 3rd Row Seats, Heated Seats, Sunroof ...; 34 offered)
doorsstringnone2, 3, 4, 5
seatingstringnone2-7 or 8+

Listing (/listing), dealers (/dealers), dealer (/dealer), makes (/makes)

EndpointParameters
/listinglisting_id (from listings[].listing_id) or url (an autotrader.com/cars-for-sale/vehicle/ link); optional zip for seller.distance_miles
/dealerszip (required), make, radius (10, 25, 50, 75, 100, 200, 300, 500, or 0 for any), price_min, price_max, year_min, year_max
/dealerdealer_id (from dealers[].dealer_id or listings[].seller.dealer_id) or url (an autotrader.com/car-dealers/// link)
/makesmake (required): name or Autotrader code

Examples

Search a model around a ZIP

bash
curl -X POST https://api.scavio.dev/api/v1/autotrader/search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"zip": "90012", "make": "Honda", "model": "Civic"}'

Captured data (2026-11-26; listings cut to 1 of 25, spotlights (3) and notes dropped; warranties and image dropped from the listing):

json
{
  "search": {"zip": "90012", "make": "Honda", "model": "Civic"},
  "location": {"zip": "90012", "place": "Los Angeles, CA", "radius_miles": 25},
  "filters_applied": {"make": "HONDA", "model": "CIVIC"},
  "filters_not_applied": [],
  "sort": "relevance",
  "page": 1,
  "page_size": 25,
  "total": 1884,
  "total_pages": 76,
  "has_more": true,
  "count": 25,
  "listings": [
    {"listing_id": "796810802", "url": "https://www.autotrader.com/cars-for-sale/vehicle/796810802", "title": "Used 2018 Honda Civic LX", "year": 2018, "make": "Honda", "make_code": "HONDA", "model": "Civic", "model_code": "CIVIC", "trim": "LX", "trim_code": "CIVIC|LX", "listing_type": "used", "mileage": 46077, "exterior_color": "Rallye Red", "interior_color": "Black/Ivory", "body_style": "Coupe", "drivetrain": "FWD", "engine": "4-Cylinder", "fuel": "Gasoline", "transmission": "Continuously Variable Automatic", "mpg_city": 30, "mpg_highway": 39, "doors": 2, "days_on_site": 5, "newly_listed": true, "reduced_price": false, "price": 18881, "display_price": 18881, "msrp": null, "price_label": null, "deal_label": "Great", "kbb_fair_purchase_price": {"amount": 19440, "low": 18690, "high": 20140, "delta": 559}, "dealer_fees": {"total": 181, "items": [{"name": "Doc Fee", "amount": 85}, {"name": "E - Filling Fee", "amount": 37}, {"name": "Emissions Testing Charge", "amount": 59}]}, "price_history": [], "history_preview": ["NO_SALVAGE_TITLE", "NO_FRAME_DAMAGE", "NO_FLOOD_WATER_DAMAGE", "ACCIDENTS_REPORTED", "NO_ONE_OWNER", "FREE_REPORT"], "sponsored": false, "seller": {"type": "dealer", "dealer_id": "72925383", "name": "Keyes Toyota", "rating": 4.6, "rating_count": 9097, "city": "Van Nuys", "state": "CA", "distance_miles": 14.5, "url": "https://www.autotrader.com/car-dealers/van-nuys-ca/72925383/keyes-toyota"}}
  ],
  "stats": {"price": {"min": 2800, "avg": 28820, "max": 72557}, "mileage": {"min": 0, "avg": 18456, "max": 263613}, "year": {"min": 1999, "avg": 2025, "max": 2027}},
  "market": {"country": "us", "currency": "USD"}
}

Other listings on the page carried their own price_history, e.g. 19,962 on Nov 14, 19,762 on Nov 18, 18,962 on Nov 19 and 18,862 now (current true).

Private sellers, cheapest first, other filters

  • /search {"zip": "60601", "seller_type": "private", "body_style": "SUVCROSS", "drivetrain": "AWD4WD", "radius": 100}: Chicago, IL, 100 miles, total 360 over 15 pages, filters_applied {drivetrain AWD4WD, body_style SUVCROSS, seller_type private}; first a Used 2023 Volkswagen Atlas SE, 19,120 miles, 28,405 against a KBB Fair Purchase Price of 28,601 (27,101-30,001), Great, seller {type private, city Chicago, state IL, distance_miles 8.9}.
  • /search {"zip": "75201", "make": "Ford", "model": "F-150", "year_min": 2018, "price_max": 40000, "sort": "price_asc", "radius": 50}: Dallas, TX, 50 miles, total 1194, a note that Autotrader names the model "F150"; first a Used 2018 Ford F150 XLT, 224,302 miles, from a private seller in Keller, TX at 7,000 against 6,860 (5,860-7,810), delta -140, Good. stats.price read 7,000 to 39,999 and stats.year 2018 to 2026.
  • /search {"zip": "10001", "make": "Toyota", "model": "RAV4", "listing_type": "used", "radius": 50, "page": 2}: New York, NY, total 882, page 2 of 36.

One listing in full

bash
curl -X POST https://api.scavio.dev/api/v1/autotrader/listing \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing_id": "795241382", "zip": "75201"}'

Captured (2026-11-26; abridged): Used 2016 Ford F150 XLT, 76,887 miles, price 22,175, deal_label Great, kbb_fair_purchase_price {amount 23600, low 22600, high 24650, delta 1425}, dealer_fees {total 225, items [Dealer Doc Fee 225]}, kbb_consumer_rating 4.4 from 317 reviews (Kelley Blue Book owner ratings for the model), seller Mesquite KIA (Mesquite, TX, 10.5 miles), and dealer {address 1919 Oates Drive, Mesquite, TX 75150, hours Monday-Saturday 8:30 AM-8:00 PM, Sunday Closed, is_open false}. features, ranked_features, specifications, warranties and images follow. A private seller's listing (796854799, the Atlas above) returns dealer null and seller city and state only.

Dealers near a ZIP, one dealer

  • /dealers {"zip": "75201", "make": "Ford"}: Dallas, TX, 50 miles, 50 dealers; first Westway Ford (dealer_id 87788, Irving, TX, 10 miles, rating 4.6 from 5,621), then Planet Ford 635 (Garland) and Town East Ford (Mesquite), each with address, phone and website.
  • /dealers {"zip": "60601", "make": "Toyota", "radius": 50}: 32 dealers, first Toyota of Downtown Chicago at 2 miles.
  • /dealer {"dealer_id": "87788"}: Westway Ford, 801 West Airport Freeway, Irving, TX 75062, hours Monday-Saturday 9:30 AM-7:00 PM, home_services {buy_online false, test_drive true, vehicle_delivery true, virtual_tour true}, inventory_count 498, makes Ford 461, Chevrolet 4, Jeep 4 ... , inventory_sort price_asc and 25 listings.

One make's models

  • /makes {"make": "Toyota"}: 46 models, popular_models COROL, RAV4, HIGHLANDER, 4RUN, CAMRY ...; 4Runner {years [2025, 2026], price_by_year {"2025": "$41,270 - $67,400", "2026": "$42,270 - $68,600"}, search_model "4Runner"}. These price labels are Autotrader's new-model price ranges, not used prices.
  • /makes {"make": "Ford"}: 64 models; F150 price_by_year {"2025": "$37,450 - $79,005", "2026": "$37,290 - $79,005", "2027": "$38,110 - $75,325"}.

Python

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def autotrader(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/autotrader/{endpoint}", headers=HEADERS, json=body, timeout=240)
    r.raise_for_status()
    return r.json()

# The same model in two metros, asking price next to the KBB range (2 credits each)
for zip_code in ["90012", "75201"]:
    d = autotrader("search", {"zip": zip_code, "make": "Honda", "model": "Civic", "listing_type": "used"})["data"]
    print(d["location"]["place"], d["location"]["radius_miles"], d["total"])
    for car in d["listings"]:  # spotlights are paid placements: left out here
        kbb = car["kbb_fair_purchase_price"] or {}
        print(car["listing_id"], car["title"], car["mileage"], car["price"],
              kbb.get("amount"), kbb.get("low"), kbb.get("high"), car["deal_label"])

# Store each answer with fetched_at: that stored set is your price record.

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Everything is fetched when the request asks for it; nothing is cached. Every data carries market and notes.

  • listing tile (search listings[] and spotlights[], dealer inventory[]) - listing_id, url, title, year, make, make_code, model, model_code, trim, trim_code, listing_type, mileage, exterior_color, interior_color, body_style, drivetrain, engine, fuel, transmission, mpg_city, mpg_highway, doors, days_on_site, newly_listed, reduced_price, price, display_price, msrp, price_label, deal_label, kbb_fair_purchase_price {amount, low, high, delta}, dealer_fees {total, items[]}, price_history[] {date, price, current}, history_preview[], warranties, image, sponsored, seller.
  • search - search {zip, make, model}, location {zip, place, radius_miles}, filters_applied, filters_not_applied, sort, page, page_size, total, total_pages, has_more, count, listings[], spotlights[], stats {price, mileage, year: {min, avg, max}}.
  • listing - the tile plus description, images, features {group: [...]}, ranked_features, specifications {name: value}, warranties[] {group, type, label, details, years, miles, unlimited_miles, remaining_years, remaining_miles}, kbb_consumer_rating, kbb_consumer_review_count, deal_basis, dealer {dealer_id, name, rating, rating_count, address {street, street2, city, state, zip}, phone, website, hours[] {day, open, close}, home_services, is_open, url} (null for a private seller), zip.
  • dealers - search {zip, make}, location {zip, place, radius_miles}, count, dealers[] {dealer_id, name, franchise_name, make, rating, rating_count, distance_miles, address, phone, website, url}.
  • dealer - dealer_id, name, rating, rating_count, address, phone, website, hours[], home_services {buy_online, test_drive, vehicle_delivery, virtual_tour}, is_open, url, inventory_count, makes[] {make, make_code, count}, inventory_sort, inventory[] (tiles).
  • makes - make {code, name}, years, popular_models, count, models[] {code, name, years, price_by_year, mpg_by_year {year: {city, highway}}, body_style, image, search_model}.

Guardrails

  • Name it "Autotrader (autotrader.com, the US car marketplace run by Cox Automotive)" on first mention, "Autotrader" after that.
  • Prices: quote each with USD, year, make, model, trim, mileage, seller type and city, the listing id and the fetched_at date ("listed on autotrader.com on Nov 26, 2026"). These are asking prices, never sold prices.
  • KBB figures: quote kbb_fair_purchase_price and deal_label exactly as Autotrader gives them and say they are Autotrader's ("Autotrader shows a KBB Fair Purchase Price of 19,440, range 18,690-20,140, and labels it Great"). Never recompute delta, never invent a label where it is null, and give no buy or negotiate advice beyond the numbers shown.
  • Comparisons: the same year, make, model, trim and a similar mileage band, labelled with each marketplace and date. Keep each site's price analysis (Autotrader's KBB range, CarGurus' expected price) labelled as that site's.
  • Private sellers: city and state only. Never ask for, guess or add a private seller's name or contact. Dealer name, address, phone, website and hours are public business details.
  • No VINs: none are returned; never add or guess one.
  • Descriptive only: no commentary on Autotrader's business, its dealers or its pricing practices.
  • Do not republish Autotrader photos or listing descriptions. Write autotrader.com as plain text and cite listing ids, dealer names and capture dates rather than linking Autotrader pages.
  • Terms: Scavio does not collect or store Autotrader data: each call fetches the public page at the moment the request asks for it and returns what it shows as JSON, with no response cache. It uses no account and no contact forms. Autotrader's terms of use cover how its site may be used; read the current terms for your use case and get your own advice. This is not legal advice.
  • Never fabricate prices, KBB figures, labels, mileages, listing ids or dealers. Only return what the API returned, with the fetched_at time.
  • Not available: VINs, stock numbers, private sellers' names or contact details, dealer review text, sold prices, price history beyond each listing's own price_history, autotrader.co.uk or autotrader.ca, more than 100 pages of a search.

Failure handling

  • 400 means a missing or invalid parameter, and it is not charged: no zip ("zip is required (a 5-digit US ZIP code)."), a ZIP that is not a US ZIP code, a make Autotrader does not list ("make must be a make Autotrader lists, e.g. Toyota, Ford, Honda, Mercedes-Benz (72 makes)."), model without make, trim_code without model, a radius, page_size or sort outside the lists above, year_min above year_max (or price / mileage), a filter code not offered, /listing or /dealer without an id or link.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 means not found, and it is charged: "Autotrader has no listing (sold, removed or never listed).", "Autotrader has no dealer .", "Autotrader lists no model "" for . Models Autotrader lists for near this ZIP: ...". Take ids and model names from a previous answer rather than guessing them.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Autotrader data was temporarily unavailable ("Autotrader is temporarily unavailable. Please try again."). It is not charged, so retry after a few seconds.
  • 503 with a Retry-After header means the service is busy: wait the Retry-After seconds and send it again. Not charged.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

bash
pip install scavio==0.96.0
npm install scavio@0.97.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: civics } = await scavio.autotrader.search({ zip: "90012", make: "Honda", model: "Civic" });
const { data: listing } = await scavio.autotrader.listing({ listing_id: "795241382", zip: "75201" });
const { data: dealers } = await scavio.autotrader.dealers({ zip: "75201", make: "Ford" });
const { data: dealer } = await scavio.autotrader.dealer({ dealer_id: "87788" });
const { data: toyota } = await scavio.autotrader.makes({ make: "Toyota" });

In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.autotrader.search(...), listing, dealers, dealer and makes, with the same parameter names as keyword arguments. Set the client timeout to 240 seconds.

MCP

The Scavio MCP server exposes all 5 endpoints as tools: search_autotrader, get_autotrader_listing, get_autotrader_dealers, get_autotrader_dealer and get_autotrader_makes. Autotrader is opt-in: add autotrader to SCAVIO_PLATFORMS.

json
{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.96.0"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,autotrader"
      }
    }
  }
}

Docs

Full reference per endpoint: search, listing, dealers, dealer and makes. Platform overview: Autotrader API.

常见问题

Autotrader Api AI 技能有什么作用?

Autotrader API,适用于 Cox Automotive 运营的美国汽车交易平台 Autotrader(autotrader.com):按照 Autotrader 的展示方式,提供新车和二手车的挂牌价,以及每条房源旁显示的 Kelley Blue Book Fair Purchase Price 区间(金额、低价、高价和 Autotrader 自行计算的价差)和 Autotrader 的优惠标签(Great、Good)。例如,2026 年 11 月 26 日,洛杉矶附近一辆二手 2018 Honda Civic LX 的标价为 18,881 USD,而 KBB Fair Purchase Price 为 19,440(区间为 18,690-20,140),并标注为 Great。可按美国任意 ZIP code 及半径(或全美范围)搜索待售车辆,按品牌、车型和配置筛选;每页 25 或 100 条,最多 100 页,可按相关度、价格、里程、车型年份或距离排序,并按车型年份、价格、里程、车身类型、驱动系统、颜色、经销商或私人卖家、新车、二手车或认证二手车、燃料、变速箱、车辆历史、Good 或 Great 优惠、单项配置、车门数和座位数筛选;提供结果集的最低、平均和最高价格、里程和年份;查询单条房源的完整信息,包括配置、规格、保修、经销商费用、价格历史、Autotrader...

为什么在 TypingMind 中使用 Autotrader Api?

因为您只需安装一次,就能搭配任何模型使用。Autotrader Api 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Autotrader Api?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scavio-ai/skills/tree/main/skills/autotrader-api。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Autotrader Api?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Autotrader Api 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Autotrader Api 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Autotrader Api AI 技能免费吗?

是的。scavio-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇