> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopping Filtered Search

> Filtered Naver Shopping product search — narrow a finder query by a brand id and/or attribute id.

Run a **filtered Naver Shopping product search** — the same finder feed as [`/shopping/search-products`](https://docs.scrapebadger.com/api-reference/endpoint/naver/shopping-search-products), narrowed by a brand id and/or attribute id taken from [`/shopping/search-filters`](https://docs.scrapebadger.com/api-reference/endpoint/naver/shopping-search-filters). Returns the finite finder set (up to 10 pages of 8 slots).

**Credits:** 5

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Query Parameters

**query** `string` *required*

Search keywords.

**brand\_id** `string`

A brand value id from `/shopping/search-filters` (`BRAND` facet).

**attribute\_id** `string`

An attribute value id from `/shopping/search-filters` (`ATTRIBUTE` facet).

## Response

**query** `string`

**brand\_ids** `string[]`

The brand ids applied.

**attribute\_ids** `string[]`

The attribute ids applied.

**preview\_only** `boolean`

Always `true`.

**result\_count** `integer`

**page\_count** `integer`

Finder pages folded in (≤ 10).

**page\_size** `integer`

**total\_count** `integer`

Total matches reported by Naver, when available.

**filters\_applied\_by** `string`

How the filter was applied: `click` or `rewrite`.

**products** `Product[]`

Filtered products — same shape as a [`/shopping/search-products`](https://docs.scrapebadger.com/api-reference/endpoint/naver/shopping-search-products) product.

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/naver/shopping/search-filtered?query=무선+이어폰&brand_id=12345" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript Node.js theme={null}
const res = await fetch(
  "https://scrapebadger.com/v1/naver/shopping/search-filtered?" +
    new URLSearchParams({"query": "무선 이어폰", "brand_id": "12345"}),
  { headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const data = await res.json();
```

```python Python theme={null}
import requests

res = requests.get(
    "https://scrapebadger.com/v1/naver/shopping/search-filtered",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"query": "무선 이어폰", "brand_id": "12345"},
)
data = res.json()
```

```json Response theme={null}
{
  "query": "무선 이어폰",
  "brand_ids": [
    "12345"
  ],
  "attribute_ids": [],
  "preview_only": true,
  "result_count": 40,
  "page_count": 5,
  "page_size": 8,
  "total_count": 40,
  "filters_applied_by": "click",
  "products": [
    {
      "rank": 1,
      "nv_mid": "82613579214",
      "product_name": "삼성전자 갤럭시 버즈3 프로",
      "product_url": "https://shopping.naver.com/catalog/82613579214",
      "sale_price": 279000,
      "discounted_sale_price": 229000,
      "mall_name": "삼성전자 공식스토어",
      "is_ad": false
    }
  ]
}
```

## Errors

| Status | Meaning |
| - | - |
| `422` | Naver served a challenge instead of content — **not billed**. Retry; it succeeds. |
| `502` | Unexpected upstream failure — **not billed**. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.