---
title: "Search Twitch channels and games/categories"
method: GET
path: "/twitch/search"
tags: ["Twitch"]
---

# Search Twitch channels and games/categories

`GET /twitch/search`

## Request

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

Returns mixed category and channel matches for a query -- live channels include current viewer count and stream title. Sourced from Twitch's own search-typeahead surface (a capped suggestion list, not a fully paginated results page).

## Query parameters

- `query` string, required
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TwitchSearchResponseDoc
  - `code` integer
  - `data` TwitchSearchResponse
    - `count` integer
    - `query` string
    - `results` TwitchSearchResult[]
      - `category` TwitchSearchCategory
        - `box_art_url` string
        - `id` string
        - `slug` string
      - `channel` TwitchSearchChannel
        - `game_name` string
        - `id` string
        - `is_live` boolean
        - `is_verified` boolean
        - `login` string
        - `profile_image_url` string
        - `stream_title` string
        - `viewers_count` integer
      - `text` string
      - `type` string: "category" or "channel"
  - `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/0497899e2016?raw)
