O'Reilly Auto Parts
O'Reilly Auto Parts Category API
One O'Reilly Auto Parts category's products (oreillyauto.com, the US auto parts retailer) by link or path, optionally only the parts for one vehicle: 24 a page (pages 1 to 20) with O'Reilly's total, price, regular and sale price, core charge, warranty, fit notes, deals and availability at the store O'Reilly assigns (priced_for), plus the category's attribute facets. 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/jsoncategorystringrequiredA category link or path (categories[].url): /shop/b/<name>/<12-character hash>.
Example: /shop/b/brakes/brake-pads---shoes/brake-pads/a99314144bb6
vehicleobjectOnly parts for this vehicle: { base_vehicle_id } from vehicles with level resolve (129927 = 2015 Ford F-150). O'Reilly pins year, make and model with it; submodel and engine show in fit_notes.
Example: {"base_vehicle_id": 129927}
sortenum<string>default:relevanceResult order, as O'Reilly's sort menu offers it.
Example: price_asc
relevance— O'Reilly's own order (default).price_desc— Price high to low.price_asc— Price low to high.best_selling— Best selling first.brand— Brand, A to Z.
brandstringOnly one brand: a value from the Brands facet (facets[].values[].value where facets[].param is Brands, e.g. Wagner_OEX).
Example: Wagner_OEX
availabilityenum<string>Only items O'Reilly offers this way, as its Availability filter does.
Example: store_pickup
store_pickup— Pick Up in Store.home_delivery— Ship to Home.
filtersobjectUp to 4 attribute facets: { "<facets[].param>": "<facets[].values[].value>" } (e.g. Position, Brake Pad Material, Group Size (BCI)). brand and availability have their own params.
Example: {"/attributes/prodAttr_32769": "104088"}
pageintegerdefault:11 to 20, 24 items a page. O'Reilly serves the first 20 pages of a list (max_page says how far this one goes); a page above 20 answers 400, not charged.
Example: 2
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. category takes a category link or path from categories (categories[].url), a suggestion's url or a facet link: /shop/b/<name>/<12-character hash>. With the 2015 Ford F-150 (base_vehicle_id 129927) the battery best-fit category listed 70 batteries on 2026-11-23, Super Start Platinum AGM first, each with fit_notes such as the CCA, the battery location and whether the vehicle computer must be reset. Facets carry the category's own attributes (Group Size (BCI), Cold Cranking Amps, Battery Type) to send in filters. A wrong hash is a charged 404. A category O'Reilly shows as a landing page answers items [] with links to its product lists. Every price is O'Reilly's price for the store O'Reilly assigns to the request, and every priced answer names that store in priced_for { store_id, address, city, state, zip }. There is no store or ZIP input for prices, so two calls can be priced for different stores. O'Reilly's own price-match FAQ says: "Because taxes and promotions vary by region, pricing at one O'Reilly Auto Parts location may differ from another or from oreillyauto.com." On 2026-11-23 the BrakeBest Select Ceramic Brake Pads SC1001 read 69.99 USD in a search priced for store 1058 (Houston, TX) and 69.99 USD by product link priced for store 5640 (Missouri City, TX). Keep priced_for with every price you store and compare prices within one store_id. price is the price shown; regular_price is the price outside a sale; sale_price, on_sale and sale_type describe a sale as O'Reilly shows it; discount_percent is computed by Scavio from regular_price when on sale (null otherwise); oil_fee and oil_deposit are O'Reilly's state oil fees where it shows them. core_charge is the refundable core deposit O'Reilly adds to parts such as batteries and alternators, a USD number separate from price (0 when none). On 2026-11-23 the Super Start Platinum batteries read 264.99 USD plus a 22 USD core charge and the Ultima remanufactured 175 Amp alternator R113614 read 355.99 USD plus a 40 USD core charge, both priced for store 1058 (Houston, TX). Lists (search, category, brand, cross-reference) return 24 items a page with O'Reilly's total. O'Reilly serves the first 20 pages of a list (480 items): page takes 1 to 20, and a page above 20 is a 400, not charged; max_page says how far a list goes. On 2026-11-23 the brake pads search had 7,578 results (316 pages, max_page 20). Narrow a long list with brand, availability, filters (attribute facets) or a vehicle. vehicle takes { base_vehicle_id } from vehicles with level resolve (129927 = 2015 Ford F-150). O'Reilly pins year, make and model with it; submodel and engine show in each item's fit_notes as O'Reilly writes them. On 2026-11-23 the brake pads search went from 7,578 results to 42 for the 2015 Ford F-150, and the battery best-fit category listed 70 batteries for it.
| 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)
# Every battery O'Reilly lists for a 2015 Ford F-150, with price, core charge and warranty.
d = client.oreilly.category(
category="/shop/b/battery---accessories/batteries/battery---best-fit/ec27e4e51018",
vehicle={"base_vehicle_id": 129927},
)["data"]
print(d["title"], d["total"], "priced for store", d["priced_for"]["store_id"])
for i in d["items"]:
print(i["part_number"], i["price"], "core", i["core_charge"], i["warranty"])Response