O'Reilly Auto Parts
O'Reilly Auto Parts Compatibility API
The vehicles one O'Reilly Auto Parts part fits (oreillyauto.com, the US auto parts retailer), as O'Reilly lists them: without make, the makes it fits; with make, the models with engine and years. Costs 2 credits.
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/jsonline_codestringrequiredO'Reilly line code (items[].line_code, e.g. BB, SSB).
Example: BB
part_numberstringrequiredPart number as O'Reilly lists it (items[].part_number).
Example: SC1001
makestringA make from makes: the models, engines and years the part fits.
Example: Ford
countrystringdefault:usus (oreillyauto.com), the default and the only market this endpoint serves. mx answers 400, not charged: O'Reilly's Mexican site shows no prices, so mx serves stores and store only (the Mexican store directory, in Spanish). Any other value answers 400, not charged.
Example: us
us— United States, oreillyauto.com, English, USD. 2 credits. The default.
Notes
Store. O'Reilly Auto Parts (oreillyauto.com, the US auto parts retailer): country us, the default, on every endpoint. O'Reilly also runs stores in Mexico and Canada, but its Mexican web store shows no prices and there is no Canadian web store, so mx serves only stores and store (O'Reilly's Mexican store directory, in Spanish, as O'Reilly writes it) and Canada is not served. Field names are English; prices are USD numbers. Every answer echoes country, language and currency. Two steps: send line_code + part_number for makes (the BrakeBest Select pads SC1001 listed 16 makes on 2026-11-23, the Super Start Platinum battery 48PLT 43), then add make for models [{ model, engine, years }] (SC1001 with Ford: 6 rows, among them Mustang Shelby GT500 2007-2012). This is O'Reilly's own application list for the part. To go the other way (every part for one vehicle), send vehicle to search or category.
| country | Site | Language, currency | This endpoint |
|---|---|---|---|
us (default) | United States, oreillyauto.com | English, USD | 2 credits |
mx | Mexico, store directory | Spanish, no prices | 400, not charged: O'Reilly's Mexican site shows no prices, so mx serves stores and store only (the Mexican store directory, in Spanish). |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
makes = client.oreilly.compatibility(line_code="BB", part_number="SC1001")["data"]["makes"]
for m in makes[:3]:
for row in client.oreilly.compatibility(line_code="BB", part_number="SC1001", make=m)["data"]["models"]:
print(m, row["model"], row["years"], row["engine"])Response