---
title: "Get Twitch's top games/categories"
method: GET
path: "/twitch/top-games"
tags: ["Twitch"]
---

# Get Twitch's top games/categories

`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`

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

## Query parameters

- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TwitchTopGamesResponseDoc
  - `code` integer
  - `data` TwitchTopGamesResponse
    - `count` integer
    - `games` TwitchTopGame[]
      - `box_art_url` string
      - `id` string
      - `name` string
      - `slug` string
      - `tags` string[]
      - `viewers_count` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
