Market
The market endpoints return items currently available for purchase. This is what you show users when they want to withdraw (buy) skins.Fetching Market Items
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
game | string | 730 | "730" for CS2 or "252490" for Rust |
search | string | - | Search by item name |
sort | string | - | "popularity", "price_asc", or "price_desc" |
minPrice | number | - | Minimum price filter (USD) |
maxPrice | number | - | Maximum price filter (USD) |
page | number | 1 | Page number |
perPage | number | 50 | Items per page. Use -1 to get all items (ignores page). Max 1000. |
Search Suggestions
For building an autocomplete search box, use the suggestions endpoint:Item Listings
To get all available listings for a specific item type:| Parameter | Type | Default | Description |
|---|---|---|---|
itemId | string | Required | The item’s market hash name or ID |
delivery | string | normal | "normal" or "auto" delivery mode |
page | number | 1 | Page number |
Pricing in Market Items
For market items (withdrawals), theoffer.price is what it costs to buy this item. This is the amount that gets deducted from the merchant’s wallet balance.
The delivery field indicates how the item will be delivered:
"normal"- Standard delivery through a trade offer"auto"- Automated delivery (typically faster)
market field (1, 2, or 3) indicates which marketplace source the item comes from. You’ll need to pass this in the withdrawal request.
Keeping Prices Updated
Market prices change frequently. You have two options to keep your UI current:- Polling: Refetch market data periodically (every 30-60 seconds is reasonable)
- WebSocket: Subscribe to price update events for real-time changes (see WebSocket)
Fetching Bulk Prices
If you need pricing data without item details (for example, to update prices in your own database), use the/secure/prices endpoint with your API key: