Datasets API endpoint
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).
/datasets/steam-playercounts/searchSearches the daily concurrent-player time series for tracked games, stored in a search index. One document per app × day (appid × snapshot_date), so re-crawls accumulate a player-count history. Pair app_id with sort=date_desc for a single game's player-count trend, or pass date for one day's cross-game snapshot. Returns structured player-count records without triggering live scraping (for a live reading use /steam/players).
Dataset id enum:
steam-playercountsQuery parameters:
app_id: optional exact Steam app id filter. Pair with sort=date_desc for an app's player-count history.date: optional snapshot date filter, yyyy-MM-dd.sort: optional sort enum: date_desc (default), date_asc, players_desc.page: optional page number, defaults to 1.page_size: optional page size, defaults to 20 and maxes at 100.Each record carries appid, name, snapshot_date, player_count (concurrent players for that day), and crawled_at.
Response behavior:
sort=date_desc).10000; page * page_size must not exceed 10000.sort values return the standard invalid params envelope.items list rather than an error.1 credit per record returned, minimum 2. A search that returns 20 records costs 20 credits, a full page of 100 costs 100, and an empty or one-record result costs 2. You are charged for what comes back, not for the page_size you ask for, but your balance must cover the requested page_size for the call to be accepted. The response header x-credit-cost shows what a call was charged.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| appid | 20 | |
| name | 20 | |
| snapshot_date | 20 | 2026-10-13 |
| player_count | 20 | 0 to 3,865, median 37 |
| crawled_at | 20 | 2026-10-13 |
| schema_version | 20 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| app_id | string | No | Exact Steam app id filter | ||
| date | string | No | Snapshot date filter yyyy-MM-dd | ||
| sort | string | No | Sort enum: date_desc, date_asc, players_desc Allowed values: date_desc, date_asc, players_desc. | ||
| page | integer | No | 1 | Page number, defaults to 1 | |
| page_size | integer | No | 20 and maxes at 100 | Page size, defaults to 20 and maxes at 100; page * page_size must be <= 10000 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/datasets/steam-playercounts/search?sort=date_desc&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"dataset": "steam-playercounts",
"items": [
{
"appid": 730,
"name": "Counter-Strike 2",
"snapshot_date": "2026-07-11",
"player_count": 899091,
"crawled_at": "2026-07-11T04:20:11Z"
}
],
"page": 1,
"page_size": 20,
"total": 365,
"sort": "date_desc"
}
}Request schema
No body schema
Response schema
#/definitions/datasets.steamPlayerCountsSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | datasets.SteamPlayerCountsSearchResponse | No | ||||
| data.dataset | string | No | ||||
| data.items | array | No | ||||
| data.items[].appid | integer | No | ||||
| data.items[].crawled_at | string | No | ||||
| data.items[].name | string | No | ||||
| data.items[].player_count | integer | No | ||||
| data.items[].schema_version | integer | No | ||||
| data.items[].snapshot_date | string | No | ||||
| data.page | integer | No | ||||
| data.page_size | integer | No | ||||
| data.sort | string | No | ||||
| data.total | integer | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/datasets/steam-playercounts/search?sort=date_desc&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"