O'Reilly Auto Parts Product API
Our O'Reilly Auto Parts Product API allows you to scrape a product page from O'Reilly Auto Parts: its price and availability at the O'Reilly store of your choice, deals, rebates, rating, specifications, description, and the documents of its manufacturer.
The API endpoint is https://serpapi.com/search?engine=oreilly_auto_parts_product
Head to the playground for a live and interactive demo.
API parameters
Search query
product_id
Required
Parameter defines the O'Reilly Auto Parts product to get: the 2 segments after the product's name in its page URL on O'Reilly, separated by a dash (e.g., BSG0-SC1001 for https://www.oreillyauto.com/detail/c/brakebest-select-brake-pads/brakebest-select-ceramic-brake-pads/bsg0/sc1001). It's also the product_id of the results of our O'Reilly Auto Parts Search API.
Localization
store_id
Optional
Parameter defines the O'Reilly Auto Parts store to get the price and availability for. The store ID is the store number at the end of the store's page URL on O'Reilly (e.g., https://locations.oreillyauto.com/en-us/fl/temple-terrace/autoparts-6463.html). It defaults to 135 (Springfield, MO), the store closest to O'Reilly's headquarters.
SerpApi parameters
engine
Required
Set parameter to oreilly_auto_parts_product to use the O'Reilly Auto Parts Product API engine.
no_cache
Optional
Parameter will force SerpApi to fetch the O'Reilly Auto Parts Product results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.
async
Optional
Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.
zero_trace
Optional
Enterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.
output
Optional
Parameter defines the format of the result. It can be set to json (default) to get a structured JSON of the results, html to get the raw HTML retrieved, or md to get a Markdown-formatted version optimized for LLMs and AI agents.
json_restrictor
Optional
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
API results
JSON results
JSON output includes structured data for product results.
A search status is accessible through search_metadata.status.
It flows this way: Processing -> Success || Error.
If a search has failed, error will contain an error message.
search_metadata.id is the search ID inside SerpApi.
HTML results
This API does not have a full HTML response, only text.
search_metadata.prettify_html_file contains a link to the prettified version of the result.
It is displayed in the playground.
Markdown results
Markdown output is optimized for LLMs and AI agents. It provides a curated view of the JSON results
in a token-efficient format using tables, markdown links, and YAML frontmatter.
To access, use the output=md parameter, the /search.md endpoint, or request header Accept: text/markdown.
API examples
Result for product_id: BSG0-SC1001
product_id is the 2 segments after the product's name in its page URL on O'Reilly, separated by a dash. For example, the product_id for https://www.oreillyauto.com/detail/c/brakebest-select-brake-pads/brakebest-select-ceramic-brake-pads/bsg0/sc1001 is BSG0-SC1001.
{
...
"search_information": {
"store_id": "135",
"store_address": "1425 N Kansas Expressway, Springfield, MO 65802"
},
"product_results": {
"product_id": "BSG0-SC1001",
"title": "BrakeBest Select Ceramic Brake Pads",
"link": "https://www.oreillyauto.com/detail/c/brakebest-select-brake-pads/brakebest-select-ceramic-brake-pads/bsg0/sc1001",
"part_number": "SC1001",
"line_code": "BB",
"brand": "BrakeBest Select Brake Pads",
"product_line": "BrakeBest Select Brake Pads",
"category": "Brake Pads",
"upc": "441769034583",
"thumbnail": "https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_202_ang_primary.jpg",
"images": [
"https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_202_ang_primary.jpg",
"https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_505_rit.jpg",
...
],
"rating": 4.3,
"reviews": 3,
"price": "$69.99",
"extracted_price": 69.99,
"unit_of_measure": "per Set",
"deals": [
{
"title": "FREE Brake Pads* with Purchase of 2 Rotors",
"description": "Get a set of BrakeBest Select brake pads when you purchase (2) BrakeBest Select® rotors",
"end_date": "2026-11-30",
"terms": "Get a set of BrakeBest Select brake pads when you purchase (2) BrakeBest Select® rotors Sales tax not included. Discount applied automatically in Cart once qualifying items are added."
},
{
"title": "FREE* with Purchase of 2 Rotors",
"description": "Get a set of BrakeBest Select Pro or Import Direct brake pads when you purchase (2) BrakeBest Select Pro or Import Direct rotors.",
"end_date": "2026-11-30",
"terms": "Get a set of BrakeBest Select Pro or Import Direct brake pads when you purchase (2) BrakeBest Select Pro or Import Direct rotors Sales tax not included. Discount applied automatically in Cart once qualifying items are added."
}
],
"warranty": "Limited Lifetime Warranty",
"fulfillment": {
"in_stock": false,
"pickup": true,
"pickup_time": "by 8 AM tomorrow",
"shipping": true,
"free_shipping": true
},
"specifications": [
{
"name": "Brake Pad Material",
"value": "Ceramic"
},
{
"name": "Installation Hardware Included",
"value": "No"
},
{
"name": "Noise-Reducing Shim Included",
"value": "Yes"
},
...
],
"description": "Brake Pads; Ceramic; BrakeBest Select ceramic pads are 100 percent Copper-Free, based on the OE friction formulation, and slotted and chamfered to reduce noise. Feature a precision cut steel back plate with a 3-layer QuieTech rubberized shims which neutralize noise causing vibrations, and have...",
"brand_information": "BrakeBest Select offers a full line of premium brake friction, as well as select hydraulic applications and hardware components, engineered to restore drivability, safety, and confidence behind the wheel. From routine service to complete repairs, BrakeBest Select delivers the parts you need to keep..."
}
}
Result for product_id: MOB8-15305QT
{
...
"search_information": {
"store_id": "135",
"store_address": "1425 N Kansas Expressway, Springfield, MO 65802"
},
"product_results": {
"product_id": "MOB8-15305QT",
"title": "Mobil 1 Advanced Full Synthetic Motor Oil 5W-30 5 Quart",
"link": "https://www.oreillyauto.com/detail/c/1-advanced/mobil-1-advanced-full-synthetic-motor-oil-5w-30-5-quart/mob8/15305qt",
"part_number": "1-5-30-5QT",
"line_code": "MOB",
"brand": "Mobil",
"product_line": "1 Advanced",
"category": "Motor Oil - Vehicle Specific",
"upc": "71924150010",
"thumbnail": "https://images-prod.oreillyauto.com/parts/img/large/mob/orly_15305qt_202_ang_primary.jpg",
"images": [
"https://images-prod.oreillyauto.com/parts/img/large/mob/orly_15305qt_202_ang_primary.jpg",
"https://images-prod.oreillyauto.com/parts/img/large/mob/orly_15305qt_404_bac.jpg",
...
],
"rating": 4.8,
"reviews": 358,
"price": "$44.95",
"extracted_price": 44.95,
"old_price": "$46.99",
"extracted_old_price": 46.99,
"on_sale": true,
"unit_of_measure": "Each",
"deals": [
{
"title": "Get 5 quarts for $44.95",
"description": "Get 5 quarts of Mobil 1 Synthetic for $44.95; PLUS receive a $10 O'Reilly gift card and a Tyler Reddick poster after rebate.",
"end_date": "2026-11-24",
"terms": "Must purchase 5 quarts for sale price. Offer also applies to a 5-quart container purchase."
}
],
"rebates": [
{
"title": "$10 O'Reilly Gift Card plus a Diecast Car Available",
"description": "Buy 5 Quarts of Mobil 1 Motor Oil and receive a $10 O'Reilly Gift Card plus a Diecast Car."
},
{
"title": "$10 O’Reilly Gift Card plus a Tyler Reddick Poster",
"description": "Purchase 5 quarts of Mobil 1 Motor Oil & receive a $10 O’Reilly Gift Card plus a Tyler Reddick Poster. Please see Rebate Center for more details."
}
],
"warranty": "Manufacturer's Defect Warranty",
"fulfillment": {
"in_stock": true,
"pickup": true,
"shipping": true,
"free_shipping": true
},
"specifications": [
{
"name": "Oil Composition",
"value": "Full Synthetic"
},
{
"name": "Viscosity Grade/Weight",
"value": "5W-30"
},
{
"name": "Container Size",
"value": "5 Quart"
}
],
"description": "Motor Oil; Full Synthetic; 5W-30; 5 Quart; Mobil 1 advanced full synthetic motor oil 5W-30 helps to extend engine life for vehicles of all ages. Mobil 1 advanced synthetic motor oil is designed to deliver outstanding engine protection from the five factors that can damage engines over time and...",
"features": [
"Mobil 1 advanced full-synthetic motor oil 5W-30 utilizes Mobil 1's signature Triple Action Formula to deliver outstanding engine performance, protection, and cleanliness",
"Helps protect critical engine parts for up to 10,000 miles between oil changes, controlling oxidation to prevent oil breakdown and maintaining excellent viscosity"
],
"brand_information": "Nothing works harder to keep your car, truck, van or SUV running smoothly than Mobil-branded oils. From premium conventional to advanced full synthetic, high-performance to high-mileage - there is a Mobil-branded motor oil to help you go the distance time and time again. Delivering exceptional..."
}
}
Result for product_id: ULT0-R110001
Remanufactured parts have a refundable core deposit (core_deposit). documents links the documents of the manufacturer, like installation instructions.
{
...
"search_information": {
"store_id": "135",
"store_address": "1425 N Kansas Expressway, Springfield, MO 65802"
},
"product_results": {
"product_id": "ULT0-R110001",
"title": "Ultima 140 Amp Alternator - Remanufactured",
"link": "https://www.oreillyauto.com/detail/c/ultima/ultima-140-amp-alternator-remanufactured/ult0/r110001",
"part_number": "R110001",
"line_code": "ULT",
"brand": "Ultima",
"product_line": "Ultima",
"category": "Alternator",
"upc": "18645436627",
"thumbnail": "https://images-prod.oreillyauto.com/parts/img/large/ost/orly_r110001a_202_ang_primary.jpg",
"images": [
"https://images-prod.oreillyauto.com/parts/img/large/ost/orly_r110001a_202_ang_primary.jpg",
"https://images-prod.oreillyauto.com/parts/img/large/ost/orly_r110001a_404_bac.jpg",
...
],
"price": "$169.99",
"extracted_price": 169.99,
"core_deposit": "$40.00",
"extracted_core_deposit": 40.0,
"unit_of_measure": "Each",
"warranty": "Limited Lifetime Warranty",
"fulfillment": {
"in_stock": false,
"pickup": true,
"pickup_time": "by 8 AM tomorrow",
"shipping": true,
"free_shipping": true
},
"specifications": [
{
"name": "New Or Remanufactured",
"value": "Remanufactured"
},
{
"name": "Amperage (A)",
"value": "140 Amp"
},
{
"name": "Pulley Belt Type",
"value": "Serpentine"
},
...
],
"description": "Alternator; Remanufactured",
"brand_information": "Ultima premium remanufactured starters and alternators provide superior quality, industry-leading coverage and extreme durability. Remanufactured by ISO/TS 16949 certified factories to meet or exceed OE quality standards, Ultima starters and alternators utilize the newest OE technology improvements...",
"documents": [
{
"title": "Ultima Alternator - Installation Instruction",
"link": "https://images-prod.oreillyauto.com/parts/img/documents/ult/ta-1000alternatorinstructions.pdf"
}
]
}
}
Result for product_id: BSG0-SC1001 and store_id: 6463
store_id sets the O'Reilly store of the price and of the availability (fulfillment), shown in search_information.
{
...
"search_information": {
"store_id": "6463",
"store_address": "5275 E Busch Blvd, Temple Terrace, FL 33617"
},
"product_results": {
"product_id": "BSG0-SC1001",
"title": "BrakeBest Select Ceramic Brake Pads",
"link": "https://www.oreillyauto.com/detail/c/brakebest-select-brake-pads/brakebest-select-ceramic-brake-pads/bsg0/sc1001",
"part_number": "SC1001",
"line_code": "BB",
"brand": "BrakeBest Select Brake Pads",
"product_line": "BrakeBest Select Brake Pads",
"category": "Brake Pads",
"upc": "441769034583",
"thumbnail": "https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_202_ang_primary.jpg",
"images": [
"https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_202_ang_primary.jpg",
"https://images-prod.oreillyauto.com/parts/img/large/obb/orly_sc1001_505_rit.jpg",
...
],
"rating": 4.3,
"reviews": 3,
"price": "$69.99",
"extracted_price": 69.99,
"unit_of_measure": "per Set",
"deals": [
{
"title": "FREE Brake Pads* with Purchase of 2 Rotors",
"description": "Get a set of BrakeBest Select brake pads when you purchase (2) BrakeBest Select® rotors",
"end_date": "2026-11-30",
"terms": "Get a set of BrakeBest Select brake pads when you purchase (2) BrakeBest Select® rotors Sales tax not included. Discount applied automatically in Cart once qualifying items are added."
},
{
"title": "FREE* with Purchase of 2 Rotors",
"description": "Get a set of BrakeBest Select Pro or Import Direct brake pads when you purchase (2) BrakeBest Select Pro or Import Direct rotors.",
"end_date": "2026-11-30",
"terms": "Get a set of BrakeBest Select Pro or Import Direct brake pads when you purchase (2) BrakeBest Select Pro or Import Direct rotors Sales tax not included. Discount applied automatically in Cart once qualifying items are added."
}
],
"warranty": "Limited Lifetime Warranty",
"fulfillment": {
"in_stock": true,
"pickup": true,
"shipping": true,
"free_shipping": true
},
"specifications": [
{
"name": "Brake Pad Material",
"value": "Ceramic"
},
{
"name": "Installation Hardware Included",
"value": "No"
},
{
"name": "Noise-Reducing Shim Included",
"value": "Yes"
},
...
],
"description": "Brake Pads; Ceramic; BrakeBest Select ceramic pads are 100 percent Copper-Free, based on the OE friction formulation, and slotted and chamfered to reduce noise. Feature a precision cut steel back plate with a 3-layer QuieTech rubberized shims which neutralize noise causing vibrations, and have...",
"brand_information": "BrakeBest Select offers a full line of premium brake friction, as well as select hydraulic applications and hardware components, engineered to restore drivability, safety, and confidence behind the wheel. From routine service to complete repairs, BrakeBest Select delivers the parts you need to keep..."
}
}
Result for product_id: BOS8-7413
Special order products (fulfillment.special_order) on O'Reilly have no price.
{
...
"search_information": {
"store_id": "135",
"store_address": "1425 N Kansas Expressway, Springfield, MO 65802"
},
"product_results": {
"product_id": "BOS8-7413",
"title": "Bosch Nickel With Copper Core Spark Plug",
"link": "https://www.oreillyauto.com/detail/c/nickel-with-copper-core/bosch-nickel-with-copper-core-spark-plug/bos8/7413",
"part_number": "7413",
"line_code": "BOS",
"brand": "Bosch",
"product_line": "Nickel With Copper Core",
"category": "Spark Plug",
"upc": "3165141650488",
"thumbnail": "https://images-prod.oreillyauto.com/parts/img/large/bos/7413right.jpg",
"images": [
"https://images-prod.oreillyauto.com/parts/img/large/bos/7413right.jpg",
"https://images-prod.oreillyauto.com/parts/img/large/bos/7413left.jpg",
...
],
"unit_of_measure": "Each",
"warranty": "1 Year Limited Warranty",
"fulfillment": {
"in_stock": false,
"pickup": false,
"shipping": false,
"special_order": true
},
"specifications": [
{
"name": "Metallurgy",
"value": "Copper"
},
{
"name": "Center Electrode Tip Material",
"value": "Nickel"
},
{
"name": "Ground Electrode Tip Material",
"value": "Nickel"
},
...
],
"description": "Spark Plug; Nickel; Copper; Bosch conventional Nickel-Copper Spark Plugs are designed to deliver performance and value. Heavy-duty yttrium-enhanced nickel center electrode with copper core provides a longer lasting copper core spark plug. Engineered to meet or exceed OE specifications for...",
"features": [
"Heavy-duty yttrium enhanced nickel-copper center electrode ensures superior reliability and durability for up to 50 percent longer performance life vs. standard copper plugs",
"Copper core provides broader heat range to resist pre-ignition and fouling",
...
],
"brand_information": "The Mobility Aftermarket division (MA) provides the aftermarket and repair shops worldwide with modern diagnostic and repair shop equipment and a wide range of spare parts - from new and exchange parts to repair solutions - for passenger cars and commercial vehicles. Its product portfolio includes...",
"documents": [
{
"title": "Bosch Spark Plugs - Catalog (English)",
"link": "https://images-prod.oreillyauto.com/parts/img/documents/bos/catalog_spark_plugs.pdf"
}
]
}
}
JSON structure overview
{
...
"search_information": {
"store_id": "String - ID of the O'Reilly store of the price and availability.",
"store_address": "String - Address of the O'Reilly store of the price and availability. (Ex. 1425 N Kansas Expressway, Springfield, MO 65802)",
"product_results_state": "String - State of the results. (Ex. Fully empty)"
},
"product_results": {
"product_id": "String - ID of the product: the 2 segments after its name in its page URL on O'Reilly, separated by a dash. (Ex. BSG0-SC1001)",
"title": "String - Title of the product.",
"link": "String - Link to the product on O'Reilly.",
"part_number": "String - Part number of the product, as displayed. (Ex. SC1001, 1-5-30-5QT)",
"line_code": "String - Line code of the brand of the product, as displayed. (Ex. BB)",
"brand": "String - Brand of the product. (Ex. Bosch)",
"product_line": "String - Product line of the brand. (Ex. Pure Vision)",
"category": "String - Category of the product. (Ex. Brake Pads)",
"upc": "String - UPC of the product. (Ex. 441769034583)",
"thumbnail": "String - Link to the main image of the product.",
"images": [
"String - Link to an image of the product."
],
"rating": "Float - Average rating of the product, out of 5. Missing for products without reviews.",
"reviews": "Integer - Number of reviews of the product, including the reviews O'Reilly shows from the manufacturer's site. Missing for products without reviews.",
"price": "String - Price of the product at the store, as displayed. The sale price of products on sale. Missing for special order products, whose page asks to call the store for the price.",
"extracted_price": "Float - Price of the product at the store.",
"old_price": "String - Regular price of a product on sale, as displayed.",
"extracted_old_price": "Float - Regular price of a product on sale.",
"on_sale": "Boolean - True for products on sale.",
"clearance": "Boolean - True for products on clearance.",
"core_deposit": "String - Refundable core deposit of the product, as displayed.",
"extracted_core_deposit": "Float - Refundable core deposit of the product.",
"unit_of_measure": "String - Quantity of the price. (Ex. Each, per Set)",
"deals": [
{
"title": "String - Title of the deal. (Ex. Get 5 quarts for $44.95)",
"description": "String - Description of the deal.",
"end_date": "String - End date of the deal, in YYYY-MM-DD format. (Ex. 2026-11-24)",
"terms": "String - Terms and conditions of the deal."
}
],
"rebates": [
{
"title": "String - Title of the rebate. (Ex. $10 O'Reilly Gift Card plus a Diecast Car Available)",
"description": "String - Description of the rebate."
}
],
"warranty": "String - Warranty of the product. (Ex. Limited Lifetime Warranty)",
"fulfillment": {
"in_stock": "Boolean - True if the product is in stock at the store.",
"pickup": "Boolean - True if the product can be picked up at the store.",
"pickup_time": "String - When the product can be picked up, if it isn't in stock at the store. (Ex. by 4:40 PM today)",
"shipping": "Boolean - True if the product can be delivered.",
"free_shipping": "Boolean - True if the product qualifies for free shipping.",
"special_order": "Boolean - True if the product is a special order item."
},
"specifications": [
{
"name": "String - Name of the specification. (Ex. Brake Pad Material)",
"value": "String - Value of the specification. (Ex. Ceramic)"
}
],
"description": "String - Detailed description of the product, without its lists.",
"features": [
"String - Item of the lists of the description."
],
"brand_information": "String - Information about the brand of the product.",
"documents": [
{
"title": "String - Title of the document. (Ex. Ultima Alternator - Installation Instruction)",
"link": "String - Link to the document."
}
]
}
}