Skip to content
HALOWERK

Mobility, Warnings and Local Data

gtfs frequency stop service window

Transit stop service window shifts an exact origin timetable by the supplied stop offset. Use it when an agent needs finding the first and last scheduled call at a downstream stop.

POST https://ort.halowerk.com/v1/gtfs-frequency-stop-service-window

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
windowobjectYes
stop_offset_secsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "window": {
      "type": "object",
      "properties": {
        "start_time": {
          "type": "string"
        },
        "end_time": {
          "type": "string"
        },
        "headway_secs": {
          "type": "integer",
          "minimum": 1,
          "maximum": 86400
        },
        "exact_times": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1
        }
      },
      "required": [
        "start_time",
        "end_time",
        "headway_secs"
      ],
      "additionalProperties": false
    },
    "stop_offset_secs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 86400
    }
  },
  "required": [
    "window",
    "stop_offset_secs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "window": {
    "start_time": "07:45:00",
    "end_time": "19:15:01",
    "headway_secs": 300,
    "exact_times": 1
  },
  "stop_offset_secs": 2700
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "first_stop_time": {
          "type": "string"
        },
        "last_stop_time": {
          "type": "string"
        },
        "first_day_offset": {
          "type": "integer"
        },
        "last_day_offset": {
          "type": "integer"
        }
      },
      "required": [
        "first_stop_time",
        "last_stop_time",
        "first_day_offset",
        "last_day_offset"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’