Twitch

Get Twitch's top games/categories

Returns the top games/categories site-wide, ranked by total current viewers across all live streams under each one.

get/twitch/top-games

Request

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

Query parameters

limitinteger

Number of games 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,
    "games": [
      {
        "name": "Dota 2",
        "slug": "dota-2",
        "viewers_count": 390201
      }
    ]
  },
  "msg": "OK"
}

Changes

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