Info
๐ Get Item Metadata - Groups, Types, and Names
Baseurl: https://www.steamwebapi.com/steam/api/info/items?key=YOUR_API_KEY&game=cs2
๐ฌ What this endpoint does:
- Retrieves structured item metadata for a specific game.
- Returns all available item groups, types, and names.
- Provides hierarchical data for building item selectors and filters.
๐ ๏ธ Features:
- Structured mode (default): Hierarchical group โ type โ name structure.
- Groups mode: List of all item categories (knife, rifle, pistol, etc.).
- Types mode: List of all weapon types (ak-47, awp, karambit, etc.).
- Items mode: List of all skin names (doppler, fade, asiimov, etc.).
- 24-hour caching for optimal performance.
๐ How to use:
- Get structured data: GET /steam/api/info/items?key=YOUR_KEY
- Get all groups: GET /steam/api/info/items?key=YOUR_KEY&type=groups
- Get all types: GET /steam/api/info/items?key=YOUR_KEY&type=types
- Get all names: GET /steam/api/info/items?key=YOUR_KEY&type=items
- Force refresh: GET /steam/api/info/items?key=YOUR_KEY&no_cache=1
๐ Use Cases:
- Build dynamic item filters for your application.
- Create autocomplete search functionality.
- Generate item category navigation menus.
get/steam/api/info/items
Request
- Base URL: https://www.steamwebapi.com
- URL: https://www.steamwebapi.com/steam/api/info/items
- Auth: API key in query parameter key
Query parameters
Your API key for authentication. Required for all requests.
game'cs2' | 'rust' | 'dota' | 'tf2'
Game identifier.
Supported games:
- cs2 (default): Counter-Strike 2
- rust: Rust
- dota: Dota 2
- tf2: Team Fortress 2
type'structed' | 'groups' | 'types' | 'items'
Type of data to return.
Options:
- structed (default): Hierarchical structure (group โ type โ items)
- groups: Flat list of item groups (knife, rifle, etc.)
- types: Flat list of weapon types (ak-47, awp, etc.)
- items: Flat list of skin names (doppler, fade, etc.)
no_cache'0' | '1'
Bypass 24-hour cache and fetch fresh data.
- Omit or 0: Use cached data (recommended)
- 1: Force fresh data fetch
Note: Fresh fetch is slower, use only when necessary.
formatstring
Output format. See /steam/api/items for all format options.
pretty'0' | '1'
Pretty-print JSON output.
Response
Item metadata returned successfully. Structure depends on type parameter.
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.