Float

πŸ”— Generate a CS2 inspect-link from raw item data

Baseurl: https://www.steamwebapi.com/steam/api/float/create-inspectlink?key=YOUR_API_KEY

πŸ’¬ What this endpoint does:

  • Generates a fully self-contained CS2 inspect-link from raw item data β€” the inverse of the GET /steam/api/float decoder.
  • Output is compatible with our own decoder, csfloat's inspect tool, and every CS2 client that opens the link in-game.
  • No Steam game-coordinator round trip β€” the certificate hex carries the entire item state.

πŸ› οΈ Use cases:

  • Mock inspect-links for UI development and screenshots.
  • Reconstructing an inspect-link when only the raw item data is known (backfill, migration).
  • Generating links for items that never existed in any real inventory.

🌐 How to use:

  • POST a JSON body with at least defindex. All other fields default to 0/empty.
  • quality is auto-derived from stattrak / souvenir flags if you do not set it explicitly (4 / 9 / 12).
  • stickers (max 5), keychains (max 1) and variations (max 5) accept arrays of objects with sticker_id (required) plus any of slot, wear, scale, rotation, pattern, tint_id, offset_x, offset_y, offset_z.
  • Response includes the generated inspectlink, the raw certificate hex, and a decoded round-trip β€” so you can verify what the link will produce when re-decoded.
post/steam/api/float/create-inspectlink

Request

  • Base URL: https://www.steamwebapi.com
  • URL: https://www.steamwebapi.com/steam/api/float/create-inspectlink
  • Auth: API key in query parameter key

Query parameters

Your API key for authentication. Retrieve it from your Dashboard (top-right corner).

Request body

defindexinteger required
paintindexinteger
paintseedinteger
floatnumber float
rarityinteger
qualityinteger nullable
stattrakboolean
killeatercountinteger
souvenirboolean
customnamestring nullable
itemidstring nullable
accountidinteger nullable
origininteger nullable
musicindexinteger nullable
inventoryinteger nullable
styleinteger nullable

Example request

{
  "defindex": 9,
  "paintindex": 1422,
  "paintseed": 767,
  "float": 0.001591503,
  "rarity": 6,
  "quality": 4,
  "itemid": "51252704042",
  "stickers": [
    {
      "sticker_id": 9540,
      "slot": 3,
      "wear": 0.56,
      "rotation": 150
    }
  ],
  "keychains": [
    {
      "sticker_id": 52,
      "pattern": 69835
    }
  ]
}

Response

Inspect-link generated successfully.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.