Search auto parts
AutoZone's parts search: the first 24 results for a keyword or part number, each with name, brand, part number, line code, category, attributes (position, pad type, oil weight...), image, link, price, store price, sale or clearance flags, core charge, warranty, vehicle-fitment label and availability (in-store pickup quantity at the nearest store, ship-to-home quantity, next-day and same-day delivery options); plus the total match count, a spelling correction and every facet with counts (brand, position, price range, rating, category, deals, part attributes). Narrow the results with one facet value from the facets list. Only the first page of results is available; use a facet or a more specific query to see other parts.
Every response includes credits_used: the credits this call cost.
Part of the AutoZone API: 1 endpoint with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
qrequired | string | Keyword or part number, e.g. brake pads, mobil 1 5w-30, DG1707. Example: brake pads |
facet | string | One filter as name:value, copied from facets[].values[].facet (e.g. sub_brand_name_display_s:Duralast Gold). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/autozone/v1/search?q=brake+pads" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/autozone/v1/search",
params={"q": "brake pads"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/autozone/v1/search");
url.searchParams.set("q", "brake pads");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"query": "brake pads","corrected_query": null,"part_number_search": false,"facet": null,"total": 73480,"count": 24,"store_id": "5672","redirect_url": null,"facets": [{"name": "Pick Up Today","id": "available_stores_ss","multi_select": false,"values": [{"label": "Pick Up In Store","count": 1617,"selected": false,"facet": "available_stores_ss:5672"}]},{"name": "Vehicle Fitment","id": "universal_or_specific_fit_s","multi_select": true,"values": [{"label": "Vehicle-Specific Products","count": 73287,"selected": false,"facet": "universal_or_specific_fit_s:VEHICLE_SPECIFIC"},{"label": "Universal","count": 206,"selected": false,"facet": "universal_or_specific_fit_s:UNIVERSAL"}]},"… 15 more"],"parts": [{"id": "511149","name": "Duralast Ceramic Brake Pads MKD1592","brand": "Duralast","sub_brand": "Duralast","part_number": "MKD1592","alternate_part_number": "MKD1592H","line_code": "EPA","category": "Brake Pads","category_path": "/brakes/brake-pads-wear-indicator-sensors/brake-pads","url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/p/duralast-disc-brake-pad-set-mkd1592/511149","image": "https://contentassets.autozone.com/product_image/USA/1684/CFHH/MKD1592/MKD1592-01.jpg","price": 54.99,"store_price": 54.99,"was_price": null,"discounted_price": null,"core_charge": 0,"clearance": false,"fits": "VEHICLE_SPECIFIC","position": "Front","attributes": {"Mounting Hardware Included": "No","Pad Type": "Ceramic"},"warranty": "AutoZone","limited_lifetime_warranty": true,"sponsored": false,"availability": {"store_id": "5672","in_store_quantity": 1,"ship_to_home_quantity": 5,"next_day_eligible": true,"nearby_stores_with_stock": 0,"options": [{"…": "6 fields"},{"…": "6 fields"},"… 2 more"]}},{"id": "342792","name": "Duralast Ceramic Brake Pads MKD833","brand": "Duralast","sub_brand": "Duralast","part_number": "MKD833","alternate_part_number": "MKD833H","line_code": "EPA","category": "Brake Pads","category_path": "/brakes/brake-pads-wear-indicator-sensors/brake-pads","url": "https://www.autozone.com/brakes-and-traction-control/brake-pads/p/duralast-disc-brake-pad-set-mkd833/342792","image": "https://contentassets.autozone.com/product_image/USA/1684/CFHH/MKD833/MKD833-01.jpg","price": 52.99,"store_price": 52.99,"was_price": null,"discounted_price": null,"core_charge": 0,"clearance": false,"fits": "VEHICLE_SPECIFIC","position": "Front","attributes": {"Mounting Hardware Included": "No","Pad Type": "Ceramic"},"warranty": "AutoZone","limited_lifetime_warranty": true,"sponsored": false,"availability": {"store_id": "5672","in_store_quantity": 1,"ship_to_home_quantity": 16,"next_day_eligible": true,"nearby_stores_with_stock": 0,"options": [{"…": "6 fields"},{"…": "6 fields"},"… 2 more"]}},"… 22 more"],"cached": false,"credits_used": 2}