A secondary interface to interact with the
Steam Economy.
See also:
IGameInventory.
For more info on how to use the Steamworks Web API please see the
Web API Overview.
CanTrade
GET https://partner.steam-api.com/ISteamEconomy/CanTrade/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
appid | uint32 | ✔ | That the key is associated with. Must be a steam economy app. |
steamid | uint64 | ✔ | SteamID of user attempting to initiate a trade |
targetid | uint64 | ✔ | SteamID of user that is the target of the trade invitation |
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!
FinalizeAssetTransaction
POST https://partner.steam-api.com/ISteamEconomy/FinalizeAssetTransaction/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
appid | uint32 | ✔ | The app ID the user is buying assets for |
steamid | uint64 | ✔ | SteamID of the user making a purchase |
txnid | string | ✔ | The transaction ID |
language | string | ✔ | The local language for the user |
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!
GetAssetClassInfo
GET https://api.steampowered.com/ISteamEconomy/GetAssetClassInfo/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API user authentication key. |
appid | uint32 | ✔ | Must be a steam economy app. |
language | string | | The user's local language |
class_count | uint32 | ✔ | Number of classes requested. Must be at least one. |
classid0 | uint64 | ✔ | Class ID of the nth class. |
instanceid0 | uint64 | | Instance ID of the nth class. |
GetAssetPrices
GET https://api.steampowered.com/ISteamEconomy/GetAssetPrices/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API user authentication key. |
appid | uint32 | ✔ | Must be a steam economy app. |
currency | string | | The currency to filter for |
language | string | | The user's local language |
Returns prices and categories for items that users are able to purchase.
GetExportedAssetsForUser
GET https://partner.steam-api.com/ISteamEconomy/GetExportedAssetsForUser/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
steamid | uint64 | ✔ | SteamID of user |
appid | uint32 | ✔ | The app to get exported items from. |
contextid | uint64 | ✔ | The context in the app to get exported items from. |
Retrieves the list of assets from another game to import.
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!
GetMarketPrices
GET https://partner.steam-api.com/ISteamEconomy/GetMarketPrices/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
appid | uint32 | ✔ | Must be a steam economy app. |
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!
StartAssetTransaction
POST https://partner.steam-api.com/ISteamEconomy/StartAssetTransaction/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
appid | uint32 | ✔ | The app ID the user is buying assets for |
steamid | uint64 | ✔ | SteamID of user making a purchase |
assetid0 | string | ✔ | The ID of the first asset the user is buying - there must be at least one |
assetquantity0 | uint32 | ✔ | The quantity of assetid0's the the user is buying |
currency | string | ✔ | The local currency for the user |
language | string | ✔ | The local language for the user |
ipaddress | string | ✔ | The user's IP address |
referrer | string | | The referring URL |
clientauth | bool | | If true (default is false), the authorization will appear in the user's steam client overlay, rather than as a web page - useful for stores that are embedded in products. |
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!
StartTrade
GET https://partner.steam-api.com/ISteamEconomy/StartTrade/v1/
Name | Type | Required | Description |
key | string | ✔ | Steamworks Web API publisher authentication key. |
appid | uint32 | ✔ | That the key is associated with. Must be a steam economy app. |
partya | uint64 | ✔ | SteamID of first user in the trade |
partyb | uint64 | ✔ | SteamID of second user in the trade |
NOTE: This call requires a publisher API key to use this method. As such this API
MUST be called from a secure server, and can never be used directly by clients!