---
updatedAt: 2026-11-03T16:05:35.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Retrieve bottom line (total reviews and average score) for a specific product

Returns the total number of reviews and the average star rating for one product. Public: no access token needed. Unknown product IDs return `404`.

> 📘 Use Yotpo API V3 instead
>
> New integrations should use [Retrieve product rating bottomline](https://docs.yotpo.com/reference/storefront-product-ratings). It needs no access token. This V1 endpoint still works for existing integrations.

> 👍 How to use this endpoint
>
> * Requests for this endpoint are limited to 5,000 requests/minute, per app key.
> * Data is retrieved with a delay of 1 hour.
> * For example responses, click the relevant status code on the right.

# 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": {
    "/products/{store_id}/{product_id}/bottomline": {
      "get": {
        "summary": "Retrieve bottom line (total reviews and average score) for a specific product",
        "description": "Returns the total number of reviews and the average star rating for one product. Public: no access token needed. Unknown product IDs return `404`.",
        "operationId": "retrieve-bottom-line-total-reviews-and-average-score-for-specific-product",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "product_id",
            "in": "path",
            "description": "The ID of the product on your site",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "status": {
                        "code": 200,
                        "message": "OK"
                      },
                      "response": {
                        "bottomline": {
                          "average_score": 4.7,
                          "total_reviews": 346
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0,
                          "description": "HTTP status code."
                        },
                        "message": {
                          "type": "string",
                          "example": "OK",
                          "description": "Status message, for example `OK`."
                        }
                      },
                      "description": "Request status."
                    },
                    "response": {
                      "type": "object",
                      "properties": {
                        "bottomline": {
                          "type": "object",
                          "properties": {
                            "average_score": {
                              "type": "number",
                              "example": 4.7,
                              "default": 0,
                              "description": "Average star rating, from 0 to 5, rounded to one decimal."
                            },
                            "total_reviews": {
                              "type": "integer",
                              "example": 346,
                              "default": 0,
                              "description": "Number of published reviews."
                            }
                          },
                          "description": "Rating summary for the product."
                        }
                      },
                      "description": "Response payload."
                    }
                  }
                }
              }
            },
            "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"
                }
              }
            }
          },
          "404": {
            "description": "Not Found - Product ID or Store ID not found",
            "content": {
              "application/json": {
                "examples": {
                  "Product Not Found": {
                    "value": {
                      "status": {
                        "message": "ActiveRecord::RecordNotFound",
                        "code": 404,
                        "error_type": "Exceptions::RecordNotFound",
                        "uuid": "b944305277768e1a6967fa4cbbbbc339",
                        "s": 4
                      }
                    }
                  },
                  "Store Not Found": {
                    "value": {
                      "status": {
                        "message": "Couldn't find Account",
                        "code": 404,
                        "error_type": "Exceptions::RecordNotFound",
                        "uuid": "1418b3f966dc13ef5da4d46fbed2da66",
                        "s": 4
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "description": "Error message: 'ActiveRecord::RecordNotFound' when product ID doesn't exist, 'Couldn't find Account' when store ID is incorrect"
                        },
                        "code": {
                          "type": "integer",
                          "example": 404,
                          "description": "HTTP status code."
                        },
                        "error_type": {
                          "type": "string",
                          "example": "Exceptions::RecordNotFound",
                          "description": "Error class, for example `Exceptions::InvalidParams`."
                        },
                        "uuid": {
                          "type": "string",
                          "description": "Unique error identifier"
                        },
                        "s": {
                          "type": "integer",
                          "description": "Status code"
                        }
                      },
                      "required": [
                        "message",
                        "code",
                        "error_type"
                      ],
                      "description": "Error details."
                    }
                  },
                  "required": [
                    "status"
                  ]
                }
              }
            },
            "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,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```