O'Reilly Auto Parts
O'Reilly Auto Parts Categories API
O'Reilly Auto Parts' category tree (oreillyauto.com, the US auto parts retailer): 34 departments and 1,334 nodes on 2026-11-23, each with its hash, name, the link category takes and whether O'Reilly fits it to a vehicle, plus O'Reilly's featured categories. root reads one branch. 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/jsonrootstringA category hash (categories[].hash, 12 hex characters): only that branch.
Example: a349129f45da
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. categories [{ hash, name, url (the input of category), requires_vehicle (part types O'Reilly fits to a vehicle), children [...] }] down to the part types; featured [{ hash, name, url }] (Batteries, Brake Pads & Shoes, Wiper Blades, ...). Send a hash as root for one branch (an unknown hash is a charged 404). Departments run from Accessories to Wipers & Components, including Battery & Accessories, Brakes, Filters, Oil, Chemicals & Fluids and Tools & Equipment.
| 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)
d = client.oreilly.categories()["data"]
print(d["count"], "departments,", d["node_count"], "nodes")
for c in d["categories"]:
print(c["name"], len(c["children"]), c["url"])Response