New: live data for Youpin, CSFloat, and Steam

POST /v1/sales/csfloat

Returns one item's recorded individual CSFloat sales, newest first, each with its price, the sale time, how it was listed, and the item's float, paint seed, stickers, and charms.

Available on Scale, at 10 requests per second. Each request is for one item, with up to 100 sales per page.

Prices are in USD by default, or in any supported currency. Data updates continuously. History starts ~November 1, 2026. Doppler and Gamma Doppler phases are supported.

Request fields#

FieldTypeRequiredMeaning
market_hash_namestringYesThe item's exact name, as listed in GET /v1/schema. A request covers one item.
startstringNoStart of the window, inclusive, as a YYYY-MM-DD date or an RFC3339 timestamp. Without it, the window starts 7 days before end.
endstringNoEnd of the window, exclusive, as a YYYY-MM-DD date or an RFC3339 timestamp. It can't be in the future. Without it, the window ends now.
currencystringNoThe currency for price: AUD, CAD, CHF, CNY, EUR, GBP, JPY, NZD, SGD, or USD. Without it, price is in USD.
cursorstringNoThe page.next_cursor from the previous page, sent as the only field to get the next page.

The body accepts only these five fields.

Variants#

CSFloat sales accept the Doppler and Gamma Doppler phases as variant names: Phase 1-4, Ruby, Sapphire, Black Pearl, and Emerald. A full variant name, such as ★ Karambit | Doppler (Factory New) | Phase 2, returns only that phase's sales. A base name returns every phase's sales, as a separate list, and item.variant names each sale's phase.

CSFloat sales don't cover Case Hardened tiers. To find a tier's sales, request the base name and filter on item.paint_seed.

Request#

POSTapi.cs2.sh/v1/sales/csfloat
curl -X POST https://api.cs2.sh/v1/sales/csfloat \
  -H "Authorization: Bearer <<YOUR_API_KEY>>" \
  -H "Accept-Encoding: gzip" --compressed \
  -H "Content-Type: application/json" \
  -d '{
  "market_hash_name": "★ Karambit | Doppler (Factory New)",
  "start": "2026-11-01",
  "end": "2026-11-29"
}'

Response#

{
  "market": "string",
  "market_hash_name": "string",
  "currency": "string",
  "start": "string",
  "end": "string",
  "sales": [
    {
      "sale_id": "string",
      "time": "string",
      "price": 0,
      "listing_type": "string",
      "listed_at": "string",
      "item": {
        "asset_id": "string",
        "float": 0,
        "paint_seed": 0,
        "paint_index": 0,
        "variant": "string",
        "stickers": [
          {
            "name": "string",
            "slot": 0,
            "wear": 0,
            "offset_x": 0,
            "offset_y": 0,
            "rotation": 0
          }
        ],
        "charms": [
          {
            "name": "string",
            "slot": 0,
            "pattern": 0
          }
        ],
        "patches": [
          {
            "name": "string",
            "slot": 0
          }
        ]
      }
    }
  ],
  "page": {
    "page_size": 0,
    "has_next": false,
    "next_cursor": "string",
    "cursor_expires_at": "string",
    "total_count": 0,
    "total_exact": false
  },
  "response_time": "string"
}

Response fields#

SalesResponse fields:

FieldTypeRequiredDescription
marketstringNoThe marketplace: csfloat.
market_hash_namestringNoThe item you requested.
currencystringNoThe currency of every price.
startstring (date-time)NoStart of the window searched, in UTC, as you sent it or as defaulted.
endstring (date-time)NoEnd of the window searched, in UTC, as you sent it or as defaulted.
salesSale[]NoUp to 100 sales, newest first. [] means cs2.sh collected no sales in the window, not that nothing sold.
pageLivePageNoPaging for the next request. page_size is always 100, total_count is always null, and total_exact is always false.
response_timestring (date-time)NoWhen cs2.sh sent the response (UTC).

Sales#

FieldDescription
sales[].sale_idThe ID of the CSFloat listing that sold.
sales[].timeWhen the item sold, in UTC, to the millisecond.
sales[].priceThe sale price in the response currency, converted from CSFloat's USD price at the exchange rate of the sale's day. null when cs2.sh has no exchange rate for that day.
sales[].listing_typeHow the item was listed, buy_now or auction. null when CSFloat didn't report it.
sales[].listed_atWhen the listing was created. null when CSFloat didn't report it.
sales[].itemThe item that sold, with the item fields both marketplaces share.
sales[].item.stickers[].offset_x, offset_y, rotationWhere the sticker sits on the item. Present only when CSFloat reports a placement.

CSFloat stickers carry name, slot, and wear, and patches come back in patches, not in stickers.

Full schemas: SalesResponse, Sale, SaleItem.

Errors#

A window with no sales returns 200 with sales: []. A Developer key returns 403 forbidden.

An invalid request body returns 400 validation_error. details.field names the field at fault, and details.code gives the reason:

details.codeMeaningWhat to do
missing_fieldThe request has no market_hash_name.Add it.
unknown_itemThe name isn't an item in GET /v1/schema.Use the exact market_hash_name.
unsupported_variantCSFloat sales don't cover this variant, because it isn't a Doppler or Gamma Doppler phase.Request the base name instead.
unsupported_fieldThe body has a field other than the five above, such as items or limit.Remove it. details.allowed_values lists the accepted fields.
invalid_fieldA value is null, empty, or not a string, a date can't be read, or end is in the future.Leave out an optional field instead of sending null.
invalid_rangestart isn't before end.Fix the window.
unknown_valuecs2.sh doesn't support the currency.Pick one from details.allowed_values.
conflicting_fieldscursor came with other fields.Send cursor alone.
cursor_mismatchThe cursor came from the other sales path.Send it to the path in details.path.
cursor_expiredThe cursor is more than 24 hours old, or the item schema changed after the first page. In the second case, details.reason is metadata_changed.Start a new request.
invalid_cursorThe cursor is malformed or belongs to another account.Start a new request.
invalid_jsonThe body isn't valid JSON, or it repeats a key.Send one JSON object with each key once.
invalid_shapeThe body is valid JSON but not an object, such as an array or null.Send a JSON object.
body_too_largeThe body is over 16 KiB. details.maximum_bytes gives the limit in bytes.Send a smaller body.
invalid_bodycs2.sh couldn't read the request body.Send the request again.

Retry a 503 service_unavailable after a short delay. The other statuses are under Request errors.