Skip to content
HALOWERK

Geodata Tools

transit fare extra stop cost

Transit itinerary insertion finds the marginal fare of one extra boarding and any later ticket resets. Use it when an agent needs pricing a detour inside an existing itinerary.

POST https://geo.halowerk.com/v1/transit-fare-extra-stop-cost

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
boardingsarrayYes
fareintegerYes
windowintegerYes
transfersintegerYes
extraintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "boardings": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 44640
      },
      "maxItems": 80,
      "minItems": 1
    },
    "fare": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "window": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10080
    },
    "transfers": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "extra": {
      "type": "integer",
      "minimum": 0,
      "maximum": 44640
    }
  },
  "required": [
    "boardings",
    "fare",
    "window",
    "transfers",
    "extra"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "boardings": [
    0,
    38,
    92,
    164
  ],
  "fare": 225,
  "window": 120,
  "transfers": 2,
  "extra": 55
}

Result & documentation

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 โ†’