Skip to content
Changelog

stream.categories

Searches a platform's categories, to choose one for stream.info.set.

JSON-RPC 2.0project.read

Twitch and Kick search their own categories; YouTube's fixed list is filtered by name. At most 20.

Parameters

  • platformstringrequiredThe platform.
  • querystringWhat to search for.

Result

  • (list){ id: string, name: string, image?: string }[]Matching categories.

Errors

Invalid params (-32602) without platform. A state error (-32005) when the platform doesn't answer.

From an AI agent

The MCP server's stream_info (action: categories) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "stream.categories",
"params": {
"platform": "twitch",
"query": "chess"
}
}

Result

[{ "id": "743", "name": "Chess", "image": "https://…" }]

stream.info.set