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

# Search the steam-prices dataset

`GET /datasets/steam-prices/search`

## Request

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

Searches the daily price time series for priced games (one document per appid × day; integer cents). Pair `app_id` with `sort=date_desc` for a game's price history, or pass `date` for one day's snapshot. Sort enum: `date_desc` (default), `date_asc`, `price_asc`, `price_desc`, `discount_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' | 'price_asc' | 'price_desc' | 'discount_desc'
- `page` integer
- `page_size` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsSteamPricesSearchResponseDoc
  - `code` integer
  - `data` DatasetsSteamPricesSearchResponse
    - `dataset` string
    - `items` EsSteamPriceRecord[]
      - `appid` integer
      - `crawled_at` string
      - `currency` string
      - `discount_pct` integer
      - `initial_price_cents` integer
      - `is_free` boolean
      - `name` string
      - `price_cents` 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/028417aa35bb?raw)
