---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Top Reviews

This endpoint automatically retrieves the top reviews from your Yotpo reviews based on the star rating.

> 🚧 IMPORTANT
>
> This endpoint automatically retrieves the top reviews from your Yotpo reviews based on the star rating. This endpoint is recommended as a fallback to the best reviews endpoint in languages other than English

## Top Reviews - Response Attributes

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Attributes
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `image_url`
      </td>

      <td>
        The product image URL
      </td>
    </tr>

    <tr>
      <td>
        `score`
      </td>

      <td>
        The star-rating review score
      </td>
    </tr>

    <tr>
      <td>
        `title`
      </td>

      <td>
        The textual title of the review
      </td>
    </tr>

    <tr>
      <td>
        `content`
      </td>

      <td>
        The textual review content
      </td>
    </tr>

    <tr>
      <td>
        `product_url`
      </td>

      <td>
        The URL of the product page
      </td>
    </tr>

    <tr>
      <td>
        `created_at`
      </td>

      <td>
        The date at which the review was created\
        e.g. *2012-11-29T12:49:19.000Z*
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/v2/{account_id}/top_reviews": {
      "get": {
        "summary": "Top Reviews",
        "description": "This endpoint automatically retrieves the top reviews from your Yotpo reviews based on the star rating.",
        "operationId": "top-reviews",
        "parameters": [
          {
            "name": "external_product_id",
            "in": "query",
            "description": "The product ID you want to retrieve data for. Unless you indicate a product reviews this endpoint would fetch site reviews",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": {\n        \"code\": 200,\n        \"message\": \"ok\"\n    },\n    \"pagination\": null,\n    \"top_reviews\": {\n        \"reviews\": [\n            {\n                \"image_url\": \"\",\n                \"score\": 5,\n                \"title\": \"J'adore\",\n                \"content\": \"Belle et confortable. On peut pas faire mieux.\",\n                \"product_url\": \"https://yotpo.com/go/1usvvgxJ\",\n                \"created_at\": \"2012-12-12T16:08:57.000Z\"\n            },\n            {\n                \"image_url\": \"\",\n                \"score\": 5,\n                \"title\": \"Best sandal ever!\",\n                \"content\": \"Best sandal ever!\",\n                \"product_url\": \"https://yotpo.com/go/1usvvgxJ\",\n                \"created_at\": \"2012-11-29T12:49:19.000Z\"\n            },\n            {\n                \"image_url\": \"\",\n                \"score\": 5,\n                \"title\": \"site Rev\",\n                \"content\": \"site Rev\",\n                \"product_url\": \"https://yotpo.com/go/ofE6Xan0\",\n                \"created_at\": \"2013-10-27T08:42:09.000Z\"\n            }\n        ]\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "message": {
                          "type": "string",
                          "example": "ok"
                        }
                      }
                    },
                    "pagination": {},
                    "top_reviews": {
                      "type": "object",
                      "properties": {
                        "reviews": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "image_url": {
                                "type": "string",
                                "example": ""
                              },
                              "score": {
                                "type": "integer",
                                "example": 5,
                                "default": 0
                              },
                              "title": {
                                "type": "string",
                                "example": "J'adore"
                              },
                              "content": {
                                "type": "string",
                                "example": "Belle et confortable. On peut pas faire mieux."
                              },
                              "product_url": {
                                "type": "string",
                                "example": "https://yotpo.com/go/1usvvgxJ"
                              },
                              "created_at": {
                                "type": "string",
                                "example": "2012-12-12T16:08:57.000Z"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Introduction to Reviews](https://docs.yotpo.com/reference/introduction-to-reviews.md)
* [All Reviews](https://docs.yotpo.com/reference/all-reviews.md)
* [Product Reviews](https://docs.yotpo.com/reference/product-review.md)
* [Product Star Rating](https://docs.yotpo.com/reference/bottomline.md)
* [Review by Review ID](https://docs.yotpo.com/reference/reviews-id.md)
* [Best Reviews](https://docs.yotpo.com/reference/best-reviews.md)
* [Best Sentences](https://docs.yotpo.com/reference/best-sentences.md)
* [Publish/Unpublish Reviews](https://docs.yotpo.com/reference/publishunpublish-reviews.md)