Skip to content

Endpoints News

TeemoCell edited this page Jul 20, 2026 · 2 revisions

News Endpoints

The news client uses ISteamNews/GetNewsForApp/v2.

$news = $steam->news();

GetNewsForApp

GetNewsForApp(
    int $appId,
    int $count = 5,
    ?int $maxLength = null,
    ?int $endDate = null,
    array|string|null $feeds = null,
): mixed
Argument Description
$appId Steam application ID.
$count Maximum number of news entries.
$maxLength Optional maximum content length.
$endDate Only return entries before this Unix timestamp.
$feeds One feed name or an array of feed names.
$response = $steam->news()->GetNewsForApp(
    appId: 620,
    count: 10,
    maxLength: 500,
    feeds: ['steam_community_announcements'],
);

foreach ($response->newsitems as $item) {
    echo $item->title.PHP_EOL;
}

Authenticated publisher news is documented under Publisher API.

Clone this wiki locally