Skip to main content

GitHub Release GitHub Issues GitHub Pull Requests License

PyPI Version Python Versions

Quality Gate Status Security Rating Reliability Rating Maintainability Rating Vulnerabilities Technical Debt


Logo

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

HTML Export Screenshot

(back to top)

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:

  1. Clone the repo
    git clone https://github.com/fabieu/steam-market-history.git
    
  2. Install poetry (if not already installed)
    pip install poetry
    
  3. Install dependencies and start virtual environment
    poetry install && poetry shell
    

(back to top)

Usage

Currently, the following commands are supported:

export

Fetch your Steam market history and export it to one or more file formats.

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

(back to top)

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

(back to top)

Disclaimer:

The Steam Market History Exported is a community project and is not affiliated with Valve or Steam.

(back to top)

Metadata

Release files for steam-market-history 3.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steam-market-history 3.4.1
File Size Uploaded Provenance Actions
steam_market_history-3.4.1.tar.gz 13.1 kB With provenance Details for steam_market_history-3.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for steam-market-history 3.4.1
File Interpreter ABI Platform Actions
steam_market_history-3.4.1-py3-none-any.whl Python 3 none any Details for steam_market_history-3.4.1-py3-none-any.whl

Total release size: 27.1 kB

Release files / steam_market_history-3.4.1.tar.gz

Download URL steam_market_history-3.4.1.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b7460b3751f9112d88974d252a3a04489c3edb2df9ae79708c511f829dbd770f
BLAKE2b-256 checksum
How to use checksums
592cf254337fffc63a6545b3143d638744bc53d6f7b1f223b5f9c299a90240fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / steam_market_history-3.4.1-py3-none-any.whl

Download URL steam_market_history-3.4.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
734b72a726106b270fcf74c47c3363aa9294769da4ae53b009126e4053c37f8d
BLAKE2b-256 checksum
How to use checksums
064a26ef2c7751057be97d66146b4161bcf48bf63f1e84eba47fdddbd5c6e2cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Security for steam-market-history 3.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for steam_market_history-3.4.1.tar.gz

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 Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page