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

<ParamField header="X-API-Key" type="string" required>
  Your ScrapeBadger API key.
</ParamField>

## Path Parameters

<ParamField path="origin_product_no" type="string" required>
  The product's origin product number.
</ParamField>

## Query Parameters

<ParamField query="leaf_category_id" type="string">
  Leaf category id for the product. Optional — improves summary resolution when known.
</ParamField>

## Response

<ResponseField name="origin_product_no" type="string" />

<ResponseField name="leaf_category_id" type="string" />

<ResponseField name="review_count" type="integer" />

<ResponseField name="average_review_score" type="number" />

## Example

<CodeGroup>
  ```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()
  ```
</CodeGroup>

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