---
title: "Get a Twitch channel's broadcast schedule"
method: GET
path: "/twitch/schedule"
tags: ["Twitch"]
---

# Get a Twitch channel's broadcast schedule

`GET /twitch/schedule`

## Request

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

Returns a Twitch channel's upcoming broadcast schedule -- planned segments with title, start/end time, and game/category -- starting today. A channel with no schedule configured returns an empty segments list, not an error.

## Query parameters

- `channel` string, required
- `weeks` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TwitchScheduleResponseDoc
  - `code` integer
  - `data` TwitchScheduleResponse
    - `channel` string
    - `count` integer
    - `next_segment_at` string
    - `next_segment_id` string
    - `segments` TwitchScheduleSegment[]
      - `cancelled_until` string
      - `categories` TwitchScheduleCategory[]
        - `box_art_url` string
        - `id` string
        - `name` string
        - `slug` string
      - `end_at` string
      - `id` string
      - `is_cancelled` boolean
      - `start_at` string
      - `title` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `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/028417aa35bb?raw)
