Twitch · Schema

Twitch Stream

Represents an active live stream on Twitch, including broadcaster information, game category, viewer count, and stream metadata.

EntertainmentGamingLive VideoStreamingVideoTwitchReal-Time

Properties

Name Type Description
id string Unique identifier for the stream
user_id string ID of the user who is streaming
user_login string Login name of the user who is streaming
user_name string Display name of the user who is streaming
game_id string ID of the game/category being played
game_name string Name of the game/category being played
type string Stream type (live or empty string if offline)
title string Title of the stream
viewer_count integer Number of current viewers
started_at string UTC timestamp when the stream started
language string Language of the stream (BCP 47)
thumbnail_url string URL template for the stream thumbnail
tags array Tags applied to the stream
is_mature boolean Whether the stream is marked as mature content
View JSON Schema on GitHub

JSON Schema

twitch-stream-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dev.twitch.tv/schemas/twitch/stream.json",
  "title": "Twitch Stream",
  "description": "Represents an active live stream on Twitch, including broadcaster information, game category, viewer count, and stream metadata.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the stream"
    },
    "user_id": {
      "type": "string",
      "description": "ID of the user who is streaming"
    },
    "user_login": {
      "type": "string",
      "description": "Login name of the user who is streaming"
    },
    "user_name": {
      "type": "string",
      "description": "Display name of the user who is streaming"
    },
    "game_id": {
      "type": "string",
      "description": "ID of the game/category being played"
    },
    "game_name": {
      "type": "string",
      "description": "Name of the game/category being played"
    },
    "type": {
      "type": "string",
      "enum": ["live", ""],
      "description": "Stream type (live or empty string if offline)"
    },
    "title": {
      "type": "string",
      "description": "Title of the stream"
    },
    "viewer_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of current viewers"
    },
    "started_at": {
      "type": "string",
      "format": "date-time",
      "description": "UTC timestamp when the stream started"
    },
    "language": {
      "type": "string",
      "description": "Language of the stream (BCP 47)"
    },
    "thumbnail_url": {
      "type": "string",
      "format": "uri",
      "description": "URL template for the stream thumbnail"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags applied to the stream"
    },
    "is_mature": {
      "type": "boolean",
      "description": "Whether the stream is marked as mature content"
    }
  },
  "required": ["id", "user_id", "user_login", "user_name", "type", "title", "viewer_count", "started_at", "language"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twitch-stream"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.