Frachtwerk
freight rail wagon length fit
Return consist length and the longest leading wagon prefix fitting a declared siding with coupling gaps.
POST https://fracht.halowerk.com/v1/freight-rail-wagon-length-fitInputs
| Field | Type | Required | Description |
|---|---|---|---|
| locomotive_m | number | Yes | |
| wagons_m | array | Yes | |
| coupling_gap_m | number | Yes | |
| siding_m | number | Yes |
Show full input schema
{
"type": "object",
"properties": {
"locomotive_m": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000
},
"wagons_m": {
"type": "array",
"items": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000
},
"maxItems": 200,
"minItems": 0
},
"coupling_gap_m": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
},
"siding_m": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000
}
},
"required": [
"locomotive_m",
"wagons_m",
"coupling_gap_m",
"siding_m"
],
"additionalProperties": false
}Published input example
{
"locomotive_m": 20,
"wagons_m": [
15,
15,
15
],
"coupling_gap_m": 1,
"siding_m": 55
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Frachtwerk0.001 USDC
airport reference
POSThttps://fracht.halowerk.com/v1/airport-referenceLooks up public-domain OurAirports reference records by exact identifier, IATA, ICAO, GPS or local code. Exposes snapshot date and ambiguity. No flight availability, route service, fare or booking claim.
- Frachtwerk0.001 USDC
airport weather
POSThttps://fracht.halowerk.com/v1/airport-weatherReturns NOAA Aviation Weather Center METAR or TAF JSON for one ICAO code, with source issue-time freshness checks. Rejects missing/stale data. No flight status, route planning or booking is performed.
- Frachtwerk0.004 USDC
bl parse
POSThttps://fracht.halowerk.com/v1/bl-parseSeparates common bill-of-lading and air-waybill reference components. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time wind