← Agent Data Hub · Search endpoints · /llms.txt

Geodesic Haversine Distance (km / miles / NM), Bearing & Flight Time Calculator

Calculates exact great-circle distance in kilometers, statute miles, and nautical miles plus initial compass bearing and commercial jet flight duration between two coordinates.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/geo-haversine-distance?lat1=52.52&lon1=13.405&lat2=40.7128&lon2=-74.006&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"geo-haversine-distance"}

Parameters

lat1Origin Latitude (default: 52.52 Berlin)
lon1Origin Longitude (default: 13.405)
lat2Destination Latitude (default: 40.7128 New York)
lon2Destination Longitude (default: -74.006)

Example response (live, compact)

{
  "apiId": "geo-haversine-distance",
  "data_freshness": "cached",
  "data": {
    "origin": {
      "lat": 52.52,
      "lon": 13.405
    },
    "destination": {
      "lat": 40.7128,
      "lon": -74.006
    },
    "distance_km": 6385.01,
    "distance_miles": 3967.46,
    "distance_nautical_miles": 3447.63,
    "estimated_jet_flight_hours": 7.96,
    "icao_estimated_economy_co2_kg_per_pax": 734.3
  },
  "source": "100% Platform Geodesic Spherical Trigonometry Engine",
  "license": "100% Platform Owned Compute"
}

Source & license

Source100% Platform Geodesic Spherical Trigonometry Engine
License100% Platform Owned Compute
Source URLhttps://localhost:3000/api/v1/call/geo-haversine-distance
Termshttps://localhost:3000/llms.txt
CategoryGeodata, Weather & Environment › 4. Countries, Holidays & Timezones