---
title: "Get the review up/down histogram for a Steam app"
method: GET
path: "/steam/reviews/histogram"
tags: ["Steam"]
---

# Get the review up/down histogram for a Steam app

`GET /steam/reviews/histogram`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/steam/reviews/histogram`
- Auth: API key in header `x-api-key`

Returns the positive/negative recommendation counts over time (the store review graph): weekly/monthly rollups plus recent daily buckets.

## Query parameters

- `appid` string, required
- `language` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SteamHistogramResponseDoc
  - `code` integer
  - `data` SteamReviewsHistogramResponse
    - `appid` string: Steam app id the histogram belongs to.
    - `count_all_reviews` integer: Total number of reviews counted for the histogram.
    - `end_date` integer: End of the period the histogram covers, in Unix seconds.
    - `recent` SteamHistogramBucket[]: Daily buckets of recommendations for the most recent period.
      - `date` integer: Start of the bucket, in Unix seconds.
      - `recommendations_down` integer: Number of negative recommendations in the bucket.
      - `recommendations_up` integer: Number of positive recommendations in the bucket.
    - `rollup_type` string: Size of each bucket in `rollups`, such as `week`.
    - `rollups` SteamHistogramBucket[]: Weekly or monthly buckets of recommendations covering the whole period.
      - `date` integer: Start of the bucket, in Unix seconds.
      - `recommendations_down` integer: Number of negative recommendations in the bucket.
      - `recommendations_up` integer: Number of positive recommendations in the bucket.
    - `source_url` string: URL the data was read from.
    - `start_date` integer: Start of the period the histogram covers, in Unix seconds.
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
