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 (max 100 chars) |
sort | string | - | relevance, priceAsc, priceDesc, nameAsc, or nameDesc |
minPrice | number | - | Minimum price filter (USD) |
maxPrice | number | - | Maximum price filter (USD) |
page | number | 1 | Page number |
perPage | number | 50 | Items per page (min 1, 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 marketplace item ID returned by /client/market or /client/market/suggestions |
marketHashName | string | Required* | Exact market hash name, resolved to the catalog item id. Use instead of itemId; itemId wins when both are sent |
delivery | string | any | "any", "standard", or "instant" — filters listings by delivery mode |
phase | string | - | Doppler phase ("Ruby", "Phase 1", etc.) — returns only that phase’s listings; combinable with delivery |
floatMin | number | - | Lower bound on the item float/wear value (0–1) |
floatMax | number | - | Upper bound on the item float/wear value (0–1) |
page | number | 1 | Page number |
perPage | number | 50 | Listings per page (max 100) |
itemId or marketHashName.
This returns individual listings with different float values, stickers, and prices for the same item type. Useful when you want to let users pick a specific skin rather than just the cheapest one. Use phase and the floatMin/floatMax range to narrow to a specific Doppler phase or wear band.
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 sourced:
"standard"– the bot sources the item from a marketplace supplier when the purchase is approved, then sends a Steam trade offer to the user"instant"– the item is already pre-positioned on the bot and the trade offer is sent immediately
id and offer.price when initiating the withdrawal — AssetPay routes the purchase to the correct marketplace supplier internally.
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: