Skip to Content
Reviews APIPOSTReview summary

Review summary

POST/api/v2/reviews/summary

Returns headline stats for your firm’s published reviews: totals, averages, satisfaction and recommendation rates, and the star distribution. Narrow it to one professional, or to reviews from the last few days.

Body parameters

The body is optional. Send none to get stats for your whole firm across all time.

FieldTypeRequiredDescription
daysnumberOptionalOnly count reviews submitted in the last this many days. Omit for all time.
professionalRegulatorIdstringOptionalThe regulator ID of a professional in your firm. Returns their stats instead of the firm’s.

Request

POST /api/v2/reviews/summary
curl --location 'https://www.reviewsolicitors.co.uk/api/v2/reviews/summary' \ --header 'Authorization: Bearer {access_token}' \ --header 'Content-Type: application/json' \ --data '{ "days": 90 }'

Response

200 OK
{ "totalReviews": 128, "averageRating": 4.82, "satisfiedPercentage": 97.66, "recommendedPercentage": 96.09, "valueForMoneyPercentage": 94.53, "stats": { "initialImpressions": 4.85, "legalKnowledge": 4.9, "valueForMoney": 4.73, "approachability": 4.88, "documentationAccuracy": 4.81, "communication": 4.79 }, "reviewCounts": { "oneStars": 1, "twoStars": 0, "threeStars": 2, "fourStars": 15, "fiveStars": 110 } }

Response fields

Only published reviews are counted.

FieldTypeDescription
totalReviewsnumberHow many published reviews are counted.
averageRatingnumberThe average star rating, from 1 to 5.
satisfiedPercentagenumberThe share of reviewers who answered yes to ‘Were you satisfied with our service?’, from 0 to 100.
recommendedPercentagenumberThe share of reviewers who would recommend the firm, from 0 to 100.
valueForMoneyPercentagenumberThe average value for money score, as a percentage from 0 to 100.
statsobjectThe average score for each rating category, from 1 to 5. Where a reviewer skipped a category, their overall rating is used.
reviewCountsobjectHow many reviews gave each star rating: oneStars to fiveStars.

All values are rounded to two decimal places.

Errors

CodeCause
404No professional with that professionalRegulatorId belongs to your firm.