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.
Eligible Rich Results
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
Ready to Create AggregateRating Markup?
Use our free generator to create valid AggregateRating JSON-LD markup with a visual form. No coding required.
Open Generator