---
title: "Search steam-playercounts dataset"
method: GET
path: "/datasets/steam-playercounts/search"
tags: ["Datasets"]
---

# Search steam-playercounts dataset

`GET /datasets/steam-playercounts/search`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/datasets/steam-playercounts/search`
- Auth: API key in header `x-api-key`

Searches the daily concurrent-player time series for tracked games (one document per appid × day). Pair `app_id` with `sort=date_desc` for a game's player-count history, or pass `date` for one day's snapshot. Sort enum: `date_desc` (default), `date_asc`, `players_desc`. Billing: this search costs 1 credit per record returned, with a minimum of 2 (an empty result costs 2, a full page of 100 costs 100).

## Query parameters

- `app_id` string
- `date` string
- `sort` 'date_desc' | 'date_asc' | 'players_desc'
- `page` integer
- `page_size` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsSteamPlayerCountsSearchResponseDoc
  - `code` integer
  - `data` DatasetsSteamPlayerCountsSearchResponse
    - `dataset` string
    - `items` EsSteamPlayerCountRecord[]
      - `appid` integer
      - `crawled_at` string
      - `name` string
      - `player_count` integer
      - `schema_version` integer
      - `snapshot_date` string
    - `page` integer
    - `page_size` integer
    - `sort` string
    - `total` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[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/afac9b012a27?raw)
