Analytics

Reviews: stars over a window, per review page

The reviews a keyword collects (App Store, Google Play, Trustpilot, Google Maps): count, average stars, distribution, replies and open 1-2 star reviews, for the workspace and per review page with a series of average stars per bucket, plus the tags the unhappy reviews carry. A review matched by two keywords counts once. The window is range (7d, 30d, 90d, 365d, ending today) or from and to, cut into days in timezone (UTC by default); keywordIds and platforms narrow it; compare=true adds the period of the same length right before it. Time axis is the publish date.

get/v1/analytics/reviews

Request

  • Base URL: https://api.mentio.dev
  • URL: https://api.mentio.dev/v1/analytics/reviews
  • Auth: HTTP bearer

Query parameters

range'7d' | '30d' | '90d' | '365d'

Preset window ending today. Ignored when from or to is given. Default 30d.

fromstring

First day, YYYY-MM-DD, inclusive, in timezone.

tostring

Last day, YYYY-MM-DD, inclusive, in timezone. Default today.

keywordIdsstring[] nullable

Only these keyword ids. Repeatable, or comma-separated; omit for every keyword.

platformsstring[]

Only these platforms. Repeatable, or comma-separated; omit for every platform.

compareboolean

true adds the period of the same length right before the window as previous.

timezonestring

IANA zone the days are cut in (Europe/Madrid). Default UTC. One offset, the zone's at the end of the window, applies to the whole window.

bucket'day' | 'week'

Series bucket: day (default up to 90 days) or week.

Response

The report, with previous when comparing

Changes

No recorded changes to this operation across all 1 revision of this API.