---
title: "Get review rating stats"
method: GET
path: "/api/v1/skills/{slug}/reviews/stats"
tags: ["Reviews"]
---

# Get review rating stats

`GET /api/v1/skills/{slug}/reviews/stats`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/skills/{slug}/reviews/stats`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Returns aggregate rating statistics for a skill: average rating, total review count, and the 1-5 star distribution. Public.

## Path parameters

- `slug` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object
  - `avgRating` number, required
  - `totalReviews` integer, required
  - `distribution` object, required: Map of star rating (1-5) to count

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
