Skip to content

CS2 InspectFrom inspect link to item data.

A TypeScript toolkit for reading skins, building inspect URLs and working with Steam. Start offline. Connect when you need to.

One small round trip ​

ts
import { createInspectUrl, decodeMaskedUrl } from 'cs2-inspect-lib'

const url = createInspectUrl({
  defindex: 7,       // AK-47
  paintindex: 44,   // Case Hardened
  paintseed: 661,
  paintwear: 0.15
})

const item = decodeMaskedUrl(url)
console.log(item.paintseed) // 661

Install the package →

Current protocol, familiar API ​

The September 2026 update adds multiple custom names, pet food expiration and opaque item data. Existing customname callers continue to work. See the compatibility notes →

Released under the MIT License.