# NAPA Auto Parts Search API

> Search NAPA auto parts by keyword with part number, brand, price, rating and store availability.

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

## Facts

- Provider: NAPA
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/napa/search`
- Price: $0.01 per call
- Capabilities: api, napa, 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/napa/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 |  |
| `sort` | string | no |  |
| `page` | string | no |  |
| `json_restrictor` | string | no |  |

## FAQ

### How do I use the NAPA Auto Parts Search API?

Send a POST request to https://api.sandbase.ai/v1/api/napa/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 NAPA Auto Parts 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 NAPA Auto Parts Search API accept?

Required: q (string). Optional: store_id (string), sort (string), page (string) and json_restrictor (string). The Parameters table and the Playground on this page list every field.

### What does the NAPA Auto Parts Search API return?

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

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

No. NAPA Auto Parts 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 NAPA API access separately.

## README

### NAPA Auto Parts Search

Search NAPA auto parts by keyword with part number, brand, price, rating and store availability.

#### Request

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

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `q` | string | Yes | Parameter defines the search query. You can use anything that you would use in a regular NAPA Auto Parts search: a part name, a brand, or a part number, including the part numbers of other brands that NAPA products replace (e.g., `brake cle |
| `store_id` | string | No | Parameter defines the NAPA Auto Parts store to get the prices, promotions, and availability from. It's the number at the end of the URL of the store page on napaonline.com (e.g., `22706` for `https://www.napaonline.com/en/ca/healdsburg/stor |
| `sort` | string | No | Parameter defines the sorting of the results. It defaults to `relevance`. Available options: `relevance` - Relevance `price_low_to_high` - Price - low to high `price_high_to_low` - Price - high to low `product_description` - Product descrip |
| `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.). NAPA returns up to 12 results per page. |
| `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. |

#### Pricing

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