Discover/oreillyauto.com API
live

oreillyauto.com APIoreillyauto.com

Search O'Reilly Auto Parts products, check pricing and availability, look up vehicle year/make/model compatibility, and find store locations via a structured API.

Endpoints
7
Updated
11d ago
Try it
Search keyword (e.g. 'alternator', 'brake pads', 'oil filter')
ZIP code for pricing/availability context. Currently uses a default store regardless of va
api.parse.bot/scraper/cec18493-73b6-4781-a16c-2d0cfd6e9bd6/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/cec18493-73b6-4781-a16c-2d0cfd6e9bd6/search_products?query=alternator' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Search for products by keyword. Returns product listings with names, images, pricing, and store availability for a default store.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g. 'alternator', 'brake pads', 'oil filter')
zip_codestringZIP code for pricing/availability context. Currently uses a default store regardless of value.
Response
{
  "type": "object",
  "fields": {
    "data": "array of product objects with id, itemId, name, image, lineCodeItemNumber, pricing, and availability"
  },
  "sample": {
    "data": [
      {
        "id": "7865776",
        "name": "BrakeBest Select Ceramic Brake Pads",
        "image": "https://images-prod.oreillyauto.com/parts/img/medium/obb/orly_sc1001_202_ang_primary.jpg",
        "itemId": "BB|SC1001",
        "pricing": {
          "price": 69.99,
          "onSale": false,
          "storeId": 100,
          "currency": "USD",
          "corePrice": 0,
          "retailPrice": 69.99
        },
        "availability": {
          "inStoreNow": false,
          "pickupTime": "by 1:30 PM today",
          "availPickup": true
        },
        "lineCodeItemNumber": {
          "lineCode": "BB",
          "itemNumber": "SC1001"
        }
      }
    ],
    "status": "success"
  }
}

About the oreillyauto.com API

The O'Reilly Auto Parts API provides 7 endpoints covering product search, detailed part data, pricing and availability checks, vehicle fitment lookups, and store finder functionality. The search_products endpoint returns part names, images, SKUs, and store availability in a single call, while the vehicle endpoints let you traverse the full year → make → model hierarchy needed to filter parts by fitment.

Product Search and Detail

The search_products endpoint accepts a keyword query (e.g. 'alternator', 'brake pads') and returns an array of product objects, each containing id, itemId, name, image, lineCodeItemNumber, pricing, and store availability. An optional zip_code parameter is accepted but note that pricing and availability are currently returned against a default store regardless of ZIP. To get full product detail — including brand, sku, mpn, manufacturer, primaryImage, and brandInformation — pass a product URL path (as returned in search results) to get_product_details.

Pricing and Availability

get_product_price_availability accepts a JSON array of parts, each identified by itemNumber and lineCode, and an optional store_id. The response object contains a pricingMap keyed by lineCode-itemNumber, plus multiple availability maps: availPickupMap, specialOrderMap, twoDayAvailabilityMap, threeDayAvailabilityMap, and availShipMap, all keyed by broadleaf product ID. This makes it practical to check same-day pickup versus shipping options in one call.

Vehicle Compatibility Lookup

Three endpoints handle vehicle fitment data in sequence. get_vehicle_years returns an array of supported model year integers, newest first. Pass a year to get_vehicle_makes to get an array of make objects with id and name. Pass both year and make_id to get_vehicle_models to get the matching model list. These endpoints form the full year/make/model chain used to narrow parts searches to a specific vehicle.

Store Finder

find_stores takes a city and two-letter state code and returns an array of store objects, each with a store_id and a url pointing to the store's location page. The store_id values returned here feed directly into get_product_price_availability to check inventory at a specific location.

Common use cases
  • Build a parts fitment tool that traverses year/make/model to surface compatible parts for a given vehicle.
  • Compare same-day pickup vs. two-day or three-day shipping availability across multiple part numbers using the availability maps from get_product_price_availability.
  • Aggregate pricing data across a set of SKUs by lineCode and itemNumber for competitive price monitoring.
  • Populate an auto repair app's parts catalog with images, brand info, and MPNs from get_product_details.
  • Locate the nearest O'Reilly store by city and state, then check local stock for a specific part using the returned store_id.
  • Automate inventory checks for fleet maintenance by querying known part line codes and item numbers against a target store.
  • Index O'Reilly product data including brand information and manufacturer details for a parts cross-reference database.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does O'Reilly Auto Parts offer an official public developer API?+
O'Reilly Auto Parts does not publish a public developer API or documentation portal for third-party access to its product, pricing, or vehicle data.
What does `get_product_price_availability` return beyond a single price?+
The endpoint returns a pricingMap keyed by lineCode-itemNumber, plus five separate availability maps: availPickupMap (same-day in-store pickup), specialOrderMap, twoDayAvailabilityMap, threeDayAvailabilityMap, and availShipMap. Each availability map is keyed by broadleaf product ID, so you can distinguish fulfillment method per part in a single response.
Does the ZIP code in `search_products` change which store's pricing is returned?+
Currently, pricing and availability in search_products are returned against a default store regardless of the zip_code value provided. To get store-specific pricing, use find_stores to obtain a store_id and pass it to get_product_price_availability.
Does the API return customer reviews or ratings for products?+
Not currently. The API covers product names, images, SKUs, brand data, pricing, and availability. Customer review content and star ratings are not included in any current endpoint response. You can fork this API on Parse and revise it to add an endpoint targeting product review data.
Can I retrieve a list of all parts compatible with a specific vehicle, not just search by keyword?+
Not currently. The vehicle endpoints (get_vehicle_years, get_vehicle_makes, get_vehicle_models) return the year/make/model hierarchy, but there is no endpoint that queries all fitment-compatible parts for a resolved vehicle without a keyword. You can fork this API on Parse and revise it to add a vehicle-based parts catalog endpoint.
Page content last updated . Spec covers 7 endpoints from oreillyauto.com.
Related APIs in AutomotiveSee all →
car-part.com API
Search for recycled auto parts across thousands of vehicles and get detailed information on pricing, availability, and specifications from car-part.com. Find the exact parts you need with comprehensive search metadata and individual part details to compare options and locate the best deals.
honda.ca API
Get current Honda Canada vehicle pricing, lease and finance payment options, APR rates, and available incentives across all Canadian provinces to compare deals in real-time. Calculate custom payment scenarios and browse all Honda models with their latest promotional offers directly from Honda Canada's official pricing data.
autodoc.co.uk API
Find auto parts and check compatibility with your vehicle by browsing makes, models, and engines, then search for parts with detailed specifications and discover equivalent alternatives. Get everything you need to identify the right replacement parts for any car in the Autodoc catalog.
leboncoin.fr API
Search and retrieve detailed listings from Leboncoin across cars, real estate, jobs, and other categories with advanced filtering options. Access seller profiles, pricing analytics, and comprehensive listing details to find exactly what you're looking for on France's leading classifieds platform.
auctiontime.com API
Search and browse equipment and truck auction listings from AuctionTime.com, view detailed information about specific auctions, filter by category and auctioneer, and track auction results by date. Access comprehensive auction data including listings, categories, and auctioneer information all in one place.
yad2.co.il API
Search for apartments and cars on Yad2's marketplace and access detailed listing information including photos, prices, and specifications. Instantly reveal seller contact information to connect directly with real estate agents and car dealers.
turo.com API
Search for peer-to-peer car rentals across Turo by location and dates to browse available vehicles with pricing, specifications, and real-time availability. Get detailed information on specific cars to compare features and make rental decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
O'Reilly Auto Parts API | oreillyauto.com · Parse