Apps
Notícias
Obtém as últimas notícias de um jogo Steam, incluindo community announcements e cobertura da imprensa externa.
Endpoint
Este endpoint retorna os últimos itens de notícias para um jogo Steam específico, agregando Steam Community Announcements e feeds externos de imprensa (PC Gamer, PCGamesN, SteamDB, Rock Paper Shotgun e outros). Os itens estão ordenados do mais recente para o mais antigo por publishedTimestamp.
GET /v2/steam/apps/{appid}/news
Parâmetros obrigatórios
appid
number
O Steam application ID do jogo cujas notícias você quer buscar.
Autenticação
Inclua sua API key no header x-api-key.
x-api-key: YourSecretAPIKey
Campos da resposta
A resposta é um array de itens de notícias.
Item de notícia
| Campo | Tipo | Descrição |
|---|---|---|
id | string | Identificador único do item de notícia (da Steam). |
title | string | Título do item de notícia. |
url | string | URL para o item de notícia completo. Em itens externos, é uma URL de redirecionamento da Steam. |
urlExternal | boolean | Se url aponta para conteúdo fora da Steam. |
author | string | Autor do item. Pode ser uma string vazia. |
content | string | Corpo do item de notícia. Pode conter HTML. |
publishedTimestamp | number | Unix timestamp da publicação. |
feed | string | Nome de exibição do feed (por exemplo "PC Gamer", "Community Announcements"). |
feedName | string | Identificador interno do feed. |
feedType | number | Tipo do feed. Valores observados: 0 para feeds externos de imprensa, 1 para Steam Community Announcements. |
appID | number | Steam application ID ao qual o item está associado. |
tags | array|undefined | Lista opcional de tags em string no item (por exemplo "steam_award_nomination_request"). Ausente na maioria dos itens. |
O campo
content pode conter HTML — sanitize antes de renderizar na sua própria UI.Exemplo de resposta
Exemplo de output para este endpoint. Por brevidade, a maioria dos itens foi omitida.
response.json
{
"success": true,
"result": [
{
"id": "1828894815558283",
"title": "SPRING CLEAN",
"url": "https://steamstore-a.akamaihd.net/news/externalpost/steam_community_announcements/1828894815558283",
"urlExternal": true,
"author": "Errn",
"content": "NEW ITEM: ARMOURED LADDER HATCH...",
"publishedTimestamp": 1775151996,
"feed": "Community Announcements",
"feedName": "steam_community_announcements",
"feedType": 1,
"appID": 252490
},
{
"id": "1828894815563361",
"title": "Rust's Spring Clean update nerfs the shield meta and boosts early game energy",
"url": "https://steamstore-a.akamaihd.net/news/externalpost/PCGamesN/1828894815563361",
"urlExternal": true,
"author": "[email protected]",
"content": "The Rust April update is here...",
"publishedTimestamp": 1775327209,
"feed": "PCGamesN",
"feedName": "PCGamesN",
"feedType": 0,
"appID": 252490
},
{
"id": "1819386365102640",
"title": "Final Round of Voting - Rust in the Steam Awards",
"url": "https://steamstore-a.akamaihd.net/news/externalpost/steam_community_announcements/1819386365102640",
"urlExternal": true,
"author": "ashfacepunch",
"content": "We're through to the final round!...",
"publishedTimestamp": 1766430051,
"feed": "Community Announcements",
"feedName": "steam_community_announcements",
"feedType": 1,
"appID": 252490,
"tags": ["steam_award_vote_request", "mod_hide_library_overview"]
}
]
}