Go to example tasks

Calculate flight distance and time between airports

Get great-circle distance, bearing and estimated flight time for airport pairs. Each row has distance in km, miles and nautical miles, the estimated flight time and airport details such as IATA code, city and time zone.

Try for free
Airport Database API - IATA, ICAO, Flight Distance, METAR
Airport Database API - IATA, ICAO, Flight Distance, METARmartin10291/airports-flight-distance
Route
Great circle km
Miles
Nautical miles
+5 fields
Text
Number
Boolean
List
Object

Input

What to do:distance
Routes (distance mode):JFK-LHR+2

Output fields

Route
Great circle km
Miles
Nautical miles
Initial bearing compass
Estimated flight time
Timezone difference hours
From airport
To airport

How it works

Sign up on Apify or log in

The Airport Database API - IATA, ICAO, Flight Distance, METAR Actor is ready to run with the inputs already set for "Calculate flight distance and time between airports". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Calculate flight distance and time between airports" task

The Airport Database API - IATA, ICAO, Flight Distance, METAR Actor will start running based on the input automatically. You can also change all the input fields, like what to do and routes (distance mode), to match your specific use case.

Receive the "Calculate flight distance and time between airports" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as route, great circle km, miles, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Calculate flight distance and time between airports" task via API.

Image

Integrate "Calculate flight distance and time between airports" into your workflow

Connect "Calculate flight distance and time between airports" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

You pay per result: $0.001 per result on the Free plan (about $1.00 per 1,000). Paid Apify plans get lower tiered prices.

Edit routes (IATA codes as FROM-TO). Other modes look up airports by code or by radius around a location.

Yes. Add this task to an Apify Schedule and use onlyNew: later runs return only what was not reported before. The first run returns everything. Keep the same Monitor ID for each watch list.