Skip to content
HALOWERK

Mobility, Warnings and Local Data

gtfs frequency vehicle concurrency

Transit vehicle concurrency computes the greatest number of simultaneously active runs for a finite exact dispatch window. Use it when an agent needs estimating a one-direction in-service vehicle minimum.

POST https://ort.halowerk.com/v1/gtfs-frequency-vehicle-concurrency

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
windowobjectYes
run_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
    },
    "run_secs": {
      "type": "integer",
      "minimum": 1,
      "maximum": 86400
    }
  },
  "required": [
    "window",
    "run_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
  },
  "run_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": {
        "minimum_in_service": {
          "type": "integer"
        },
        "first_peak": {
          "type": "string"
        },
        "total_trips": {
          "type": "integer"
        }
      },
      "required": [
        "minimum_in_service",
        "first_peak",
        "total_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 โ†’