O'Reilly Auto Parts
O'Reilly Auto Parts Cross-Reference API
Turn another brand's or an OE part number into the O'Reilly Auto Parts parts that replace it, through O'Reilly's own interchange (oreillyauto.com, the US auto parts retailer): part types and manufacturers that use the number, then O'Reilly's replacements in the search item shape with price, core charge, warranty and pickup at the store O'Reilly assigns (priced_for). The FRAM oil filter PH3614 returned 10 O'Reilly parts. Costs 2 credits with part_type_id and manufacturer, 4 with one of them, 6 with neither.
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/jsonpart_numberstringrequired1-40 characters: another brand's or an OE part number (FRAM PH3614, Motorcraft FL820S, an AutoZone number).
Example: PH3614
part_type_idstringpart_types[].id from an earlier answer (digits, e.g. 02269 = Engine Oil Filter). Saves a call.
Example: 02269
manufacturerstringThe brand whose part number this is: manufacturers[].id from an earlier answer (e.g. FRAM, Motorcraft, AutoZone, OE Part Number). With part_type_id too: one call, 2 credits.
Example: FRAM
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 with part_type_id and manufacturer; 4 with one of them, or when several manufacturers use the number and none is sent (the lists, no items); 6 with neither. 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. O'Reilly's interchange runs in three steps: the part types a number belongs to, the manufacturers that use it, then O'Reilly's replacements. Without part_type_id and manufacturer the call runs all three (6 credits) and uses the first-listed part type, named in notes. When several manufacturers use the number and none is sent, it stops after the lists (4 credits) and answers part_types and manufacturers with no items, because each brand's cross-reference differs: send manufacturer (one of manufacturers[].id) next. With part_type_id and manufacturer it is one call (2 credits). On 2026-11-23 FL820S without a manufacturer answered 10 manufacturers (Bosch, Lincoln Electric, Indmar, Motorcraft, K&N Engineering, Fleetguard, Kalmar, Winnebago, aFe POWER, OE Part Number) and no items; with manufacturer Motorcraft it answered 6 O'Reilly oil filters (K&N, WIX, MicroGard, aFe POWER). PH3614 with part type 02269 (Engine Oil Filter) and FRAM answered 10 (MicroGard, K&N, aFe POWER, ACDelco, WIX). No replacement is a 200 with an empty list, and it is charged: on 2026-11-23 the AutoZone battery number DG1210 with part type 03351 and manufacturer AutoZone answered 0 items. O'Reilly's Brands You're Replacing list includes AutoZone and OE Part Number. A match is O'Reilly's interchange as its catalog states it, not a fitment promise; check fit with a vehicle search or compatibility. 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).
| country | Site | Language, currency | This endpoint |
|---|---|---|---|
us (default) | United States, oreillyauto.com | English, USD | 2 credits with part_type_id and manufacturer; 4 with one of them, or when several manufacturers use the number and none is sent (the lists, no items); 6 with neither |
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)
# Step 1: which manufacturers use FL820S (4 credits when several do: the lists, no items).
d = client.oreilly.cross_reference(part_number="FL820S")["data"]
print([m["id"] for m in d["manufacturers"] or []], d["part_type_id"])
# Step 2: the O'Reilly parts that replace Motorcraft's FL820S (2 credits with both ids).
d = client.oreilly.cross_reference(part_number="FL820S", part_type_id=d["part_type_id"], manufacturer="Motorcraft")["data"]
for i in d["items"]:
print(i["line_code"], i["part_number"], i["name"], i["price"], i["availability"]["in_store_now"])Response