---
title: "Price history for an item on any market (generic by ident)"
method: GET
path: "/market/{market}/history"
tags: ["Market Prices"]
---

# Price history for an item on any market (generic by ident)

`GET /market/{market}/history`

## Request

- Base URL: `https://www.steamwebapi.com`
- URL: `https://www.steamwebapi.com/market/{market}/history`
- Auth: API key in query parameter `key`

Baseurl: https://www.steamwebapi.com/market/{market}/history?key=YOUR_API_KEY&market_hash_name=ITEM

    💬 **What this endpoint does:**
    - Returns the price history for a specific CS2 item on the chosen market.
    - Replace `{market}` with the market ident (e.g. `buff`, `csfloat`, `youpin`, `skinport`).

    🛠️ **Parameters:**
    - **`key`**: Your API key (required).
    - **`market_hash_name`**: The item to get history for (required).
    - **`start_date`** / **`end_date`**: Optional date range (YYYY-MM-DD).
    - **`currency`**: Convert prices (optional, default USD).

    ⚡ **Important:**
    - History is stored daily.
    - Uses 2 credits per request.

## Path parameters

- `market` string, required

## Response `200`

Price history returned successfully.

## Other responses

- `400`: Invalid date format or missing market_hash_name.
- `402`: Rate limit exceeded.
- `404`: Market unknown, item not found, or no history.

---

[API](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation.md) · [All operations](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/revisions/f9a4109cbda6?raw)
