Rezolve Ai
API ReferenceRatingsProductid

Get resolved ratings for a product

GET
/ratings/{productId}

The resolved view of a product's customer ratings. When several sources hold ratings for the same product, the most trusted and most recent one wins, and the winning source is reported. The average and the review text can come from different sources, which is normal: a store platform often supplies the average while a page read supplies the text. Requires the ratings:read scope.

Authorization

AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

In: header

Path Parameters

productId*string

Query Parameters

projectId?string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/ratings/string"
{  "data": {    "productId": "string",    "ratingValue": 0,    "ratingCount": 0,    "scaleMin": 0,    "scaleMax": 0,    "starRating": 0,    "distribution": {      "property1": 0,      "property2": 0    },    "aggregateSource": "client_feed",    "quoteSource": "client_feed",    "collectedAt": "2019-08-24T14:15:22Z",    "reviews": [      {        "externalId": "string",        "rating": 0,        "title": "string",        "body": "string",        "authorDisplayName": "Sarah M.",        "language": "string",        "publishedAt": "2019-08-24T14:15:22Z",        "verifiedPurchase": true,        "helpfulCount": 0,        "sourceUrl": "http://example.com"      }    ]  }}
{  "error": {    "code": "INSUFFICIENT_CREDITS",    "message": "Not enough credits for this request.",    "details": null  }}
{  "error": {    "code": "INSUFFICIENT_CREDITS",    "message": "Not enough credits for this request.",    "details": null  }}
{  "error": {    "code": "INSUFFICIENT_CREDITS",    "message": "Not enough credits for this request.",    "details": null  }}