Skip to content
HALOWERK

Mobility, Warnings and Local Data

gtfs frequency last transfer

Last transit connection returns the final feeder and onward departures allowing the transfer buffer. Use it when an agent needs checking an end-of-service connection from the first window to the second.

POST https://ort.halowerk.com/v1/gtfs-frequency-last-transfer

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
windowsarrayYes
ride_secsintegerYes
buffer_secsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "windows": {
      "type": "array",
      "items": {
        "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
      },
      "maxItems": 2,
      "minItems": 2
    },
    "ride_secs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 86400
    },
    "buffer_secs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 86400
    }
  },
  "required": [
    "windows",
    "ride_secs",
    "buffer_secs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "windows": [
    {
      "start_time": "08:00:00",
      "end_time": "20:00:01",
      "headway_secs": 900,
      "exact_times": 1
    },
    {
      "start_time": "08:20:00",
      "end_time": "20:20:01",
      "headway_secs": 900,
      "exact_times": 1
    }
  ],
  "ride_secs": 1200,
  "buffer_secs": 120
}

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": {
        "feeder_start": {
          "type": [
            "string",
            "null"
          ]
        },
        "onward_start": {
          "type": [
            "string",
            "null"
          ]
        },
        "missed_trips": {
          "type": "integer"
        }
      },
      "required": [
        "feeder_start",
        "onward_start",
        "missed_trips"
      ]
    },
    "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 โ†’