# Steam Game Reviews API Documentation

Retrieve game reviews from the Steam store with filters for language, review type, purchase type, date range and sort, plus cursor-based pagination and the review summary. A valid empty result (no reviews) is a successful, billable response.

- **Documentation:** [https://scrappa.co/docs/steam-api/steam_reviews](https://scrappa.co/docs/steam-api/steam_reviews)
- **API group:** Steam API
- **Endpoint:** `GET https://scrappa.co/api/steam/reviews`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `appid` | integer | Yes | Numeric Steam app ID. Example: 730 (Counter-Strike 2). |
| `language` | string | No | Steam language code or all. Defaults to all. |
| `num_per_page` | integer | No | Reviews per page (1-100). Defaults to 10. |
| `purchase_type` | string | No | all, steam or non_steam. Defaults to all. |
| `filter` | string | No | all, recent or updated. Defaults to all. |
| `review_type` | string | No | all, positive or negative. Defaults to all. |
| `day_range` | integer | No | Limit reviews to the last N days (0 = all time). Defaults to 0. |
| `cursor` | string | No | Pagination cursor from a previous response. Defaults to * (first page). |
| `include_histogram` | boolean | No | Include the review histogram. Defaults to false. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/steam/reviews?appid=730&language=all&num_per_page=10&purchase_type=all&filter=all&day_range=30"
```

## Example response

```json
{
    "success": true,
    "data": {
        "appid": 730,
        "summary": {
            "page_count": 10,
            "review_score": 8,
            "review_score_desc": "Very Positive",
            "total_positive": 8511710,
            "total_negative": 1408482,
            "total_reviews": 9920192
        },
        "reviews": [
            {
                "recommendationid": 235370094,
                "author": {
                    "steamid": "76561198000000000",
                    "personaname": "Reviewer"
                },
                "language": "english",
                "review": "Great game",
                "timestamp_created": "2023-07-22T04:26:40Z",
                "voted_up": true,
                "votes_up": 1234,
                "weighted_vote_score": 0.95,
                "comment_count": 42
            }
        ],
        "cursor": "AoIFQFWjUgAAAAB5+dmCBw==",
        "has_more": true
    },
    "meta": {
        "endpoint_family": "reviews",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
