O'Reilly Auto Parts Sorting API
Our O'Reilly Auto Parts Sorting API sorts the results (e.g. by price, from low to high) with sort.
The API endpoint is https://serpapi.com/search?engine=oreilly_auto_parts
Head to the playground for a live and interactive demo.
API examples
Example results for q: brake pads and sort: price_low
price_low sorts the results by price, from low to high. The prices are the ones of the selected store (store_id).
{
...
"search_parameters": {
"engine": "oreilly_auto_parts",
"q": "brake pads",
"store_id": "135",
"sort": "price_low"
},
"organic_results": [
{
"title": "EBC Brakes SFA Series Front Brake Pads",
"link": "https://www.oreillyauto.com/detail/c/sfa-series/brakes/brake-pads---shoes/brake-pads/a99314144bb6/ebc-brakes-sfa-series-front-brake-pads/ebcu/sfa432",
"product_id": "EBCU-SFA432",
"serpapi_link": "https://serpapi.com/search.json?engine=oreilly_auto_parts_product&product_id=EBCU-SFA432&store_id=135",
"part_number": "SFA432",
"line_code": "EBC",
"price": "$12.99",
"extracted_price": 12.99,
"unit_of_measure": "per Set"
},
{
"title": "EBC Brakes SFA Series Front Brake Pads",
"link": "https://www.oreillyauto.com/detail/c/sfa-series/brakes/brake-pads---shoes/brake-pads/a99314144bb6/ebc-brakes-sfa-series-front-brake-pads/ebcu/sfa705",
"product_id": "EBCU-SFA705",
"serpapi_link": "https://serpapi.com/search.json?engine=oreilly_auto_parts_product&product_id=EBCU-SFA705&store_id=135",
"part_number": "SFA705",
"line_code": "EBC",
"price": "$14.99",
"extracted_price": 14.99,
"unit_of_measure": "per Set"
},
{
"title": "EBC Brakes SFA Series Rear Brake Pads",
"link": "https://www.oreillyauto.com/detail/c/sfa-series/brakes/brake-pads---shoes/brake-pads/a99314144bb6/ebc-brakes-sfa-series-rear-brake-pads/ebcu/sfa706",
"product_id": "EBCU-SFA706",
"serpapi_link": "https://serpapi.com/search.json?engine=oreilly_auto_parts_product&product_id=EBCU-SFA706&store_id=135",
"part_number": "SFA706",
"line_code": "EBC",
"price": "$14.99",
"extracted_price": 14.99,
"unit_of_measure": "per Set"
},
...
]
...
}