New Hampshire · White MountainsIndependent visitor & history guide
Mount Washington
Cog Railway

An independent railway notebook

HISTORY · ENGINEERING · VISITINGNew Hampshire, USA
Reference edition / 2026

Research annex / JSON interface

Telemetry API.

Three read-only endpoints for the synthetic Alpine Facilities device. This API contains no Mount Washington Cog Railway operating data.

Public API address configured

Base URL: https://api.themwcograilway.com. The telemetry panel checks availability and sample age.

Version 1 · GET requests · JSON responses · synthetic data
EndpointReturnsOpen
GET /v1/statusSimulated facility status and sample timeStatus JSON ↗
GET /v1/devicesAvailable fictional device identifiersDevices JSON ↗
GET /v1/devices/alpine-facilities-01/telemetryTemperature, voltage, state, and UTC sample timeTelemetry JSON ↗

The telemetry endpoint

DEVICE: ALPINE-FACILITIES-01
GEThttps://api.themwcograilway.com/v1/devices/alpine-facilities-01/telemetry

View this data in the instrument panel →

Example response

Illustrative fixture only — these are not current readings.

{
  "schema_version": 1,
  "synthetic": true,
  "device_id": "alpine-facilities-01",
  "name": "Ridge utility enclosure",
  "sample_time": "2026-10-11T00:00:00Z",
  "temperature": { "value": 18.4, "unit": "degC" },
  "supply_voltage": { "value": 24.08, "unit": "V" },
  "equipment_state": "running",
  "refresh_seconds": 10
}

Modbus TCP research endpoint

The same fictional device is available to Modbus TCP clients at rtu01.themwcograilway.com:502. Use unit ID 1, function 04 (Read Input Registers), starting offset 0, and quantity 22. This is a native TCP protocol; use the JSON links above for browser access.

Input registers · zero-based wire offsets · synthetic data
OffsetCountMeaning
01Signed temperature, tenths of a degree Celsius
11Supply voltage, hundredths of a volt
21Simulated state: 0 idle, 1 running
32UTC sample epoch seconds, high word first
51Schema version
616ASCII device ID, two bytes per register, NUL padded

Allow at least ten seconds between readings. Connections and traffic are limited. No railway equipment or physical controls are connected. Requests may be recorded for defensive research as described on the About page.

Using the readings

Read every ten seconds, keep the UTC sample timestamp, and treat samples older than thirty seconds as stale. Use a five-second request timeout. Responses specify Cache-Control: no-store. Browser access is restricted to configured site origins and sends no credentials.

Response behavior
StatusMeaning
200Requested synthetic JSON resource
403Browser origin is not allowed
404Unknown route or device
405Unsupported method; use GET or OPTIONS
503Temporarily unavailable; retain the prior timestamp and show its age

This public synthetic-data interface is separate from WALcore's Pro threat-intelligence API.