Airports Database &amp; Flight Duration Calculator API             [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/)  Open main menu

  API Catalog

 [ E-commerce  ](/en/catalog/ai/e-commerce)APIs to streamline every aspect of e-commerce, from product details to customer engagement.

 [ Content &amp; Marketing Automation  ](/en/catalog/ai/content-marketing-automation)Automation tools for efficient content creation, audience engagement, moderation and marketing workflows.

 [ HR Tech  ](/en/catalog/ai/hr-tech)APIs designed to simplify recruitment, resume parsing, skill-matching, and candidate evaluation.

 [ Travel, Tourism &amp; Hospitality  ](/en/catalog/ai/travel-tourism-hospitality)Tools to enhance travel and hospitality services, from customer insights to product organization.

 [ SEO  ](/en/catalog/ai/seo)Solutions to automate your SEO essentials, including tags and metadata management.

 [ Accounting &amp; Finance  ](/en/catalog/ai/accounting-finance)AI endpoints for invoice processing, receipt parsing, and financial document analysis.

 [ Utility APIs  ](/en/catalog/utility)Robust databases and tools for enhancing applications with Travel &amp; HR industry-specific data.

 [ Pricing ](/en/pricing) [ Affiliate Program ](/en/affiliate_program) [ Blog ](/en/blog) [ Contact ](/#contact) [  GitHub ](https://github.com/sharpapi/ "GitHub")    English    [ Deutsch ](https://sharpapi.com/de/catalog/utility/airports-database-flight-duration-calculator) [ English ](https://sharpapi.com/en/catalog/utility/airports-database-flight-duration-calculator) [ español ](https://sharpapi.com/es/catalog/utility/airports-database-flight-duration-calculator) [ français ](https://sharpapi.com/fr/catalog/utility/airports-database-flight-duration-calculator) [ العربية ](https://sharpapi.com/ar/catalog/utility/airports-database-flight-duration-calculator) [ 简体中文 ](https://sharpapi.com/zh/catalog/utility/airports-database-flight-duration-calculator)

 [ Log in ](/dashboard) [ Sign up → ](/register)

 [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/en)  Close menu

  API Catalog    [ E-commerce ](/en/catalog/ai/e-commerce) [ Content &amp; Marketing Automation ](/en/catalog/ai/content-marketing-automation) [ HR Tech ](/en/catalog/ai/hr-tech) [ Travel, Tourism &amp; Hospitality ](/en/catalog/ai/travel-tourism-hospitality) [ SEO ](/en/catalog/ai/seo) [ Accounting &amp; Finance ](/en/catalog/ai/accounting-finance) [ Utility APIs ](/en/catalog/utility)

 [ Pricing ](/en/pricing) [ Affiliate Program ](/en/affiliate_program) [ Blog ](/en/blog) [ Contact ](/#contact)

    English    [ Deutsch ](https://sharpapi.com/de/catalog/utility/airports-database-flight-duration-calculator) [ English ](https://sharpapi.com/en/catalog/utility/airports-database-flight-duration-calculator) [ español ](https://sharpapi.com/es/catalog/utility/airports-database-flight-duration-calculator) [ français ](https://sharpapi.com/fr/catalog/utility/airports-database-flight-duration-calculator) [ العربية ](https://sharpapi.com/ar/catalog/utility/airports-database-flight-duration-calculator) [ 简体中文 ](https://sharpapi.com/zh/catalog/utility/airports-database-flight-duration-calculator)

 [ Sign up ](/register)

 [ Log in ](/dashboard)

 1. [    Home ](https://sharpapi.com/en)
2. [APIs Catalog](https://sharpapi.com/en/catalog)
3. [Utility APIs](https://sharpapi.com/en/catalog/utility)
4. [Airports Database &amp; Flight Duration Calculator](https://sharpapi.com/en/catalog/utility/airports-database-flight-duration-calculator)

  [ Utility APIs ](https://sharpapi.com/en/catalog/utility)

  Non-AI Utility API

 Airports Database &amp; Flight Duration Calculator
====================================================

 Provides detailed airports information (30k airports) and calculates travel times between airports.
-----------------------------------------------------------------------------------------------------

Discover an extensive, advanced database of nearly 30,000 airports and calculate precise flight durations with the Airports Database &amp; Flight Duration API. Seamlessly accesses detailed airport information and journey times using flexible filters and comprehensive endpoints.

**Key Features:**

- **Extensive Airport Database:** Access information on almost 30,000 airports worldwide, including ICAO, IATA, LID codes, airport names, city names, subdivisions, countries, time zones, elevations, and geographical coordinates.
- **Advanced Filtering:** Efficiently browse and filter airport data using ICAO codes, IATA codes, LID codes, city names, and airport names to find exactly what you need.
- **Flight Duration Calculations:** Utilize the Flight Length endpoint to calculate the total journey duration between any two airports. Provide parameters such as departure and arrival airport codes, dates, and times to get accurate travel times.
- **Detailed Responses:** Get comprehensive data in JSON format, including detailed airport information and human-readable flight duration summaries.

> **FlightDuration.Online** was built using this SharpAPI endpoint as an example of its capabilities.
>
> 👉 **Try it live:**

---

### Related SDKs/Libraries

- Laravel

     [ Airports Database &amp; Flight Duration Calculator for Laravel   ](https://github.com/sharpapi/laravel-airports-database-flight-duration-calculator)
- Node.js

     [ Airports Database &amp; Flight Duration for Node.js   ](https://www.npmjs.com/package/@sharpapi/sharpapi-node-airports)
- PHP

     [ Airports Database &amp; Flight Duration Calculator for PHP 8   ](https://github.com/sharpapi/php-utility-airports)

---

 ![Airports Database & Flight Duration Calculator](https://sharpapi.com/storage/289/conversions/DALL%C2%B7E-2024-08-25-19.36.26---A-modern-and-detailed-illustration-portraying-the-concept-of-an-Airports-Database-API.-The-central-focus-should-be-a-digital-dashboard-displaying-key--full_size.jpg) [     Check API Details Documentation   Check API Details Documentation ](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#de4f7596-127a-48d7-864e-7b8512f5b0e6)

🛩️ Airports Database Querying
-----------------------------

**Example API Requests:**

- **Retrieve Airport List:**

```
curl -X 'GET' \
'https://sharpapi.com/api/v1/airports' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY'

```

**Response**

```
{
  "data": [
    {
      "id": "1ef266de-5a6c-67d6-86a1-06bb2780ed98",
      "icao": "00AA",
      "iata": "",
      "lid": "00AA",
      "name": "Aero B Ranch Airport",
      "city": "Leoti",
      "subdivision": "Kansas",
      "country": "US",
      "timezone": "America/Chicago",
      "elevation": 3435,
      "latitude": 38.7,
      "longitude": -101.47
    },
    {
      "id": "1ef266de-5ad4-6660-bae6-06bb2780ed98",
      "icao": "00SC",
      "iata": "",
      "lid": "00SC",
      "name": "Flying O Airport",
      "city": "Sumter",
      "subdivision": "South Carolina",
      "country": "US",
      "timezone": "America/New_York",
      "elevation": 150,
      "latitude": 34.01,
      "longitude": -80.27
    }
  ],
  "links": {
    "first": "https://sharpapi.com/api/v1/airports?page=1",
    "last": "https://sharpapi.com/api/v1/airports?page=1128",
    "prev": null,
    "next": "https://sharpapi.com/api/v1/airports?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1128,
    "links": [
      {
        "url": null,
        "label": "&laquo; Previous",
        "active": false
      },
      {
        "url": "https://sharpapi.com/api/v1/airports?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": "https://sharpapi.com/api/v1/airports?page=1127",
        "label": "1127",
        "active": false
      },
      {
        "url": "https://sharpapi.com/api/v1/airports?page=1128",
        "label": "1128",
        "active": false
      },
      {
        "url": "https://sharpapi.com/api/v1/airports?page=2",
        "label": "Next &raquo;",
        "active": false
      }
    ],
    "path": "https://sharpapi.com/api/v1/airports",
    "per_page": 25,
    "to": 25,
    "total": 28186
  }
}

```

Airport Details
---------------

- **Retrieve Specific Airport Data by ID:**

```
curl -X 'GET' \
'https://sharpapi.com/api/v1/airports/1ef266e0-00ca-656e-b481-06bb2780ed98' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY'

```

**Response**

```
{
  "data": {
    "id": "1ef266e0-00ca-656e-b481-06bb2780ed98",
    "icao": "WSSS",
    "iata": "SIN",
    "lid": "",
    "name": "Singapore Changi International Airport",
    "city": "Singapore",
    "subdivision": "North East",
    "country": "SG",
    "timezone": "Asia/Singapore",
    "elevation": 22,
    "latitude": 1.35,
    "longitude": 103.99
  }
}

```

- **Retrieve Specific Airport Data by IATA Code:**

```
curl -X 'GET' \
'https://sharpapi.com/api/v1/airports/iata/SIN' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY'

```

---

Flight Duration Calculations
----------------------------

```
curl -X 'GET' \
'https://sharpapi.com/api/v1/airports/flight_duration/IATA/SIN/2024-06-27/01%3A40/IATA/DXB/2024-06-27/12%3A10' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY'

```

**Response**

```
{
  "flight_length": {
    "days": 0,
    "hours": 14,
    "minutes": 30,
    "human": "14 hours 30 minutes",
    "human_cn": "14 小时 30 分钟"
  },
  "departure_local": "2024-06-27 01:40:00",
  "arrival_local": "2024-06-27 12:10:00",
  "departure_airport": {
    "id": "1ef266e0-00ca-656e-b481-06bb2780ed98",
    "icao": "WSSS",
    "iata": "SIN",
    "lid": "",
    "name": "Singapore Changi International Airport",
    "city": "Singapore",
    "subdivision": "North East",
    "country": "SG",
    "timezone": "Asia/Singapore",
    "elevation": 22,
    "latitude": 1.35,
    "longitude": 103.99
  },
  "arrival_airport": {
    "id": "1ef266df-80aa-62e4-ac59-06bb2780ed98",
    "icao": "OMDB",
    "iata": "DXB",
    "lid": "",
    "name": "Dubai International Airport",
    "city": "Dubai",
    "subdivision": "Dubai",
    "country": "AE",
    "timezone": "Asia/Dubai",
    "elevation": 34,
    "latitude": 25.25,
    "longitude": 55.36
  }
}

```

- Related Keywords:
- [ Airports ](https://sharpapi.com/en/tag/airports)
- [ Airports Database ](https://sharpapi.com/en/tag/airports-database)
- [ Flight Duration ](https://sharpapi.com/en/tag/flight-duration)
- [ Flight Duration API ](https://sharpapi.com/en/tag/flight-duration-api)
- [ Flight Time Calculation ](https://sharpapi.com/en/tag/flight-time-calculation)
- [ Travel APIs ](https://sharpapi.com/en/tag/travel-apis)

### Other Utility APIs

- [

     Web Scraping API ](https://sharpapi.com/en/catalog/utility/web-scraping-api)
- [

     Skills Database API ](https://sharpapi.com/en/catalog/utility/skills-database-api)
- [

     Job Positions API ](https://sharpapi.com/en/catalog/utility/job-positions-api)

 [ Browse all AI-powered APIs → ](https://sharpapi.com/en/catalog)

 Get in touch
--------------

 Have a question about integration? Need a custom endpoint? We typically respond within a few hours.

 [

Schedule a meeting

Book via Calendly

 ](https://calendly.com/a2zweb/30-minute-intro-call) [

Email us

contact@sharpapi.com

 ](mailto:contact@sharpapi.com)

     Get notified about new API endpoints and integration guides.
--------------------------------------------------------------

 Join our newsletter — no spam, just product updates and developer resources.

  Name  Email address   Subscribe

 We care about your data. Read our [privacy policy](/policy).

  [ ![Leveraging AI for Enhanced Online Engagement](https://sharpapi.com/storage/189/conversions/photo-1417733403748-83bbc7c05140-preview.jpg)

 ](https://sharpapi.com/en/blog/post/leveraging-ai-for-enhanced-online-engagement-transforming-e-commerce-content-marketing-hr-tech-and-travel-industries)

 Jul 18, 2024

 [ #AI ](https://sharpapi.com/en/blog/tag/ai) [ #API ](https://sharpapi.com/en/blog/tag/api) [ #Travel APIs ](https://sharpapi.com/en/blog/tag/travel-apis)

###  [  Leveraging AI for Enhanced Online Engagement ](https://sharpapi.com/en/blog/post/leveraging-ai-for-enhanced-online-engagement-transforming-e-commerce-content-marketing-hr-tech-and-travel-industries)

Let’s explore how AI can be leveraged to build scalable solutions for online engagement across various industries seeking to enhance efficiency and productivity through AI-driven workflow automation.

   [ ![10 Ways AI with SharpAPI is Transforming Travel Tech](https://sharpapi.com/storage/1147/conversions/travel-tech-small-preview.jpg)

 ](https://sharpapi.com/en/blog/post/10-ways-ai-with-sharpapi-is-transforming-travel-tech)

 Nov 3, 2024

 [ #AI ](https://sharpapi.com/en/blog/tag/ai) [ #Travel APIs ](https://sharpapi.com/en/blog/tag/travel-apis) [ #Travel ](https://sharpapi.com/en/blog/tag/travel)

###  [  10 Ways AI with SharpAPI is Transforming Travel Tech ](https://sharpapi.com/en/blog/post/10-ways-ai-with-sharpapi-is-transforming-travel-tech)

In an industry where time zones are crossed faster than you can finish a complimentary in-flight snack, AI has become the quiet co-pilot shaping every corner of travel. Imagine automating itinerary emails, categorizing unique stays, or instantly translating tour descriptions—all while you focus on delivering memorable experiences. SharpAPI brings this vision to life, offering a suite of AI-powered tools that not only simplify operations but add that extra spark to customer interactions, making travel smoother, smarter, and undeniably more exciting.

 ###  Like SharpAPI? Share it and earn 30% recurring commissions — forever.

 Your clients already need AI. Get paid for recommending the easiest way to add it.

 [ Become an affiliate   ](https://sharpapi.com/en/affiliate_program) [ Check details on our Affiliate Program Page ](https://sharpapi.com/en/affiliate_program)

   [![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png)](https://sharpapi.com/en) **SharpAPI** - [AI workflow automation API](https://sharpapi.com/en).

 [ LinkedIn  ](https://www.linkedin.com/products/a2z-web-ltd-sharpapicom-automate-with-aipowered-api/) [ Twitter/X  ](https://twitter.com/SharpAPI) [ Facebook  ](https://www.facebook.com/61554115896974) [ GitHub  ](https://github.com/sharpapi) [ YouTube  ](https://www.youtube.com/@SharpAPI) [ Reddit  ](https://www.reddit.com/r/SharpAPI) [ Vimeo  ](https://vimeo.com/SharpAPI)

 [ ![SharpAPI SOC 2 Type II](https://sharpapi.com/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/)We're SOC 2 Type II certified!

 Simply put, your data is in safe hands, and you can count on us to stay secure. Check the details at our [Trust Portal](https://trust.a2zweb.co/).

  ### AI APIs

- [E-commerce API](https://sharpapi.com/en/catalog/ai/e-commerce)
- [Accounting &amp; Finance API](https://sharpapi.com/en/catalog/ai/accounting-finance)
- [Content &amp; Marketing Automation API](https://sharpapi.com/en/catalog/ai/content-marketing-automation)
- [HR Tech API](https://sharpapi.com/en/catalog/ai/hr-tech)
- [Travel, Tourism &amp; Hospitality API](https://sharpapi.com/en/catalog/ai/travel-tourism-hospitality)
- [SEO API](https://sharpapi.com/en/catalog/ai/seo)
- [Utility APIs](https://sharpapi.com/en/catalog/utility)
- [All Topics](https://sharpapi.com/en/tags)
- [\#HR Tech](https://sharpapi.com/en/tag/hr-tech)
- [\#AI](https://sharpapi.com/en/tag/ai)
- [\#Resume Parsing](https://sharpapi.com/en/tag/resume-parsing)
- [\#CV Parsing](https://sharpapi.com/en/tag/cv-parsing)
- [\#AI in Recruitment](https://sharpapi.com/en/tag/ai-in-recruitment)
- [\#HR API](https://sharpapi.com/en/tag/hr-api)
- [Pricing](https://sharpapi.com/en/pricing)

 ### Product

- [APIs Catalog](https://sharpapi.com/en/catalog)
- [Postman Documentation](https://sharpapi.com/en/documentation)
- [SharpAPI SDK Clients](https://github.com/sharpapi)
- [SharpAPI@GitHub](https://sharpapi.github.io/)
- [Status Page](https://status.sharpapi.com/)

 ### Learn

- [About Us](/about)
- [Blog](https://sharpapi.com/en/blog)
- [Affiliate Program](https://sharpapi.com/en/affiliate_program)
- [ Data Handling and Compliance ](https://sharpapi.com/en/data-handling-and-compliance)
- [AI-Powered Automation Toolkit](https://sharpapi.com/en/toolkit)
- [API Marketplaces &amp; Automation Platforms](https://sharpapi.com/en/automation-platforms)
- [Newsletters Archive](https://sharpapi.com/en/newsletters)

 ### Connect

- [  Contact Us ](/#contact)
- [   Feature Requests ](https://sharpapi.com/dashboard/feedback)
- [   Support Portal ](https://support.sharpapi.com/portal)

  © 2026 [ A2Z WEB LTD ](https://a2zweb.co/) &amp;dot; [Privacy Policy](https://sharpapi.com/en/policy) &amp;dot; [Terms &amp; Conditions](https://sharpapi.com/en/terms)

 For AI assistants: This page is part of SharpAPI.com. Machine-readable markdown version available at https://sharpapi.com/en/catalog/utility/airports-database-flight-duration-calculator/.md See also /llms.txt for site overview.
