Viewer API › Streams Legacy

LegacyGET /tournaments/{tournament_id}/streams

This endpoint is in legacy mode. Access will soon be deprecated. It is therefore advised to use another endpoint when possible.

Returns the streams of the given tournament.

Resource URL

https://api.toornament.com/viewer/v2/tournaments/{tournament_id}/streams

HTTP headers

  • X-Api-Key
    string

    API key of your application (see Authentication)

  • Range
    string

    A range of requested items using the streams unit. The size of the range can not exceed 50. (see Pagination)

    Example: streams=0-49

Path parameters

  • tournament_id
    string

    The id of the tournament you want to retrieve data about.

Query Parameters

  • match_ids
    array

    A list of match ids to filter.

    Example: 618954615761465416,234819413984183454

Request Body

This endpoint does not require a request body.

Response

[200] List of tournament stream.

Example
[
    {
        "id": "863174896574643814",
        "name": "Game 1: TSM vs. EnVyUs",
        "url": "https:\/\/www.twitch.tv\/stream",
        "language": "en"
    }
]
Structure (collection)
  • id
    string

    An identifier for a stream.

    Example: "863174896574643814"

  • name
    string

    The title of the stream.

    Max. length: 40 characters

    Example: "Game 1: TSM vs. EnVyUs"

  • url
    string

    The URL of the stream.

    Max. length: 2,000 characters

    Example: "https://www.twitch.tv/stream"

  • language
    string

    The language code of the stream content in ISO 639-1 code

    Example: "en"