Review stats
rivioo_review_statsExact rating distribution for one app over a window: total reviews, average rating, reviews per star and developer replies, also by app version (newest first, then other and unknown) and by week (weeks start Monday, UTC). Counts are the reviews Rivioo holds in the window, not users or every review ever written. App Store results are per country. Google Play results are per language, from all countries: the country picks the languages (English plus its main language). Use it for ratings, versions and weekly trends, and before reading reviews to see when ratings changed. Free; returns no review text. Collects newer reviews automatically when held reviews are older than max_age_hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window of this many days ending now. Defaults to 30. Use posted_from instead for exact dates. | |
| store | Yes | 'ios' for the App Store or 'android' for Google Play. | |
| app_id | Yes | Numeric App Store id (such as 324684580) or Google Play package name (such as com.spotify.music), from rivioo_my_apps or rivioo_find_app. | |
| country | No | Two-letter storefront country such as us or gb. For the App Store it picks the country's reviews; for Google Play it picks the review languages (English plus the country's main language), read from all countries. Optional for saved apps, which use the user's default country. | |
| app_version | No | Only reviews of this exact app version. | |
| posted_from | No | Window start, inclusive, in UTC unless an offset is given. Use instead of days. | |
| max_age_hours | No | Reuse reviews collected within this many hours; older data is collected again automatically (newest reviews only). Default 24. | |
| posted_before | No | Window end, exclusive. Defaults to now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| notes | Yes | Short facts about this result: what the reviews cover, whether the sample is small, what the counts mean and how reviews are identified. | |
| quota | Yes | ||
| cached | Yes | true when the results come from reviews collected before this call. | |
| status | Yes | fresh: collected during this call. cached: held reviews within max_age_hours. collecting: a collection is still running and results are partial. stale: older than max_age_hours. collection_failed: the latest collection failed. | |
| totals | Yes | ||
| window | Yes | ||
| by_week | Yes | ||
| coverage | Yes | ||
| warnings | Yes | ||
| collection | Yes | ||
| collected_at | Yes | When the held reviews were last collected, UTC. | |
| max_age_hours | Yes | ||
| by_app_version | Yes |