Zum Inhalt
HALOWERK

Frachtwerk

port pair

Estimates great-circle port distance and sailing time from supplied port coordinates and speed. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age.

POST https://fracht.halowerk.com/v1/port-pair

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
originobjectJa
destinationobjectJa
speed_knotsnumberJa
detour_factornumberJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "origin",
    "destination",
    "speed_knots",
    "detour_factor"
  ],
  "additionalProperties": false,
  "properties": {
    "origin": {
      "type": "object",
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false,
      "properties": {
        "lat": {
          "type": "number",
          "minimum": -90,
          "maximum": 90,
          "description": ""
        },
        "lon": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": ""
        }
      }
    },
    "destination": {
      "type": "object",
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false,
      "properties": {
        "lat": {
          "type": "number",
          "minimum": -90,
          "maximum": 90,
          "description": ""
        },
        "lon": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": ""
        }
      }
    },
    "speed_knots": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 100,
      "description": ""
    },
    "detour_factor": {
      "type": "number",
      "minimum": 1,
      "maximum": 5,
      "description": ""
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "origin": {
    "lat": 53.5461,
    "lon": 9.9661
  },
  "destination": {
    "lat": 51.95,
    "lon": 4.14
  },
  "speed_knots": 15,
  "detour_factor": 1.12
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://fracht.halowerk.com/v1/port-pair/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →