Steamworks Documentation
ISteamEconomy Interface
A secondary interface to interact with the features/inventory/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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
appiduint32✔That the key is associated with. Must be a steam economy app.
steamiduint64✔SteamID of user attempting to initiate a trade
targetiduint64✔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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
appiduint32✔The app ID the user is buying assets for
steamiduint64✔SteamID of the user making a purchase
txnidstring✔The transaction ID
languagestring✔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/
NameTypeRequiredDescription
keystring✔Steamworks Web API user authentication key.
appiduint32✔Must be a steam economy app.
languagestringThe user's local language
class_countuint32✔Number of classes requested. Must be at least one.
classid0uint64✔Class ID of the nth class.
instanceid0uint64Instance ID of the nth class.

GetAssetPrices

GET https://api.steampowered.com/ISteamEconomy/GetAssetPrices/v1/
NameTypeRequiredDescription
keystring✔Steamworks Web API user authentication key.
appiduint32✔Must be a steam economy app.
currencystringThe currency to filter for
languagestringThe 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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
steamiduint64✔SteamID of user
appiduint32✔The app to get exported items from.
contextiduint64✔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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
appiduint32✔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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
appiduint32✔The app ID the user is buying assets for
steamiduint64✔SteamID of user making a purchase
assetid0string✔The ID of the first asset the user is buying - there must be at least one
assetquantity0uint32✔The quantity of assetid0's the the user is buying
currencystring✔The local currency for the user
languagestring✔The local language for the user
ipaddressstring✔The user's IP address
referrerstringThe referring URL
clientauthboolIf 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/
NameTypeRequiredDescription
keystring✔Steamworks Web API publisher authentication key.
appiduint32✔That the key is associated with. Must be a steam economy app.
partyauint64✔SteamID of first user in the trade
partybuint64✔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!