---
updatedAt: 2026-10-29T10:55:14.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Top Three 5-Star Reviews

Retrieve the top three 5-star reviews per account. This endpoint will return the top three 5-star reviews (including unpublished reviews) based on Yotpo's smart algorithm in JSON or HTML format.

> 📘 Yotpo's Smart Algorithm
>
> Yotpo's smart algorithm considers the review sentiment, purchase count, content length, and when the review was created. Top reviews must have a 5-star rating/`score`, contain at least 100 characters, and include a product image.

> 📘 Note:
>
> This endpoint returns results for published *and* unpublished 5-Star Reviews alike.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Reviews API (V1)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.yotpo.com",
      "description": "Main API server for authenticated and write operations"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Your Yotpo account access token. See [Yotpo Authentication](ref:yotpo-authentication) to learn how to generate your token."
      }
    }
  },
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "paths": {
    "/apps/{store_id}/top_reviews": {
      "get": {
        "summary": "Top Three 5-Star Reviews",
        "description": "Retrieve the top three 5-star reviews per account. This endpoint will return the top three 5-star reviews (including unpublished reviews) based on Yotpo's smart algorithm in JSON or HTML format.",
        "operationId": "recent-5-star-reviews",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "JSON": {
                    "value": "{\n  \"status\": {\n    \"code\": 200,\n    \"message\": \"ok\"\n  },\n  \"reviews\": [\n    {\n      \"id\": 3,\n      \"product_id\": 2,\n      \"featured_image_id\": 3,\n      \"image\": 1,\n      \"good_length\": 0,\n      \"title\": \"This is the review title\",\n      \"content\": \"This is the review content\",\n      \"score\": 5,\n      \"created_at\": \"2015-03-02T11:08:01.123Z\",\n      \"product_url\": \"http://www.yotpo.com\",\n      \"image_url\": \"https://www.yotpo.com/wp-content/uploads/2015/11/Yotpo-Logo.png\"\n    },\n    {\n      \"id\": 3,\n      \"product_id\": 2,\n      \"featured_image_id\": 3,\n      \"image\": 1,\n      \"good_length\": 0,\n      \"title\": \"This is the review title\",\n      \"content\": \"This is the review content\",\n      \"score\": 5,\n      \"created_at\": \"2015-03-02T11:08:01.567Z\",\n      \"product_url\": \"http://www.yotpo.com\",\n      \"image_url\": \"https://www.yotpo.com/wp-content/uploads/2015/11/Yotpo-Logo.png\"\n    },\n    {\n      \"id\": 3,\n      \"product_id\": 2,\n      \"featured_image_id\": 3,\n      \"image\": 1,\n      \"good_length\": 0,\n      \"title\": \"This is the review title\",\n      \"content\": \"This is the review content\",\n      \"score\": 5,\n      \"created_at\": \"2015-03-02T11:08:01.632Z\",\n      \"product_url\": \"http://www.yotpo.com\",\n      \"image_url\": \"https://www.yotpo.com/wp-content/uploads/2015/11/Yotpo-Logo.png\"\n    }\n  ]\n}"
                  }
                }
              }
            },
            "headers": {
              "ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-remaining": {
                "description": "The number of requests remaining in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-reset": {
                "description": "The time (in seconds) until the rate limit resets",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-limit-minute": {
                "description": "The maximum number of requests allowed per minute",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-remaining-minute": {
                "description": "The number of requests remaining in the current minute",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "html",
              "code": "GET https://api.yotpo.com/apps/YOUR_STORE_ID/top_reviews"
            }
          ],
          "samples-languages": [
            "html"
          ]
        },
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```

# Sibling pages

* [About reviews (storefront)](https://docs.yotpo.com/reference/about-storefront-reviews.md)
* [Retrieve the reviews payload in HTML](https://docs.yotpo.com/reference/retrieve-the-reviews-payload-in-html.md)
* [Upvote or downvote reviews](https://docs.yotpo.com/reference/vote-on-reviews.md)
* [Top mentioned topics](https://docs.yotpo.com/reference/top-mentioned-topics.md)
* [Retrieve LLM schema HTML for a product](https://docs.yotpo.com/reference/retrieve-llm-schema.md)
* [Retrieve star distribution for a product](https://docs.yotpo.com/reference/storefront-star-distribution.md)