# AutoZone Search API

> Search AutoZone auto parts by keyword, optionally for a specific vehicle and store, with part number, brand, price, rating and availability.

Source: https://www.sandbase.ai/apis/autozone/search
API reference: https://www.sandbase.ai/apis/autozone/search#api

## Facts

- Provider: AutoZone
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/autozone/search`
- Price: $0.01 per call
- Capabilities: api, autozone, ecommerce, automotive
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/autozone/search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | yes |  |
| `store_id` | string | no |  |
| `vehicle_year` | string | no |  |
| `vehicle_make` | string | no |  |
| `vehicle_model` | string | no |  |
| `vehicle_engine` | string | no |  |
| `vehicle_submodel` | string | no |  |
| `vehicle_type` | string | no |  |
| `sort` | string | no |  |
| `facet` | string | no |  |
| `min_price` | string | no |  |
| `max_price` | string | no |  |
| `page` | string | no |  |
| `ps` | string | no |  |
| `json_restrictor` | string | no |  |
| `include_filters` | string | no |  |

## FAQ

### How do I use the AutoZone Search API?

Send a POST request to https://api.sandbase.ai/v1/api/autozone/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the AutoZone Search API cost?

$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the AutoZone Search API accept?

Required: q (string). Optional: store_id (string), vehicle_year (string), vehicle_make (string), vehicle_model (string), vehicle_engine (string) and vehicle_submodel (string) and 9 more. The Parameters table and the Playground on this page list every field.

### What does the AutoZone Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a AutoZone developer account or API key?

No. AutoZone Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for AutoZone API access separately.

## README

### AutoZone Search

Search AutoZone auto parts by keyword, optionally for a specific vehicle and store, with part number, brand, price, rating and availability.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/autozone/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "oil filter"}'
```

The result is returned in `outputs[0].data` as structured JSON.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `q` | string | Yes | Parameter defines the query you want to search. You can use anything that you would use in a regular AutoZone search (e.g., `oil filter`, `brake pads`, or a part number like `S9972`). |
| `store_id` | string | No | Parameter defines the AutoZone store to search (e.g., `4254`). The store changes the order of the results and adds their `in_store_pickup` availability. It defaults to `6997`, the store AutoZone uses when no store is selected. |
| `vehicle_year` | string | No | Parameter defines the year of the vehicle to find parts for (e.g., `2015`). Parameter requires `vehicle_make` and `vehicle_model` parameters to also be set. |
| `vehicle_make` | string | No | Parameter defines the make of the vehicle, as named on AutoZone (e.g., `Toyota`). Parameter requires `vehicle_year` and `vehicle_model` parameters to also be set. |
| `vehicle_model` | string | No | Parameter defines the model of the vehicle, as named on AutoZone (e.g., `Camry`). Parameter requires `vehicle_year` and `vehicle_make` parameters to also be set. |
| `vehicle_engine` | string | No | Parameter defines the engine of the vehicle, as named on AutoZone (e.g., `4 Cylinders 2.5L GAS`). Parameter requires `vehicle_year`, `vehicle_make`, and `vehicle_model` parameters to also be set. |
| `vehicle_submodel` | string | No | Parameter defines the submodel of the vehicle, as named on AutoZone (e.g., `LE`). Without it, parts that only fit some submodels have a `fitment: needs_more_info`. Parameter requires `vehicle_year`, `vehicle_make`, and `vehicle_model` param |
| `vehicle_type` | string | No | Parameter defines the type of the vehicle. It defaults to `car_truck` when `vehicle_year`, `vehicle_make`, and `vehicle_model` are set. Available options: `car_truck` - Car & Truck `motorcycle` - Motorcycle `recreational` - Recreational Par |
| `sort` | string | No | Parameter defines the sorting of the results. It defaults to `featured`. Available options: `featured` - Featured `price_low` - Price (low to high) `price_high` - Price (high to low) `recently_added` - Recently Added `rating_high` - Custome |
| `facet` | string | No | 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  |
| `min_price` | string | No | Parameter defines the minimum price of the products, in whole US dollars (e.g., `20`). |
| `max_price` | string | No | Parameter defines the maximum price of the products, in whole US dollars (e.g., `50`). |
| `page` | string | No | Value is used to get results on a specific page. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.). |
| `ps` | string | No | Parameter defines the number of results per page, between `1` and `100`. It defaults to `24`. |
| `json_restrictor` | string | No | 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. |
| `include_filters` | string | No | 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). |

#### Pricing

$0.010 per successful call. Failed calls are not charged.
