Developer API

Steam Friendlist API

Récupérer la liste d'amis de n'importe quel profil Steam public — SteamIDs plus timestamps d'amitié — en un seul appel.

Endpoints

All endpoints return JSON, accept the same auth header, and degrade with a normalised error envelope.

GET /steam/api/friendlist

Steam Friendlist API — quickstart

Same auth header as every other endpoint we ship. Get an API key from the dashboard and you're querying inside two minutes.

  • Single auth header, JSON response.
  • Rate limits scale with your plan tier.
  • Full schema in the API reference.
API Request
# curl with API key
curl "https://www.steamwebapi.com/steam/api/friendlist?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/steam/api/friendlist?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/friendlist?key=${KEY}`);
const data = await r.json();

About this API

Branchez la Friendlist API dans des outils de graphe social, analytics communautaires ou heuristiques anti-fraude qui ont besoin de savoir qui se connecte à qui.

FAQ

Can I fetch private friend lists?

No — Steam only exposes friend lists for public profiles. Private profiles return an empty list.

Are friendship-since timestamps included?

Yes — for every friend row, you get the SteamID and the friendship-since Unix timestamp.

How does it differ from the Profile API?

Profile API returns the user themselves. Friendlist API returns their social graph.

Start building with the Steam Friendlist API

One key, every Steam endpoint.