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.
Base URL: https://api.themwcograilway.com. The telemetry panel checks availability and sample age.
| Endpoint | Returns | Open |
|---|---|---|
GET /v1/status | Simulated facility status and sample time | Status JSON ↗ |
GET /v1/devices | Available fictional device identifiers | Devices JSON ↗ |
GET /v1/devices/alpine-facilities-01/telemetry | Temperature, voltage, state, and UTC sample time | Telemetry JSON ↗ |
The telemetry endpoint
DEVICE: ALPINE-FACILITIES-01https://api.themwcograilway.com/v1/devices/alpine-facilities-01/telemetryView 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.
| Offset | Count | Meaning |
|---|---|---|
| 0 | 1 | Signed temperature, tenths of a degree Celsius |
| 1 | 1 | Supply voltage, hundredths of a volt |
| 2 | 1 | Simulated state: 0 idle, 1 running |
| 3 | 2 | UTC sample epoch seconds, high word first |
| 5 | 1 | Schema version |
| 6 | 16 | ASCII 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.
| Status | Meaning |
|---|---|
| 200 | Requested synthetic JSON resource |
| 403 | Browser origin is not allowed |
| 404 | Unknown route or device |
| 405 | Unsupported method; use GET or OPTIONS |
| 503 | Temporarily unavailable; retain the prior timestamp and show its age |
This public synthetic-data interface is separate from WALcore's Pro threat-intelligence API.