π Price History of an Item with Daily Prices from Steam or Real Market Data
Baseurl: https://www.steamwebapi.com/steam/api/history?key=YOUR_API_KEY&market_hash_name=ITEM_NAME
π¬ **What this endpoint does:**
- Retrieves the price history of an item based on specified parameters.
- ποΈ Provides daily prices from Steam or real market prices if `markets` is passed as origin parameter.
π οΈ **Parameters:**
- **`key`**: Your API key located in the Dashboard (top-right corner).
- **`market_hash_name`**: The `market_hash_name` of the item (required).
- **`origin`**: Specify the data source. Default is `steamwebapi`. Use `markets` for real market price history or `direct` for direct Steam API access.
- **`interval`**: Interval for data retrieval in days. Default: `10`.
- **`start_date`**: Start date for data retrieval (format: YYYY-MM-DD).
- **`end_date`**: End date for data retrieval (format: YYYY-MM-DD).
β‘ **Important:**
- Use the `interval` parameter for optimized data queries.
- Specifying `markets` in `origin` results in slower responses but provides detailed real market data.
- Using `direct` origin provides direct access to Steam API data.
Request
- Base URL: https://www.steamwebapi.com
- URL: https://www.steamwebapi.com/steam/api/history
- Auth: API key in query parameter key
Query parameters
Your API key for authentication. Retrieve it from your Dashboard (top-right corner).
The market_hash_name of the item. Example: "AK-47 | Redline (Field-Tested)".
Specify the data source. Options: steamwebapi (default), markets for real market price history, or direct for direct Steam API access.
Specify the interval for data retrieval in days. Default is 10.
Specify the start date for data retrieval. Format: YYYY-MM-DD.
Specify the end date for data retrieval. Format: YYYY-MM-DD.
If you run in production, please set this to 1. Default is 0. This is in future required, and if not set, you will get a warning.
Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, mysql_with_table, pgsql, pgsql_with_table, mongo. Example: ?format=csv
Pretty-print JSON (set to 1 for json/gzip/zip formats). Example: ?format=json&pretty=1
Response
Request was successful, and price history is returned.
Changes
No recorded changes to this operation across all 1 revision of this API.