Its [b]controller_type[/b] is [code-inline]"frame_controller"[/code-inline]. They support finger tracking via the [url=https://github.com/ValveSoftware/openvr/wiki/SteamVR-Skeletal-Input/4db5b685942e4b84f16bb3796143e292ad9226e6]Skeletal Input API[/url] and all of the controls listed above. …
[subsection]OpenVR[/subsection] OpenVR has two functions in IVRInput [b]GetEyeTrackingDataRelativeToNow[/b] and [b]GetEyeTrackingDataForNextFrame[/b]. To use those you will need to create a new action of type [code-inline]"eyetracking"[/code-inline] to pass into the functions. …
[section=GetTradeHistory]GetTradeHistory[/section] [code=http]GET https://api.steampowered.com/IEconService/GetTradeHistory/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetTradeOffers]GetTradeOffers[/section] [code=http]GET https://api.steampowered.com/IEconService/GetTradeOffers/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
They will continue to be usable but it's highly recommended that you use the latest version. Change history: [list] [*] [b]Version 2[/b] - Removes element names from arrays [/list] [section=GetGlobalStatsForGame]GetGlobalStatsForGame[/section] [code=http]GET https://partner.steam-api.com/ISteamUserStats/GetGlobalStatsForGame/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
They will continue to be usable but it's highly recommended that you use the latest version. Change history: [list] [*] [b]Version 2[/b] - Fixes returning the game name in XML. [/list] [section=GetUserStatsForGame]GetUserStatsForGame[/section] [code=http]GET https://partner.steam-api.com/ISteamUserStats/GetUserStatsForGame/v2/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
[/td][/tr] [/table] Gets the number of servers in the given list. This is used for iterating with [api]ISteamMatchmakingServers::GetServerDetails[/api]. …
You can get the valid range of index values by calling [api]ISteamMatchmakingServers::GetServerCount[/api]. You will also receive index values in [code-inline]ISteamMatchmakingServerListResponse::ServerResponded[/code-inline] callbacks. …
[section=GetMarketEligibility]GetMarketEligibility[/section] [code=http]GET https://partner.steam-api.com/IEconMarketService/GetMarketEligibility/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td] [td]Steamworks Web API [url=https://partner.steamgames.com/doc/webapi_overview/auth#publisher-keys]publisher key[/url] with [b]Economy[/b] permissions.…
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetPopular]GetPopular[/section] [code=http]GET https://partner.steam-api.com/IEconMarketService/GetPopular/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
A majority of games make direct calls to OpenGL but there are other games that use a translation method where legacy rendering code is translated into OpenGL calls. This is the approach used by older Valve Source games such as Team Fortress 2 and Counter-Strike: Source. …
Note that the runtime you select needs to match the Steam for Linux SDK used to compile your executables. For more details see [url=https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/slr-for-game-developers.md]steam-runtime-guide[/url] To use this feature, your app must first setup a Launch Option that support Linux. …
[/td][/tr] [tr][td][b]steamid[/b][/td][td]uint64[/td][td]✔[/td][td]SteamID of user[/td][/tr] [tr][td][b]appid[/b][/td][td]uint32[/td][td]✔[/td][td]appID of product[/td][/tr] [tr][td][b]listtype[/b][/td][td]uint32[/td][td][/td][td]EUCMListType[/td][/tr] [/table] [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetCollectionDetails]GetCollectionDetails[/section] [code=http]POST https://api.steampowered.com/ISteamRemoteStorage/GetCollectionDetails/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]collectioncount[/b][/td][td]uint32[/td][td]✔[/td][td]Number of collections being requested[/td][/tr] [tr][td][b]publishedfileids[0][/b][/td][td]uint64[/td][td]✔[/td][td]collection ids to get the details for[/td][/tr] [/table] [section=GetPublishedFileDetails]GetPublishedFileDetails[/section] [code=http]POST https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]itemcount[/b][/td][td]uint32[/td][td]✔[/td][td]Number of items being requested[/td][/tr] [tr][td][b]publishedfileids[0][/b][/td][td]uint64[/td][td]✔[/td][td]published file id to look up[/td][/tr] [/table] [section=GetUGCFileDetails]GetUGCFileDetails[/section] [code=http]GET https://api.steampowered.com/ISteamRemoteStorage/GetUGCFileDetails/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=SubscribePublishedFile]SubscribePublishedFile[/section] [code=http]POST https://partner.steam-api.com/ISteamRemoteStorage/SubscribePublishedFile/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
See also: [webapi]IGameInventory[/webapi]. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=CanTrade]CanTrade[/section] [code=http]GET https://partner.steam-api.com/ISteamEconomy/CanTrade/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[/td][/tr] [/table] Retrieves the list of assets from another game to import. [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetMarketPrices]GetMarketPrices[/section] [code=http]GET https://partner.steam-api.com/ISteamEconomy/GetMarketPrices/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[/list] [b]NOTE:[/b] This call requires the publisher API key that owns the specified App ID to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetAppPriceInfo]GetAppPriceInfo[/section] [code=http]GET https://partner.steam-api.com/ISteamUser/GetAppPriceInfo/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[/td][/tr] [/table] [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetUserGroupList]GetUserGroupList[/section] [code=http]GET https://partner.steam-api.com/ISteamUser/GetUserGroupList/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[section=GetRecentlyPlayedGames]GetRecentlyPlayedGames[/section] [code=http]GET https://partner.steam-api.com/IPlayerService/GetRecentlyPlayedGames/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
[/td][/tr] [tr][td][b]steamid[/b][/td][td]uint64[/td][td]✔[/td][td]The player we're asking about[/td][/tr] [/table] Returns the Steam Level of a user [section=GetBadges]GetBadges[/section] [code=http]GET https://partner.steam-api.com/IPlayerService/GetBadges/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
[/td][/tr] [/table] Sets the payment rules for a specific item. [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetFinalizedContributors]GetFinalizedContributors[/section] [code=http]GET https://partner.steam-api.com/IWorkshopService/GetFinalizedContributors/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetItemDailyRevenue]GetItemDailyRevenue[/section] [code=http]GET https://partner.steam-api.com/IWorkshopService/GetItemDailyRevenue/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
See also: [webapi]ISteamEconomy[/webapi]. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=GetHistoryCommandDetails]GetHistoryCommandDetails[/section] [code=http]GET https://partner.steam-api.com/IGameInventory/GetHistoryCommandDetails/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[/td][/tr] [tr][td][b]appid[/b][/td][td]uint32[/td][td]✔[/td][td]appid of game[/td][/tr] [tr][td][b]steamid[/b][/td][td]uint64[/td][td]✔[/td][td]The asset ID to operate on[/td][/tr] [tr][td][b]contextid[/b][/td][td]uint64[/td][td]✔[/td][td]The context to fetch history for[/td][/tr] [tr][td][b]actorid[/b][/td][td]uint32[/td][td]✔[/td][td]A unique 32 bit ID for the support person executing the command[/td][/tr] [/table] [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=SupportGetAssetHistory]SupportGetAssetHistory[/section] [code=http]GET https://partner.steam-api.com/IGameInventory/SupportGetAssetHistory/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
The beacon will be destroyed automatically when your game exits, but the preferred behavior is for the game to call [b]DestroyBeacon[/b] at the right time. [b]Returns:[/b] bool [subsection=GetNumActiveBeacons]GetNumActiveBeacons[/subsection] [code=cpp]uint32 GetNumActiveBeacons();[/code] This method has no parameters. …
The return is a [b]PartyBeaconID_t[/b] that can be used with [api]ISteamParties::GetBeaconDetails[/api] to get information about the beacons suitable for display to the user. [b]Returns:[/b] [apitype]ISteamParties::PartyBeaconID_t[/apitype] [subsection=GetBeaconDetails]GetBeaconDetails[/subsection] [code=cpp]bool GetBeaconDetails( PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner,SteamPartyBeaconLocation_t *pLocation, char *pchMetadata, int cchMetadata );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]ulBeaconID[/b][/td][td][apitype]ISteamParties::PartyBeaconID_t[/apitype][/td][td]Beacon ID to query.…
It is built upon the Chromium Embedded Framework and supports HTML5 markup. [section=GettingStarted]Getting Started with ISteamHTMLSurface[/section] The [api]ISteamHTMLSurface[/api] interface is implemented in [code-inline]isteamhtmlsurface.h[/code-inline] and can be found in the [code-inline]public/steam[/code-inline] folder in the [doclink=sdk]Steamworks SDK[/doclink]. The interface can be accessed through the [code-inline]SteamHTMLSurface()[/code-inline] interface pointer. Below is a list of the most commonly used methods in this API. Please refer to the API reference for details on interacting with the web page (scrolling, clicking links), using javascript, file dialogs, etc. …
Provides access to services related to operating sites which are part of the Steam PC Cafe program. [section=GetCurrentClientConnections]GetCurrentClientConnections[/section] [code=http]GET https://api.steampowered.com/ISiteLicenseService/GetCurrentClientConnections/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key[/td][/tr] [tr][td][b]siteid[/b][/td][td]uint64[/td][td][/td][td]Site ID to see; zero for all sites[/td][/tr] [/table] See current activity at one or more sites. The response has the following structure: [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]sites[/b][/td][td]see below[/td][td]A list of site details[/td][/tr] [tr][td][b]game_names[/b][/td][td]see below[/td][td]Mapped list of game names.[/td][/tr] [/table] [code-inline]game_names[/code-inline] has the following structure: [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]id[/b][/td][td]uint32[/td][td]ID number of entry; referenced in site info below[/td][/tr] [tr][td][b]name[/b][/td][td]string[/td][td]Game name[/td][/tr] [/table] [code-inline]sites[/code-inline] has the following structure: [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]siteid[/b][/td][td]uint64[/td][td]64-bit SiteID of the site[/td][/tr] [tr][td][b]site_name[/b][/td][td]string[/td][td]Site name you have assigned to the site[/td][/tr] [tr][td][b]clients[/b][/td][td]see below[/td][td]list of active clients at the site[/td][/tr] [/table] [code-inline]clients[/code-inline] has the following structure: [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]ip_address[/b][/td][td]string[/td][td]IP address of client computer[/td][/tr] [tr][td][b]hostname[/b][/td][td]string[/td][td]machine name of client computer[/td][/tr] [tr][td][b]games[/b][/td][td]see below[/td][td]list of active game sessions on the client computer[/td][/tr] [/table] [code-inline]games[/code-inline] has the following structure: [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]id[/b][/td][td]uint32[/td][td]ID of game in the [code-inline]game_names[/code-inline] section of the response[/td][/tr] [tr][td][b]start_time[/b][/td][td]string[/td][td]time this game session started (RFC 3339 UTC format)[/td][/tr] [tr][td][b]license_type[/b][/td][td]string[/td][td]see below[/td][/tr] [/table] [code-inline]license_type[/code-inline] may have one of the following values: [table] [tr][th]Value[/th][th]Description[/th][/tr] [tr][td][b]user[/b][/td][td]The user owns a license for the game[/td][/tr] [tr][td][b]commercial[/b][/td][td]The user is playing via a paid commercial license applied to the site[/td][/tr] [tr][td][b]free[/b][/td][td]The user is playing via a free commercial license applied to the site[/td][/tr] [/table] [section=GetTotalPlaytime]GetTotalPlaytime[/section] [code=http]GET https://api.steampowered.com/ISiteLicenseService/GetTotalPlaytime/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key[/td][/tr] [tr][td][b]start_time[/b][/td][td]string[/td][td]✔[/td][td]Report activity starting on or after this time. …
Provides miscellaneous Web API related functionality through utility methods. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=GetServerInfo]GetServerInfo[/section] [code=http]GET https://api.steampowered.com/ISteamWebAPIUtil/GetServerInfo/v1/[/code] This call has no additional parameters. …
[/td][/tr] [/table] Gets the list of supported API calls. This is used to build this documentation.…
If your game has lots of happy customers and hundreds of thousands of revenue over past few months, feel free to [url=https://help.steampowered.com/en/wizard/HelpWithPublishing]contact us any time[/url] to discuss promotion options. There are three main types of curated promo slots for products. The default discount length for all three promo slots is one week, but we're happy to be flexible with shorter or longer discounts, within our existing discount policies. …
[/doclink] [subsection]Midweek Deal[/subsection] Midweek Deal promotions are featured on the Steam homepage for 72 hours, from Monday at 10am Pacific until Thursday at 10am Pacific. There are up to six Midweek slots per week. The artwork used for the Midweek promotion requires custom asset sizes detailed [doclink=store/assets/promos]here[/doclink], which will be localized by Valve. …
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetLeaderboardEntries]GetLeaderboardEntries[/section] [code=http]GET https://partner.steam-api.com/ISteamLeaderboards/GetLeaderboardEntries/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! [section=GetLeaderboardsForGame]GetLeaderboardsForGame[/section] [code=http]GET https://partner.steam-api.com/ISteamLeaderboards/GetLeaderboardsForGame/v2/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
This is part of an older set of functions designed around the Berkeley TCP sockets model it's preferential that you use the P2P functions, they're more robust and these older functions will be removed eventually. [b]Returns:[/b] int [subsection=GetP2PSessionState]GetP2PSessionState[/subsection] [code=cpp]bool GetP2PSessionState( CSteamID steamIDRemote, P2PSessionState_t *pConnectionState );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]steamIDRemote[/b][/td][td][apitype]steam_api::CSteamID[/apitype][/td][td]The user to get the active session state information of.…
[b]Example:[/b] [code=cpp]P2PSessionState_t p2pSessionState; SteamNetworking()->GetP2PSessionState( steamIDremote, &p2pSessionState );[/code] [subsection=GetSocketConnectionType]GetSocketConnectionType[/subsection] [code=cpp]ESNetSocketConnectionType GetSocketConnectionType( SNetSocket_t hSocket );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hSocket[/b][/td][td][apitype]ISteamNetworking::SNetSocket_t[/apitype][/td][td][/td][/tr] [/table] Returns true to describe how the socket ended up connecting. …
You can then have people purchase them in a few different ways: [list] [*] Using the customizable, web-based [doclink=features/inventory/itemstore]Item Store[/doclink] [*] Implement your own in-game store: [list] [*] Retrieve the user's local currency and prices by calling [api]ISteamInventory::RequestPrices[/api] [*] Display prices returned by [api]ISteamInventory::GetItemPrice[/api] or [api]ISteamInventory::GetNumItemsWithPrices[/api] & [api]ISteamInventory::GetItemsWithPrices[/api] [*] Call [api]ISteamInventory::StartPurchase[/api] with the item definitions that the user wants to purchase [*] Handle the [apitype]ISteamInventory::SteamInventoryResultReady_t[/apitype] callback to give users any items they have purchased or acquired. [/list] [*] Use the [doclink=features/inventory/webfunctions#BuyItem]simple Steam purchase web UI[/doclink] by linking to [code-inline]https://store.steampowered.com/buyitem/:appid/:itemdefid/[/code-inline]. …