Overview
Hridaya supports four distinct Steam Community Market API endpoints. Each serves a different purpose and returns different data structures.Quick Reference
| Endpoint | Auth Required | Update Frequency | Use Case |
|---|---|---|---|
priceoverview | No | Seconds | Current prices and 24h volume |
itemordershistogram | No | Seconds | Full order book depth |
itemordersactivity | No | Seconds | Real-time trade feed |
pricehistory | Yes | Hourly | Historical trend analysis |
priceoverview
Provides current market snapshot: lowest listing price, median sale price, and 24-hour trading volume.When to Use
- Monitor current market prices
- Track price movements over time
- Compare items by volume/liquidity
- Build price alert systems
- Simple portfolio valuation
Configuration
Not required for this endpoint
Response Data
Returned fields (fromdataClasses.py:PriceOverviewData):
Whether the API call succeeded
Current lowest listing price (formatted with currency symbol)Example:
"$12.34", "€10.50"Recent median sale price (formatted with currency symbol)Example:
"$12.00"Number of sales in the last 24 hours (formatted with commas)Example:
"1,234", "56"Database Schema
Stored in tableprice_overview:
| Column | Type | Description |
|---|---|---|
id | INTEGER | Auto-incrementing row ID |
timestamp | DATETIME | When this snapshot was taken (UTC) |
appid | INTEGER | Steam app ID |
market_hash_name | TEXT | Item name |
item_nameid | INTEGER | Steam’s internal item ID (if available) |
currency | TEXT | Currency code |
country | TEXT | Country code |
language | TEXT | Language |
lowest_price | REAL | Cheapest current listing (numeric) |
median_price | REAL | Median sale price (numeric) |
volume | INTEGER | Sales in last 24h |
Example Query
Get the latest price for an item:API Endpoint Details
URL:https://steamcommunity.com/market/priceoverview/
Method: GET
Query Parameters (from steamAPIclient.py:fetch_price_overview):
appid- Application IDmarket_hash_name- Item name (URL-encoded)currency- Currency codecountry- Country codelanguage- Language
itemordershistogram
Provides complete order book with all buy orders (bids) and sell orders (asks) at each price level. Think “market depth chart”.When to Use
- Analyze market liquidity
- Calculate bid-ask spread
- Find support/resistance levels
- Detect market manipulation (spoofed orders)
- Build order book visualizations
- Algorithmic trading strategies
Configuration
Required for this endpoint. See Config Reference for how to find it.
Response Data
Returned fields (fromdataClasses.py:OrdersHistogramData):
Whether the API call succeeded (Steam returns
1 for true)Best bid price (highest price buyers are willing to pay)
Best ask price (lowest price sellers are willing to accept)
Total number of buy orders across all price levels
Total number of sell orders across all price levels
Array of buy order entries. Each entry has:
price(string) - Price levelquantity(string) - Number of orders at this price
[{"price": "12.50", "quantity": "15"}, {"price": "12.45", "quantity": "8"}]Array of sell order entries (same structure as buy_order_table)
Graph visualization data for buy orders (cumulative depth)
Graph visualization data for sell orders (cumulative depth)
Database Schema
Stored in tableorders_histogram:
| Column | Type | Description |
|---|---|---|
id | INTEGER | Auto-incrementing row ID |
timestamp | DATETIME | When this snapshot was taken (UTC) |
appid | INTEGER | Steam app ID |
market_hash_name | TEXT | Item name |
item_nameid | INTEGER | Steam’s internal item ID |
currency | TEXT | Currency code |
country | TEXT | Country code |
language | TEXT | Language |
buy_order_table | TEXT | JSON array of buy orders |
sell_order_table | TEXT | JSON array of sell orders |
buy_order_graph | TEXT | JSON graph data |
sell_order_graph | TEXT | JSON graph data |
buy_order_count | INTEGER | Total buy orders |
sell_order_count | INTEGER | Total sell orders |
highest_buy_order | REAL | Best bid |
lowest_sell_order | REAL | Best ask |
Example Query
Calculate current bid-ask spread:API Endpoint Details
URL:https://steamcommunity.com/market/itemordershistogram
Method: GET
Query Parameters (from steamAPIclient.py:fetch_orders_histogram):
norender- Set to1(returns JSON instead of HTML)appid- Application IDitem_nameid- Numeric item IDcurrency- Currency codecountry- Country codelanguage- Language
itemordersactivity
Provides real-time feed of recent market activity: purchases and new listings as they happen.When to Use
- Monitor trading velocity
- Detect price trends from actual trades
- Track market sentiment (buying vs selling pressure)
- Build activity notifications
- Analyze trading patterns
Configuration
Required for this endpoint. See Config Reference for how to find it.
Response Data
Returned fields (fromdataClasses.py:OrdersActivityData):
Whether the API call succeeded (Steam returns
1 for true)Unix timestamp when Steam generated this response
Array of HTML strings describing recent activityExample:
["+$0.85\n" + " at 16:23:45"]Array of structured activity entries (parsed from HTML). Each entry has:
price(string) - Trade pricecurrency(string) - ISO currency code (“USD”, “EUR”, etc.)action(string) - Activity type (“Purchased”, “Listed”)timestamp(datetime) - When the activity occurredraw_html(string) - Original HTML string
parseActivityHTML_utility.py after fetching.Database Schema
Stored in tableorders_activity:
| Column | Type | Description |
|---|---|---|
id | INTEGER | Auto-incrementing row ID |
timestamp | DATETIME | When this snapshot was taken (UTC) |
appid | INTEGER | Steam app ID |
market_hash_name | TEXT | Item name |
item_nameid | INTEGER | Steam’s internal item ID |
currency | TEXT | Currency code |
country | TEXT | Country code |
language | TEXT | Language |
activity_raw | TEXT | JSON array of raw HTML strings |
parsed_activities | TEXT | JSON array of parsed activities |
activity_count | INTEGER | Number of activities in snapshot |
steam_timestamp | INTEGER | Unix timestamp from Steam |
Example Query
Get recent trades:API Endpoint Details
URL:https://steamcommunity.com/market/itemordersactivity
Method: GET
Query Parameters (from steamAPIclient.py:fetch_orders_activity):
country- Country codelanguage- Languagecurrency- Currency codeitem_nameid- Numeric item IDtwo_factor- Two factor flag (default0)
text/html Content-Type (requires manual parsing)
pricehistory
Provides complete historical price data: hourly aggregated prices and volumes going back years. Like stock OHLC data.When to Use
- Long-term trend analysis
- Volatility calculations
- Seasonal pattern detection
- Backtesting trading strategies
- Portfolio historical valuation
- Market research and reporting
Configuration
Not required for this endpoint
Response Data
Returned fields (fromdataClasses.py:PriceHistoryData):
Whether the API call succeeded
Currency prefix symbol (e.g.,
"$")Currency suffix symbol (e.g.,
"€")Array of price history data points. Each entry is a 3-element array:
[0](string) - Date/time string (e.g.,"Jul 02 2014 01: +0")[1](float) - Median price during this hour[2](string) - Trading volume during this hour
[["Mar 03 2026 14: +0", 12.34, "156"], ["Mar 03 2026 15: +0", 12.50, "142"]]Database Schema
Stored in tableprice_history:
| Column | Type | Description |
|---|---|---|
id | INTEGER | Auto-incrementing row ID |
time | DATETIME | The hour this data point represents (UTC) |
appid | INTEGER | Steam app ID |
market_hash_name | TEXT | Item name |
item_nameid | INTEGER | Steam’s internal item ID (if available) |
currency | TEXT | Currency code |
country | TEXT | Country code |
language | TEXT | Language |
price | REAL | Median price during this hour |
volume | INTEGER | Number of sales during this hour |
fetched_at | DATETIME | When we fetched this data |
Example Queries
Daily average price over last 30 days:API Endpoint Details
URL:https://steamcommunity.com/market/pricehistory
Method: GET
Authentication: Required - Steam session cookies
Query Parameters (from steamAPIclient.py:fetch_price_history):
appid- Application IDmarket_hash_name- Item name (URL-encoded)currency- Currency codecountry- Country codelanguage- Language
sessionid- Your Steam session IDsteamLoginSecure- Your Steam login tokenbrowserid(optional) - Browser identifiersteamCountry(optional) - Steam country code
User-Agent- Browser user agent stringReferer- Steam market listing page URL
Choosing the Right Endpoint
Decision Matrix
Need current prices? →priceoverview
Need order book depth? → itemordershistogram
Need real-time trades? → itemordersactivity
Need historical trends? → pricehistory
Combining Endpoints
For comprehensive market coverage, track the same item with multiple endpoints:Rate Limiting Considerations
Endpoint impact on rate limits (requests per 60s with example intervals):| Endpoint | Example Interval | Requests/60s |
|---|---|---|
priceoverview | 30s | 2 |
itemordershistogram | 15s | 4 |
itemordersactivity | 8s | 7.5 |
pricehistory | 3600s | 0.017 |
Next Steps
Authentication
Setup cookies for pricehistory endpoint
Config Reference
Complete parameter reference