AutoZone Filtering API
Our AutoZone Search API can filter the results by brand, price, rating, and more. Set include_filters to true to get the filters of a search, then pass the value of their options to facet, separated by commas.
The API endpoint is https://serpapi.com/search?engine=autozone
Head to the playground for a live and interactive demo.
API parameters
facet
Optional
Parameter defines the filters to apply. It's a comma-separated list of filter values (e.g., sub_brand_name_display_s:Duralast,avg_rating_range_ss:2~4 TO *~4 and up for Duralast with 4 stars and up).
Filter values are available in filters[].options[].value of the results when include_filters is set to true.
include_filters
Optional
Parameter defines whether to include the filters of the search in the JSON response, with the values to use in facet. It can be set to true or false (default).
API examples
Example with q: brake pads, facet: sub_brand_name_display_s:Duralast,position_name_s:Rear, and include_filters: true
The serpapi_link of an option adds it to the applied filters, or removes it if it's selected.
{
...
"filters": [
{
"name": "Brand",
"options": [
{
"name": "Duralast",
"value": "sub_brand_name_display_s:Duralast",
"count": 630,
"selected": true,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=position_name_s%3ARear&include_filters=true&q=brake+pads&store_id=6997"
},
{
"name": "Duralast Gold",
"value": "sub_brand_name_display_s:Duralast Gold",
"count": 513,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=sub_brand_name_display_s%3ADuralast%2Cposition_name_s%3ARear%2Csub_brand_name_display_s%3ADuralast+Gold&include_filters=true&q=brake+pads&store_id=6997"
}
]
},
{
"name": "Location",
"options": [
{
"name": "Rear",
"value": "position_name_s:Rear",
"count": 630,
"selected": true,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=sub_brand_name_display_s%3ADuralast&include_filters=true&q=brake+pads&store_id=6997"
},
{
"name": "Front",
"value": "position_name_s:Front",
"count": 993,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=sub_brand_name_display_s%3ADuralast%2Cposition_name_s%3ARear%2Cposition_name_s%3AFront&include_filters=true&q=brake+pads&store_id=6997"
}
]
},
{
"name": "Price",
"options": [
{
"name": "$20 - $25",
"value": "item_price_en_range_ss:$20 - $25",
"count": 19,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=sub_brand_name_display_s%3ADuralast%2Cposition_name_s%3ARear%2Citem_price_en_range_ss%3A%2420+-+%2425&include_filters=true&q=brake+pads&store_id=6997"
},
{
"name": "$25 - $30",
"value": "item_price_en_range_ss:$25 - $30",
"count": 29,
"serpapi_link": "https://serpapi.com/search.json?engine=autozone&facet=sub_brand_name_display_s%3ADuralast%2Cposition_name_s%3ARear%2Citem_price_en_range_ss%3A%2425+-+%2430&include_filters=true&q=brake+pads&store_id=6997"
}
]
},
...
],
...
}
Example with q: oil filter, store_id: 4254, and facet: available_stores_ss:4254
available_stores_ss keeps the products that can be picked up at the store today.
{
...
"organic_results": [
{
"title": "STP Oil Filter Element P983",
"link": "https://www.autozone.com/p/stp-engine-oil-filter-p983/992113",
"serpapi_link": "https://serpapi.com/search.json?engine=autozone_product&product_id=992113&store_id=4254",
"sku": "992113",
"part_number": "P983",
"brand": "STP",
"thumbnail": "https://contentassets.autozone.com/product_image/USA/49606/FBRB/P983/P983-01.jpg",
"rating": 4.0,
"reviews": 11,
"fitment": "needs_base_vehicle",
"attributes": {
"Height": "6.06 in"
},
"in_store_pickup": true
},
{
"title": "STP Cartridge Oil Filter Element P908",
"link": "https://www.autozone.com/p/stp-engine-oil-filter-p908/964996",
"serpapi_link": "https://serpapi.com/search.json?engine=autozone_product&product_id=964996&store_id=4254",
"sku": "964996",
"part_number": "P908",
"brand": "STP",
"thumbnail": "https://contentassets.autozone.com/product_image/USA/49606/FBRB/P908/P908-01.jpg",
"rating": 4.5,
"reviews": 2,
"fitment": "needs_base_vehicle",
"attributes": {
"Height": "108 mm"
},
"in_store_pickup": true
},
...
],
...
}
Example with q: brake pads, min_price: 20, and max_price: 60
{
...
"organic_results": [
{
"title": "Duralast Semi-Metallic Brake Pads MKD647",
"link": "https://www.autozone.com/p/duralast-disc-brake-pad-set-mkd647/97478",
"serpapi_link": "https://serpapi.com/search.json?engine=autozone_product&product_id=97478",
"sku": "97478",
"part_number": "MKD647",
"brand": "Duralast",
"thumbnail": "https://contentassets.autozone.com/product_image/USA/1684/CFHH/MKD647/MKD647-01.jpg",
"fitment": "needs_base_vehicle",
"location": "Front",
"attributes": {
"Mounting Hardware Included": "No",
"Pad Type": "Semi-metallic"
}
},
{
"title": "Duralast Semi-Metallic Brake Pads MKD645",
"link": "https://www.autozone.com/p/duralast-disc-brake-pad-set-mkd645/97477",
"serpapi_link": "https://serpapi.com/search.json?engine=autozone_product&product_id=97477",
"sku": "97477",
"part_number": "MKD645",
"brand": "Duralast",
"thumbnail": "https://contentassets.autozone.com/product_image/USA/1684/CFHH/MKD645/MKD645-01.jpg",
"rating": 3.7,
"reviews": 3,
"fitment": "needs_base_vehicle",
"location": "Front",
"attributes": {
"Mounting Hardware Included": "No",
"Pad Type": "Semi-metallic"
}
},
...
],
...
}