Start a new topic

API query : How to find average rating of a product using review API?

I was going through Reviews API docs and did not find how to find average rating of a product. Is there a workaround for this or is this still under dev?

1 Comment

To get the average rating for all your products you can make a request to the following endpoint https://judge.me/api/reviews/aggregate_feed


Our API doesn't have an endpoint which will return the average rating for a specific product. But you could make a request to our cache server for the preview badge which will return the average rating within the html. Instructions can be found here. I've also attached an example request to the cache server you may use as a reference.


The params you need to include in the request are included in the api documentation https://judge.me/api/docs/v1, the required params are typically api_token (can be found https://judge.me/settings?jump_to=judge.me+api) & shop_domain.

Login or Signup to post a comment