steam-market-history
An easy-to-use CLI to export your steam market history to various formats
Report Bug
·
Request Feature
About The Project
steam-market-history is a command line tool written in Python which allows you to extract your entire Steam Market History with all transaction (sales/purchases) in a CSV or HTML file.
Key features
- Extract your entire Steam Market History with all transactions to a HTML, CSV or JSON file
- Overview of all transactions on a user-friendly webpage with searchable and filterable results
Demo
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
- Python >= 3.10
Installation
Pip (recommended):
pipx install steam-market-history
Manual:
- Clone the repo
git clone https://github.com/fabieu/steam-market-history.git
- Install poetry (if not already installed)
pip install poetry
- Install dependencies and start virtual environment
poetry install && poetry shell
Usage
Currently, the following commands are supported:
export
Fetch your Steam market history and export it to one or more file formats.
[!NOTE] On the first run you will be prompted for your Steam credentials. After a successful login the session is cached locally so subsequent runs do not require you to log in again. All processing is done locally on your machine — credentials are never stored in plain text.
Options:
--csv- Export market history as a CSV file--html- Export market history as an interactive HTML file--json- Export market history as a JSON file--path- Directory to write exported files into (default:./export)--cache- Reuse previously cached transactions instead of fetching from Steam (default: disabled)--open- Open the exported files in the default program (default: disabled)
Fetched transactions are always written to steam_market_transactions.json in the per-user cache directory
(%LOCALAPPDATA%\steam-market-history\Cache on Windows, ~/.cache/steam-market-history on Linux,
~/Library/Caches/steam-market-history on macOS). Pass --cache to reuse that copy instead of fetching from Steam
again; run without --cache to fetch fresh data and refresh the cached copy.
Exported filenames include a unique ID (e.g. steam-market-history-3f2e1a....csv) to avoid overwriting previous
exports.
Examples:
Export your steam market history to a HTML file:
steam-market-history export --html
Export to CSV and JSON in a specific directory:
steam-market-history export --csv --json --path /tmp/steam-market-history
Export using a cached copy of your transaction history:
steam-market-history export --html --cache
Export to HTML and open it in your browser:
steam-market-history export --html --open
version
Display package version, author, and license information.
steam-market-history version
Built With
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
Disclaimer:
The Steam Market History Exported is a community project and is not affiliated with Valve or Steam.
Metadata
Release files for steam-market-history 3.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| steam_market_history-3.4.0.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steam_market_history-3.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.1 kB
Release files / steam_market_history-3.4.0.tar.gz
| Download URL | steam_market_history-3.4.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e09b0377894409ddd497b29153cbe008f656e4bfb82350531481aaeebbdb8062
|
|
BLAKE2b-256 checksum How to use checksums |
1928488814e92b912c5be731099585e3d7f6b1f0ed422d26a5b92d84f9778a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / steam_market_history-3.4.0-py3-none-any.whl
| Download URL | steam_market_history-3.4.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55f8d3ce0948c70b73f2ed1860ea9ec6f520857e1dfff964bda83fca6461bbbf
|
|
BLAKE2b-256 checksum How to use checksums |
591c222306c5646d8c8911065703aaabfb631977738fe167d47e2bee8de0380d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency log