Skip to content

Steam Methods

Oleksandr Alcantara edited this page Jan 3, 2023 · 10 revisions

v4.0.0 or later is required to use this Steam Methods.

This package currently offers 11 API calls to Steam Market.

Methods

App Filters

Options are not needed

Example of App Filters

Item Listings

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item
query "" string No I don't know :)
start 0 int No Allows us to specify which item to start from retrieving data
count 10 int No Limit the number of items returned
country US string No Your country
language english string No Return data in your language
currency 1 int No Return items with prices, converted to your currency
filter "" string No Filter items by description

Example of Item Listings

Item Name Id

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item

Example of Item Name Id

Item Orders Activity

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item
item_name_id null int Yes Name id of item
country US string No Your country
language english string No Return data in your language
currency 1 int No Return items with prices, converted to your currency
two_factor 0 int No Checks if two-factor authentication is enabled

Example of Item Orders Activity

Item Orders Histogram

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item
item_name_id null int Yes Name id of item
country US string No Your country
language english string No Return data in your language
currency 1 int No Return items with prices, converted to your currency
two_factor 0 int No Checks if two-factor authentication is enabled

Example of Item Orders Histogram

Item Pricing

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item
country US string No Your country
currency 1 int No Return items with prices, converted to your currency

Example of Item Pricing

Newly Listed

List of options:

Name Default value Type Required Description
country US string No Your country
language english string No Return data in your language
currency 1 int No Return items with prices, converted to your currency

Example of Newly Listed

Steam Server Time

Options are not needed

Example of Steam Server Time

Recently Sold

Options are not needed

Example of Recently Sold

Sale History

List of options:

Name Default value Type Required Description
market_hash_name "" string Yes Name of item

Example of Sale History

Search Items

List of options:

Name Default value Type Required Description
query "" string No Search query
start 0 int No Allows us to specify which item to start from retrieving data
count 10 int No Limit the number of items returned
search_descriptions false bool No Search by item description
exact false bool No Exact search
filter [] array No Filter items

In App Filters method you can find categories and tags for filter array.

For correct filtering:

  1. Key is generated from facets array key like: "category_{$keyName}"
  2. Value/values is generated from tags array key like: "tag_{$keyName}"

Example:

[
    'filter' => [
        'category_730_Type' => ['tag_CSGO_Type_Rifle'], // Search Riffle
        'category_730_Exterior' => [                    // by exterior
            'tag_WearCategory2',                        // "Field-Tested"
            'tag_WearCategory1'                         // and "Minimal Wear"
        ]
    ]
]

Example of Search Items

User Inventory

List of options:

Name Default value Type Required Description
steam_id "" string/int Yes SteamID64
context_id 2 int No Context ID
count 10 int No Limit the number of items returned
language english string No Return data in your language
start_asset_id null int No Last returned asset_id from which you need to get items

Example of User Inventory