Live Youpin data
Youpin has six live operations: listings, search, buy orders, float rank, listing detail, and seller stores. It's the only marketplace with rental and pre-sale listings and a float ranking.
| Operation | Returns |
|---|---|
| listings | Listings for one item, with float, paint seed, and stickers |
| search | Items across Youpin, by weapon, collection, rarity, price, and other filters |
| buy_orders | Buy orders for one item |
| float_rank | Youpin's float ranking for one item |
| listing_detail | One listing in full |
| store | One seller's listings |
Every operation takes the shared live request format. Prices, including price filters, are in CNY, and cs2.sh doesn't convert them.
IDs
Youpin IDs are strings of digits, each in its own field.
| ID | Request field | Where to get it |
|---|---|---|
| Template ID (Youpin's ID for an item) | item_id | ids.youpin in the schema, or item_id on a search row |
| Listing ID | listing.listing_id | id on a listing row |
| User ID (the seller) | seller_id | seller_id on a listing row |
What each operation needs:
| Operation | Identified by |
|---|---|
listings, buy_orders, float_rank | market_hash_name or item_id, exactly one |
search | Nothing required. Send search text, filters, or both. |
listing_detail | listing.listing_id |
store | seller_id |
A market_hash_name that isn't in the schema returns 400 with details.code set to unknown_value, and cs2.sh never falls back to a text search. A template ID works whether or not the item is in the schema.
Listing types
Without listing_type, a request reads buy_now listings.
| Operation | buy_now | rental | auction | pre_sale |
|---|---|---|---|---|
listings | Yes | Yes | Yes | Yes |
search | Yes | Yes | Yes | - |
store | Yes | Yes | - | Yes |
The other listing types carry their own terms:
rentallistings have no single price. Each has a short-term and a long-term daily rent in CNY, and a deposit.- For
auctionlistings,min_price,max_price, and price sorting act on the higher of the starting price and the current bid. The buyout price is separate. pre_salelistings are items a seller lists before they can deliver them, each with a delivery time and a compensation amount.
Each listing type has its own filters and sort fields, and one the listing type doesn't have returns 400.
Text search
Youpin matches search text against its Chinese item names, and cs2.sh doesn't translate it. "search": "AK-47" works, because weapon names appear inside the Chinese names, but "search": "Redline" returns nothing.
To search in English, use search filters such as weapon, collection, and rarity, which take English values.
Variants
To request a Doppler phase, a gem, or a tier, put it in the name, as in ★ Karambit | Doppler (Factory New) | Phase 2, or send the base name with filters.phase or filters.tier. The operation's options path lists the values an item accepts.
Latency
A request usually takes ~0.4-0.8 seconds.
Limits
Per-operation limits for every plan are under Live limits.
Responses
An item with no listings or no buy orders returns 200 with no rows.
page.total_count can be Youpin's count for the whole item instead of for your filters, and page.total_exact is then false.
In structured rows, sticker wear is always null. Items without a finish, such as agents and charms, have a null float, paint_seed, and paint_index.
Raw responses use Youpin's field names, with labels and messages in Chinese. An empty result can arrive with its list missing or null.
Errors
A 503 with details.code set to metadata_unavailable means cs2.sh couldn't load Youpin's data for that item in time. Retry after a short wait with backoff.