> ## 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.

# Get Product Review Summary

> Rating summary for a Naver storefront product — average score, review count, star distribution and media/type counts.

Fetch the **rating summary** for a storefront product — the average review score, total review count, the star distribution and the media/type breakdowns, without pulling the individual reviews.

**Credits:** 5

## Authorization

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

Your ScrapeBadger API key.

## Path Parameters

**origin\_product\_no** `string` *required*

The product's origin product number.

## Query Parameters

**leaf\_category\_id** `string`

Leaf category id for the product. Optional — improves summary resolution when known.

## Response

**origin\_product\_no** `string`

**leaf\_category\_id** `string`

**review\_count** `integer`

**average\_review\_score** `number`

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/naver/products/5123456789/review-summary" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript Node.js theme={null}
const res = await fetch(
  "https://scrapebadger.com/v1/naver/products/5123456789/review-summary",
  { 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/products/5123456789/review-summary",
    headers={"X-API-Key": "YOUR_API_KEY"},
)
data = res.json()
```

```json Response theme={null}
{
  "origin_product_no": "5123456789",
  "leaf_category_id": "50002345",
  "review_count": 12043,
  "average_review_score": 4.8
}
```

## Errors

| Status | Meaning |
| - | - |
| `404` | The requested resource does not exist or has been removed. |
| `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.