Twitch

Get the top live streams for a Twitch game/category

Returns the top currently-live streams for a Twitch game/category, ranked by viewer count: title, viewer count, broadcaster, and tags.

get/twitch/streams

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/twitch/streams
  • Auth: API key in header x-api-key

Query parameters

gamestring required

Twitch game/category slug (the lowercase URL slug from twitch.tv/directory/category/{slug})

limitinteger

Number of streams to return (default 20, max 100)

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "count": 20,
    "streams": [
      {
        "broadcaster": {
          "is_partner": true
        },
        "viewers_count": 56596
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.