Skip to main content
GET
/
platforms
/
{platform}
/
games
/
{game_id}
/
content
List content for a game
curl --request GET \
  --url https://external-api.streamforge.com/platforms/{platform}/games/{game_id}/content \
  --header 'x-api-key: <api-key>'
{
  "payload": [
    {
      "content_id": "<string>",
      "platform": "twitch",
      "type": "stream",
      "title": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "duration": 123,
      "url": "<string>",
      "categories": [
        {
          "id": "<string>",
          "type": "twitch_game",
          "name": "<string>",
          "igdb_id": 123,
          "igdb_name": "<string>",
          "igdb_slug": "<string>"
        }
      ],
      "tags": [
        {
          "id": "<string>",
          "type": "twitch_tag",
          "name": "<string>"
        }
      ],
      "statistics": {
        "viewers": {
          "avg": 123,
          "max": 123
        },
        "watched_minutes": {
          "sum": 123
        },
        "airtime_minutes": {
          "sum": 123
        },
        "views": {
          "sum": 123
        },
        "likes": {
          "sum": 123
        },
        "comments": {
          "sum": 123,
          "avg": 123
        }
      },
      "chapters": [
        {
          "id": "<string>",
          "title": "<string>",
          "description": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "ended_at": "2023-11-07T05:31:56Z",
          "duration": 123,
          "categories": [
            {
              "id": "<string>",
              "type": "twitch_game",
              "name": "<string>",
              "igdb_id": 123,
              "igdb_name": "<string>",
              "igdb_slug": "<string>"
            }
          ],
          "tags": [
            {
              "id": "<string>",
              "type": "twitch_tag",
              "name": "<string>"
            }
          ],
          "statistics": {
            "viewers": {
              "avg": 123,
              "max": 123
            }
          }
        }
      ],
      "profile_id": "<string>"
    }
  ],
  "paging": {
    "limit": 123,
    "next_cursor": "<string>",
    "has_more": true
  },
  "meta": {
    "source": "<string>",
    "received_at": "2023-11-07T05:31:56Z",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "game": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>"
    },
    "platform": "twitch"
  }
}

Authorizations

x-api-key
string
header
required

Your API key. Include it in the x-api-key header for all requests.

Path Parameters

platform
enum<string>
required

Platform identifier (twitch or youtube)

Available options:
twitch,
youtube
Example:

"twitch"

game_id
string
required

Platform-specific game ID (Twitch game ID or YouTube game channel ID)

Example:

"2011938005"

Query Parameters

sort
enum<string>
default:created_at

Sort field

Available options:
created_at
order
enum<string>
default:desc

Sort order

Available options:
asc,
desc
cursor
string

Pagination cursor token from previous response

limit
integer
default:20

Maximum number of results per page (1-100, default 20)

Required range: 1 <= x <= 100
content_type
enum<string>
default:all

Filter by content type

Available options:
stream,
video,
short,
all
start_date
string

Filter content from this date (YYYY-MM-DD)

Example:

"2024-01-01"

end_date
string

Filter content until this date (YYYY-MM-DD)

Example:

"2024-12-31"

Response

Content found

payload
object[]
paging
object
meta
object