CS2 Skins API

Find individual Counter-Strike 2 skins by market name, float or paint seed. Read inspection attributes such as stickers and charms, then look up a matching asset’s observed ownership history.

AK-47 | Gold Arabesque (Factory New)
Attributes of a specific skin
Wear value
float
Pattern seed
paintseed
Applied finish
paintindex
Attachments
stickers, keychains

Fields for individual skin assets

Two skins can share a market hash name and have very different wear or patterns. Use the per-asset fields for inventory tools, skin search and item detail pages.

FieldWhat to use it for
markethashnameMatch the asset to the corresponding catalog item.
floatRead the numeric wear value. Preserve full available precision when passing it back to the lookup endpoint.
paintseedRead the pattern seed that affects how a finish appears on the model.
defindex / paintindexIdentify the weapon or item definition and the applied finish, respectively.
stickers / keychainsRender detected sticker and charm information where present.
assetidRead the Steam asset identifier associated with this record. It can change when the item moves.

Find skins by name and float

Search for a specific catalog item and cap its float at 0.04. The response contains matching asset records in data.

GET /api/assets
curl --get 'https://www.steamwebapi.com/api/assets' \
  --data-urlencode 'key=YOUR_API_KEY' \
  --data-urlencode 'market_hash_name=AK-47 | Uncharted (Factory New)' \
  --data-urlencode 'max_float=0.04' \
  --data-urlencode 'limit=5'
Example response excerpt
{
    "data": [
        {
            "markethashname": "AK-47 | Uncharted (Factory New)",
            "assetid": "47898024607",
            "float": 0.03422911092639,
            "defindex": 7,
            "paintindex": 836,
            "paintseed": 915
        }
    ]
}

Increase offset by the requested limit to read another page. The response includes the total match count and the count returned for this request.

Find an asset’s observed history

Use the definition index, paint seed and full float taken from a search result to narrow a lookup to a particular skin. The optional paint index filters by finish.

POST /api/assets/find
curl 'https://www.steamwebapi.com/api/assets/find?key=YOUR_API_KEY' \
  --json '{"items":[{"def_index":7,"paint_index":836,"paint_seed":915,"float":"0.03422911092639","ref":"example-skin"}]}'

Use ref to match results to your own records. Ownership and listing history covers observations the platform has collected. The current asset identifier can differ from earlier observations.

CS2 Skins API FAQ

Can I look up all skins with a certain paint seed?

Use the asset search endpoint to filter by paint seed, then narrow the results with additional fields. The history lookup accepts a paint seed paired with a definition index or float.

How many decimal places does a float lookup need?

The history endpoint requires at least six decimal places for a supplied float. Send the original precision as a JSON string to reduce accidental matches.

Where do I get a skin image for my app?

Use the CS2 Skin Images API for representative catalog renders. To inspect how an individual skin looks with its own pattern and stickers, use the CS2 3D Viewer API.