RockAuto
RockAuto Vehicles API
RockAuto's vehicle catalog, one level at a time: no input lists every make, a make lists its years, a make and year list its models, and a make, year and model list the model's engines, each with RockAuto's carcode and the vehicle markets RockAuto lists (us, ca, mx). An engine's make, year, model, engine and carcode are the vehicle inputs of categories and parts. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonmakestringNo make: every make. A make (makes[].make): its years. 1-60 characters.
Example: HONDA
yearintegerWith make: that year's models (1900-2100).
Example: 2010
modelstringWith make and year: the model's engines, each with its carcode. 1-80 characters.
Example: ACCORD
languageenum<string>default:enRockAuto's page language: names, notes, tiers and labels. Part numbers and prices do not change.
Example: es
en— English (default)es— Spanishfr— Frenchde— German
Notes
RockAuto. RockAuto (rockauto.com, the online auto parts catalog of RockAuto, LLC, based in Madison, Wisconsin): one US catalog that ships from RockAuto's warehouses, with no stores. language (en default, es, fr or de) sets the page language of names, notes, tiers and labels; part numbers and prices do not change with it. currency (USD default, or AUD, BRL, GBP, CAD, CLP, EUR, HUF, JPY, MXN, NZD, NOK, PLN, SEK, CHF) is RockAuto's display currency: the same US catalog price converted by RockAuto, echoed on every priced answer. Vehicle markets are the ones RockAuto lists per vehicle and part (us, ca, mx). RockAuto publishes no public API. This endpoint costs 1 credit. RockAuto picks the vehicle by carcode, RockAuto's vehicle code. Walk vehicles one level at a time (makes, then a make's years, then a year's models, then a model's engines, each engine with its carcode) or take a vehicle with carcode from suggestions, then send make, year, model, engine and carcode together, exactly as vehicles answers them, to categories and parts. A carcode that answers another vehicle than the make, year, model and engine you sent is a 400 and is not charged, so a call never returns another car's parts. level says what the answer lists: makes [{ make, name, markets, url }], years [{ year, markets, url }], models [{ model, markets, url }] or engines [{ make, year, model, engine, carcode, markets, url }]. On 2026-11-26 the 2010 HONDA ACCORD listed 2 engines: 2.4L L4 (carcode 1444945) and 3.5L V6 (carcode 1444944), both for us, ca and mx. year needs make and model needs make and year (a 400, not charged); an unknown make, year or model is a charged 404.
| Endpoint | Credits |
|---|---|
vehicles | 1 credit |
categories | 1 credit |
parts | 1 credit |
search | 1 credit |
brand | 1 credit |
brands | 1 credit |
part | 1 credit |
suggestions | 1 credit |
resolve | 1 credit |
tools | 1 credit |
promotions | 1 credit |
| Param | Values |
|---|---|
language | en English (default), es Spanish, fr French, de German. Part detail text stays English in every language. |
currency | USD ($), AUD (AU$), BRL (R$), GBP (£), CAD (CAD$), CLP (CLP$), EUR (€), HUF (Ft), JPY (¥), MXN (Mex$), NZD (NZ$), NOK (NOK), PLN (zł), SEK (SEK), CHF (CHF). USD default; one US catalog price converted by RockAuto. |
| vehicle markets | us, ca, mx, as RockAuto lists them per vehicle (markets) and per part (fits_markets). |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
# make + year + model: the engines, each with its carcode (1 credit).
d = client.rockauto.vehicles(make="HONDA", year=2010, model="ACCORD")["data"]
for e in d["engines"]:
print(e["engine"], e["carcode"], e["markets"])
# The engine's five fields are the vehicle inputs of categories and parts.
e = d["engines"][0]
cats = client.rockauto.categories(make=e["make"], year=e["year"], model=e["model"],
engine=e["engine"], carcode=e["carcode"])["data"]
print([c["category"] for c in cats["categories"]])Response