Description
The public Steamworks Web API is hosted on https://api.steampowered.com
or https://community.steam-api.com
.
The public Web API host is accessible via HTTP (port 80) and HTTPS (port 443). Note that any requests using your publisher Web API key should be made over HTTPS.
This service is behind Akamai's edge cache, so the actual IP addresses you will see for the name will vary based on your location and on ongoing service changes.
The IPs can change rapidly and fluidly, so if your Web API calls are made through a firewall on outbound requests, read on.
Steam also provides a partner-only Web API server hosted on https://partner.steam-api.com
. The intent of this service is to have higher availability than
the public host; you should use this service for all requests made from your secure servers. This host has some different properties than the public host:
You should not connect to the Web API servers by IP; use the DNS name.
Similiar to the Steamworks C++ API, the Web API has been divided into multiple interfaces that contain related methods. The URI format of each API request is: https://api.steampowered.com/<interface>/<method>/<method_version>/
Steam supports returning Web API responses in multiple formats. By default, all responses are returned JSON encoded. However, each request can optionally contain a format
parameter to specify the desired response format. The following values can be passed for this parameter: xml
, json
, and vdf
.
A flexible solution should be used to parse Web API results as each method may return results in an arbitrary order.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.