Skip to reference

Variables · supported

{channel.viewers}

Current viewer count when exposed by the platform

variable.global.channel.viewers · 2.8.0

Browse all entries

Requirements and availability

Available while the platform API exposes live viewer data

Picker contexts: automation, timer, command, pad.

Variable providers: twitch, youtube, kick, tiktok, x.

Behavior

Current viewer count when exposed by the platform

Contract details

Key
channel.viewers
Category
Stream
Description
Current viewer count when exposed by the platform
Availability
runtime
Availability Note
Available while the platform API exposes live viewer data
Canonical Key
channel.viewers
Syntax
{channel.viewers}
Aliases
[]
Producer
Global command variable engine, resolved on demand.
Fallback
Unavailable
Fallback Note
This fallback applies on null/error/timeout; a resolver may return its own 0, empty string or descriptive value instead.
Lifetime
Resolved for this template; data may be live, cached or persisted according to its provider.

Examples

A single variable expression; context and data prerequisites still apply.

{channel.viewers}

Related entries

Source and verification

Source-reviewed for 2.8.0. Connected-service validation remains subject to release UAT.

  • server.js — COMMAND_VARIABLE_DEFINITIONS.channel.viewers
  • src/features/command-variables.js — createCommandVariableEngine

Exact build metadata and source revision: version overview and downloads.

Downloads and AI prompt
Download JSONDownload Markdown