AggregateRating Schema Markup
AggregateRating summarizes multiple reviews into an overall rating. It's typically used within Product, LocalBusiness, Recipe, and other types to display aggregate star ratings in search results.
Google Search Features
- Product snippet AggregateRating appears inside this feature's markup. Price, availability and review stars under a product result.
- Review snippet Star ratings and a review excerpt for the reviewed item. Local businesses and organizations: only reviews of other businesses, not reviews they collect about themselves.
- Software app AggregateRating appears inside this feature's markup. App details such as rating, price and category.
When to Use AggregateRating
Properties
| Property | Type | Status | Description |
|---|---|---|---|
| ratingValue | Number | required | The overall rating value. |
| bestRating | Number | optional | Highest possible rating (default 5). |
| worstRating | Number | optional | Lowest possible rating (default 1). |
| ratingCount | Integer | required | Total number of ratings. |
| reviewCount | Integer | optional | Number of written reviews (alternative to ratingCount). |
JSON-LD Examples
Product Rating
An aggregate rating for a product.
{
"@type": "AggregateRating",
"ratingValue": "4.6",
"bestRating": "5",
"ratingCount": "2841",
"reviewCount": "489"
} Common Mistakes
Using AggregateRating as a standalone type — it should be nested inside Product, LocalBusiness, etc.
Missing both ratingCount and reviewCount — at least one is required.
Complete Guide to AggregateRating Schema Markup
AggregateRating is almost always used as a nested object within Product, LocalBusiness, Course, or SoftwareApplication markup. It tells Google the overall rating and how many people contributed to it, enabling the star rating snippet in search results.
You must include ratingValue and at least one of ratingCount or reviewCount. The bestRating defaults to 5 if not specified.
Related Types
Check Your AggregateRating Markup
The generator doesn't have a AggregateRating form yet. Paste your markup into the validator to check its types, properties and values, and what Google needs from it.
Open Validator