๐ฅ Retrieve a Steam User's Friendlist
Baseurl: https://www.steamwebapi.com/steam/api/friendlist?id=76561198012345678&key=YOUR_API_KEY
๐ฌ **What this endpoint does:**
- Fetches a Steam user's friends list.
- By default, the data is parsed (`parsed=1`) for better readability.
- For raw data directly from Steam, set `parsed=0`.
๐ ๏ธ **Features:**
- Retrieve detailed information about a user's friends, such as online status, game activity, and profile details.
- Optimized for better response times by utilizing caching.
๐ **How to use:**
- Provide the user's Steam ID (64-bit) or Vanity URL using the `id` parameter.
- Use the `no_cache` parameter to bypass caching if real-time data is required.
Request
- Base URL: https://www.steamwebapi.com
- URL: https://www.steamwebapi.com/steam/api/friendlist
- Auth: API key in query parameter key
Query parameters
Your API key, available in the Dashboard (top-right corner).
Steam ID (64-bit) or Steam Vanity URL. Required for identifying the user.
Set to 1 to bypass caching. Default: Cached for 1 day for better performance. If you donโt need real-time state data of the user, set no_cache=0 for faster response times.
If you run in production, please set this to 1. Default is 0. This is in future required, and if not set, you will get a warning.
Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, mysql_with_table, pgsql, pgsql_with_table, mongo. Example: ?format=csv
Pretty-print JSON (set to 1 for json/gzip/zip formats). Example: ?format=json&pretty=1
Response
Request was successful, and the friend list data is returned.
Changes
No recorded changes to this operation across all 1 revision of this API.