oreilly-auto-parts-api

Installation
SKILL.md

O'Reilly Auto Parts API - Cross-Reference, Prices, Store Stock

Read O'Reilly Auto Parts (oreillyauto.com, the US auto parts retailer): O'Reilly's own part-number cross-reference, keyword and part-number search, category and brand lists, one product in full, the parts that fit a vehicle, the vehicle selector and a VIN decode, the vehicles one part fits, pickup availability at the stores near a ZIP, stores with hours, the category tree, search suggestions, rebates and deals, plus O'Reilly's Mexican store directory. All 14 endpoints return structured JSON at 2 credits per call (4 or 6 where a call needs more than one O'Reilly step, listed below).

This is the retail site oreillyauto.com. It is not O'Reilly Pro or First Call Online (O'Reilly's commercial login sites for repair shops): commercial pricing is not read. It is also not O'Reilly Media, the technology publisher.

The job this skill is for: O'Reilly Auto Parts part-number cross-reference with prices. Another brand's, an AutoZone or an OE part number in, the O'Reilly parts O'Reilly lists as its replacements out, each with price, core charge, deals and rebates, then pickup at the stores near a ZIP. On 2026-11-23 the FRAM oil filter PH3614 (part type 02269, Engine Oil Filter) answered 10 O'Reilly parts for 2 credits, the first a MicroGard MGL51348 at $5.99, then K&N, WIX, ACDelco and aFe filters, priced for O'Reilly store 1058 in Houston, TX. Pair it with autozone-api for a two-store parts price comparison on the same part (same brand and part number).

Ten limits shape every answer, so say them plainly:

  • 2 credits per call; 4 or 6 where the call needs more steps. A product by line_code + part_number is 4 (found through O'Reilly's search first; by link 2). Cross-reference is 2 with part_type_id + manufacturer, 4 with one of them or when several manufacturers use the number (the answer is then the lists to choose from, no items), 6 with neither when one manufacturer uses it. Store stock and stores by ZIP are 4 (by latitude + longitude, or the directory by state / city, 2). The brand index (brand without input) and deals are 4. A not-found (404) is charged, and an empty list is a charged answer. A refused input (400) and an upstream failure (502, 503) are not charged.
  • Every price is for one store, the one O'Reilly assigns to the request. priced_for {store_id, address, city, state, zip} names it. There is no store or ZIP input for prices, and two calls can be priced for different stores (Houston 1058 and Missouri City 5640 in the same session). O'Reilly's own price-match FAQ says "pricing at one O'Reilly Auto Parts location may differ from another or from oreillyauto.com". Report "$5.99 at O'Reilly store 1058 (Houston, TX) on 2026-11-23", never a national price.
  • Lists are 24 per page, up to O'Reilly's 20 pages. search, category, brand and cross-reference take page 1-20 (a page above 20 is a 400, not charged). O'Reilly serves at most 20 pages (480 items) of any list: "brake pads" read total 7,578, total_pages 316 and max_page 20. Narrow with a vehicle, brand, availability or filters rather than paging; never call 480 items "all".
  • A vehicle is a base_vehicle_id. Resolve it once with /vehicles level resolve (2015 Ford F-150 = 129927) and send {"base_vehicle_id": 129927} as vehicle in search, category, brand and product. It pins year, make and model; submodel and engine show only in each item's fit_notes.
  • vehicle_fit.fits on a product is true or null, never false. It is true when O'Reilly's product page gives the part's application for that vehicle and null when the page gives no fit details, which it does for many vehicle selections: SC1414 is the first item of the 2015 F-150 brake pad list, yet its product page with that vehicle gives no fit details. For "does it fit", use a search or category with vehicle (only parts that fit are listed) or /compatibility.
  • Cross-reference is O'Reilly's statement of equivalence, not a fit guarantee. A number can map to no O'Reilly part: the AutoZone Duralast Gold battery DG1210 (part type 03351, manufacturer AutoZone) answered 0 items, charged 2. A part-number /search is O'Reilly's text match, not a cross-reference: use /cross-reference for another brand's number.
  • Store stock is availability states, not unit counts. /store-stock answers, per store within 50 miles, store_pickup, in_store_now and pickup_time in O'Reilly's words ("8 AM today", "by 11:25 AM today"). O'Reilly publishes no quantity; never report a number of units.
  • Reviews are the rating and the 10 most recent. /product returns rating {average, count} and the 10 most recent reviews O'Reilly shows (date, title, text, rating). No paging, sort, star filter, Q&A or reviewer identity.
  • US only, except the Mexican store directory. country us (default) serves all 14 endpoints. mx serves /stores and /store only, O'Reilly's Mexican store directory in Spanish; O'Reilly's Mexican site shows no prices, so mx anywhere else is a 400, not charged. Canada has no O'Reilly web store.
  • No price history. Nothing is cached or kept. Poll and store your own series.
Installs
1
GitHub Stars
110
First Seen
1 day ago