Control StageTime from anything on the local network.
1.3 marks endpoints added in StageTime 1.3, 1.2 those from 1.2 and 1.1 those from 1.1. Everything older is unchanged.
0.0.0.0 on the configured port (default 8088), so it's reachable from any device on the same network. Every endpoint is a plain GET and returns JSON: { "ok": true, ... } on success, or { "ok": false, "error": "..." } with a 4xx status. CORS is open, so browser-based tools can call it directly. Change the port under App ▸ Settings… ▸ Network.http://<computer-ip>:8088/ (HTML) and /api/help (JSON), and Help ▸ API Reference… opens it in a window with the base URLs for that machine. Options changed through the API are remembered across launches and mirrored on the remote. Every endpoint that existed in 1.0 works exactly as before.?key=… or an X-API-Key header, or it gets a 401. /api/status, /api/events, /api/help, /api/presets, /api/quickmessages, /api/displays, /api/rundown, /display and /manual stay open. Every request is listed in App ▸ Connection Log…./api/start is /stagetime/start. See OSC.ok as soon as it is dispatched, so a status read within a few milliseconds may not show the change yet; /api/events pushes it the moment it lands.| Method | Endpoint | Description |
|---|---|---|
| GET | /api/status | Full state as JSON: time, light color, mode, options, preset and quick-message slots. |
| GET | /api/events | Server-Sent Events stream. One data: line with the status object on every change, plus a : ping every 15 seconds. Use for instant Companion feedback instead of polling. |
| GET | /api/help | This reference as JSON. |
| GET | /manual | 1.2 The built-in manual as a web page. |
| GET | /api/displays | 1.2 Monitors attached to the computer, with which one holds the display and which are mirrors. |
| GET | /api/log | 1.2 Every request received since launch (up to 1000). Needs the key when one is set. |
| GET | /api/log/clear | 1.2 Empty the connection log. |
{
"ok": true,
"version": "1.3.0",
"remainingSeconds": 573,
"running": true,
"localMode": false,
"countUpMode": false,
"overtime": false,
"formattedTime": "09:33",
"formattedTimeSigned": "09:33",
"lightColor": "green",
"lightColorHex": "#00ff00",
"progress": 0.955,
"wrapUpSeconds": 120,
"flashOn": true,
"flashBorder": false,
"stopAtZero": false,
"soundOn": false,
"showMilliseconds": false,
"showProgress": false,
"bgBlue": false,
"blackout": false,
"cornerClock": false,
"showEndsAt": true,
"endsAt": "3:45:00 PM",
"elapsedRunSeconds": 27,
"buzzerSound": "default",
"buzzerVolume": 100,
"apiKeySet": false,
"mirrors": [],
"displayWindowVisible": true,
"timerFont": "default",
"fontScale": 100,
"timerColor": "#ffffff",
"layoutScale": 100,
"layoutX": 50,
"layoutY": 50,
"hideLight": false,
"keyMode": "off",
"layoutPreset": "",
"guides": false,
"testPattern": false,
"oscEnabled": false,
"ndiAvailable": true,
"ndiEnabled": true,
"ndiName": "StageTime",
"ndiConnections": 1,
"ndiOnProgram": false,
"ndiOnPreview": true,
"messageVisible": false,
"messageWithTimer": false,
"messageShownWithTimer": false,
"autoMessageAtZero": false,
"autoMessageText": "TIME'S UP",
"timeZone": "system",
"hour12": true,
"preset_1_name": "Keynote",
"preset_1_time": "45:00",
"presetCount": 1,
"quick_1_text": "WRAP UP",
"quick_2_text": "TIME'S UP",
"quick_3_text": "Q&A",
"quickCount": 3,
"rundownCount": 4,
"rundownIndex": 2,
"rundownCue": "Keynote",
"rundownNext": "Q&A",
"rundownStandby": 3,
"rundownAutoAdvance": true,
"rundownActual": 27,
"rundownOver": -573,
"webRemoteEnabled": true,
"webRemoteSessions": 1
}| Method | Endpoint | Description |
|---|---|---|
| GET | /api/start | Start the countdown or stopwatch. Ignored when a countdown is at 00:00 (set a time first). |
| GET | /api/stop | Stop. |
| GET | /api/toggle | Start if stopped, stop if running. |
| GET | /api/clear | Stop and reset to 00:00. |
| GET | /api/set?minutes=M&seconds=S | Clear and set the countdown to M:S. Either parameter may be omitted. |
| GET | /api/add?minutes=M&seconds=S | Add time (or subtract with negative values). Works while running. |
| GET | /api/endat?time=HH:MM | 1.1 Count down to a wall-clock time (24h, in the display's clock zone; tomorrow if already past) and start. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/mode/countdown | Countdown mode (also leaves clock or stopwatch mode). |
| GET | /api/mode/local | Show the clock instead of a timer. |
| GET | /api/countup/on | Stopwatch mode on. |
| GET | /api/countup/off | Stopwatch mode off. |
| GET | /api/milliseconds/on | 1.1 Stopwatch shows MM:SS.mmm. |
| GET | /api/milliseconds/off | 1.1 Stopwatch shows MM:SS. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/wrapup?minutes=M&seconds=S | Yellow light when this much time remains. 0 disables. |
| GET | /api/flash/on | Flash the red light at zero. |
| GET | /api/flash/off | Don't flash the light. |
| GET | /api/flashborder/on | 1.1 Pulse a red glow around the timer box at zero, in addition to the light. |
| GET | /api/flashborder/off | 1.1 Border flash off. |
| GET | /api/stopatzero/on | Hold at 00:00 instead of counting into overtime. |
| GET | /api/stopatzero/off | Count into overtime. |
| GET | /api/sound/on | 1.1 Buzzer when the countdown reaches zero. |
| GET | /api/sound/off | 1.1 Buzzer off. |
| GET | /api/sound/test | 1.1 Play the buzzer now. |
| GET | /api/sound/volume?level=N | 1.2 Buzzer volume, 0 to 100. |
| GET | /api/sound/default | 1.2 Back to the built-in beeps (a custom sound is chosen under Options ▸ Buzzer Sound…). |
| GET | /api/progress/on | 1.1 Progress bar under the digits, on the display and the remote. |
| GET | /api/progress/off | 1.1 Progress bar off. |
| GET | /api/automessage/on | 1.1 Automatically show a message when the countdown reaches zero. |
| GET | /api/automessage/off | 1.1 Auto-message off. |
| GET | /api/automessage?text=… | 1.1 Set the text of that automatic message (default TIME'S UP). |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/message?text=WRAP%20UP | Show a message (max 6 words). URL-encode the text. Uses the "keep timer visible" preference. |
| GET | /api/message?text=…&withTimer=1 | 1.1 Same, overriding that preference for this message (1 beneath the timer, 0 full screen). |
| GET | /api/message/hide | Retract the message. |
| GET | /api/messagewithtimer/on | 1.1 Preference: messages sit below the timer instead of replacing it. |
| GET | /api/messagewithtimer/off | 1.1 Preference: messages replace the timer. |
| GET | /api/quickmessages | 1.1 List saved quick messages. |
| GET | /api/quickmessage/1 | 1.1 Show quick message slot N. Slots above 6 work too; only 1–6 appear in status. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/presets | List presets (name, seconds, wrapUpSeconds). |
| GET | /api/preset/1 | Load preset slot N: clears, sets time and wrap-up. Slots above 5 work too; only 1–5 appear in status. |
| GET | /api/preset/load?name=Keynote | Load a preset by name. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/rundown | The cue list with each cue's planned time, status, actual run time and over/under. Open without a key. |
| GET | /api/rundown/go | GO: load and start the standby cue, put the following cue on standby. /api/rundown/next does the same. |
| GET | /api/rundown/standby/N | Put cue N on standby, so the next GO fires it. |
| GET | /api/rundown/prev | Load and start the previous cue. |
| GET | /api/rundown/go/N | Load and start cue N. |
| GET | /api/rundown/load/N | Load cue N without starting it. |
| GET | /api/rundown/autoadvance/on | Fire the standby cue automatically when the live one reaches zero (/off to stop). |
| GET | /api/rundown/cuename/on | Show the live cue's name at the top of the display (/off to hide). |
| GET | /api/rundown/reset | Clear every cue's run data and make none live. The list stays. |
| GET | /api/rundown/clear | Delete every cue. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/blackout/on | 1.1 Black out the display instantly. The timer keeps running underneath. |
| GET | /api/blackout/off | 1.1 Restore the display. |
| GET | /api/blackout/toggle | 1.1 Toggle blackout — handy for a single button. |
| GET | /api/display/hide | 1.3 Turn the display window on that computer off. Off only hides it: the timer, mirrors, NDI output, the browser source and remotes keep working. |
| GET | /api/display/show | 1.3 Turn the display window back on. |
| GET | /api/display/toggle | 1.3 Toggle the display window. |
| GET | /api/guides/on | 1.3 Safe-area guides (action safe 93%, title safe 90%, centre cross) over the display. /off and /toggle too. |
| GET | /api/testpattern/on | 1.3 Full-screen alignment test pattern (grid, circle, colour bars, resolution). The timer keeps running underneath. /off and /toggle too. |
| GET | /api/cornerclock/on | 1.1 Small time-of-day clock in the corner of the display. |
| GET | /api/cornerclock/off | 1.1 Corner clock off. |
| GET | /api/endsat/on | 1.2 Show "Ends 3:45:00 PM" in the top-left corner while a countdown runs, "Ended …" in overtime. |
| GET | /api/endsat/off | 1.2 Ends-at readout off. |
| GET | /api/mirror/N/on | 1.2 Mirror the display onto monitor N (numbered as in /api/displays); /off removes it. |
| GET | /api/background/blue | Blue background for keying. The same as key mode box; see /api/key. |
| GET | /api/background/black | Black background. The same as key mode off. |
| GET | /api/clock/12h | 1.1 12-hour clock format. |
| GET | /api/clock/24h | 1.1 24-hour clock format. |
| GET | /api/timezone?tz=Area/City | 1.1 Clock time zone (IANA name such as America/New_York, or system). Also used by /api/endat. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/appearance?font=ID&size=N | Display appearance. Parameters: font, messageFont, size, bold, italic (1 or 0), color, messageColor (RRGGBB). With no parameters it returns the current values and the list of font ids. A font id is a bundled one (fonts) or sys:Family Name for a font installed on the computer running StageTime (systemFonts); a system font only shows on outputs where it is installed. size is 40 to 100: percent of the largest size that fits, so it can never overflow. reset=1 puts the defaults back. |
| GET | /api/layout?scale=N&x=N&y=N | Size and position of the timer box, for keying it into a corner of a picture. Also takes light=on|off and colorbystate=on|off. With no parameters it returns the current layout and the preset names. scale is 20 to 100 (percent of full size); x and y are 0 to 100 (0 = left / top, 50 = centred, 100 = right / bottom, always inside a 5% safe margin). light=off hides the traffic light and centres the time; colorbystate=on then colours the time green / yellow / red instead. reset=1 puts the defaults back. |
| GET | /api/layout/presets | List saved layout presets. |
| GET | /api/layout/preset/1 | Recall layout preset N (numbered as in /api/layout/presets). |
| GET | /api/layout/preset?name=Corner | Recall a layout preset by name. |
| GET | /api/layout/save?name=Corner | Save the current layout as a preset (replaces one with the same name). |
| GET | /api/layout/delete?name=Corner | Delete a layout preset. |
| GET | /api/key/off | Key mode off: black background, everything visible. |
| GET | /api/key/box | Blue background; the rounded box stays. |
| GET | /api/key/time | The box is keyed out too, leaving only the time, light and messages on blue. The reply includes a warning if a text colour clashes with the key. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/ndi/on | Put the source on the network. Returns 400 if that copy of StageTime has no NDI library (the 32-bit Windows build). |
| GET | /api/ndi/off | Take the source off the network. |
| GET | /api/ndi/toggle | Toggle NDI output. |
| GET | /api/ndi?resolution=1080p&fps=30 | NDI output options: name, resolution (720p, 1080p, 2160p), fps (25, 29.97, 30, 50, 59.94, 60), alpha, full and box (on or off). Every parameter is optional; with none it returns the current values, whether the source is running, how many receivers are connected and its tally. alpha: transparent background with an alpha channel. full: off (the default) takes the size and position from the layout, on keeps the NDI picture full size. box: show or hide the rounded box. |
/api/ with /stagetime/./stagetime/start, /stagetime/clear/stagetime/add 1 30 — numbers fill the route's parameters in order (minutes, seconds)/stagetime/message "WRAP UP"/stagetime/blackout 1 — a lone 1 or 0 (or true / false) picks /on or /off/stagetime/preset 2, /stagetime/quickmessage 1, /stagetime/layout/preset "Corner"/stagetime/appearance "size=80&bold=1" — one string with a=b&c=d is passed as the query for any route/api/status or /api/events for feedback.| Method | Endpoint | Description |
|---|---|---|
| GET | /display | The display as a web page for OBS, vMix or any browser. Add ?bg=black, ?bg=blue or ?bg=transparent to pin the background. 1.3 Layout, per source: ?layout=full ignores the app's size and position; ?scale=40&x=100&y=100 sets its own; ?light=0 hides the traffic light and ?box=0 the rounded box (1 forces them on). Parameters combine. |
| GET | /display/events | Server-Sent Events stream of the visual state /display renders from. |
| GET | /remote | The remote as a web page, behind the PIN set under App ▸ Web Remote…. Off by default. |
| GET | /remote/rundown | The rundown for signed-in devices, with a live preview of the display. |
| GET | /remote/logout | Sign this device out of the web remote. |
| GET | /manual | The built-in manual. |
/api/status returns the fields below; /api/events streams the same object.MM:SS (absolute value). Unchanged since 1.0.MM:SS, with a leading - in overtime.gray, green, yellow or red, and the same as a hex color for Companion button styling.system) and format.default or custom, and 0–100. apiKeySet — a key is required for changes. mirrors — monitor numbers currently mirroring.default, a bundled font id or sys:Family Name), fontScale (40–100), fontBold, fontItalic, timerColor / messageColor (#rrggbb), fontMissing (name of a chosen system font that is not installed; empty when all is well).off, box or time; hideBox is true in time. colorWarning — non-empty when a text colour clashes with the key or is hard to read. guides / testPattern — showing or not.With StageTime running, try these from a terminal:
# Check current status
curl http://localhost:8088/api/status
# Set timer to 10 minutes
curl http://localhost:8088/api/set?minutes=10
# Start the countdown
curl http://localhost:8088/api/start
# Show a message on screen
curl "http://localhost:8088/api/message?text=WRAP%20UP"
# Black out the display (and bring it back)
curl http://localhost:8088/api/blackout/toggle
# Follow every state change live
curl -N http://localhost:8088/api/events