Get aggregate rating statistics for a product, store, or all products.Authentication: HMAC signature OR OAuth2 Bearer Token
Scope: read_reviews
Request
Add parameter in header Public-Token
Example:Public-Token: ********************
or
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Request Code Samples
curl --location 'https://rapi.trustoo.io/api/v1/openapi/get_rating?product_id=123455&product_handle=undefined&is_store_rating=1&is_all_products_rating=undefined&is_all_rating=undefined' \
--header 'Sign;' \
--header 'Timestamp;' \
--header 'Public-Token: <api-key>'
Responses
{
"code": 0,
"message": "string",
"time": 0,
"request_id": "string",
"data": {
"rating_value": "string",
"review_count": 0,
"star1_count": 0,
"star2_count": 0,
"star3_count": 0,
"star4_count": 0,
"star5_count": 0
}
}
Modified at 2026-06-24 04:25:21