机场数据库和飞行时间计算器 API             [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/)  打开主菜单    

  API 目录      

 [ 电子商务  ](/zh/catalog/ai/e-commerce)从产品详情到客户互动，简化电子商务各个方面的API。

 [ 内容与营销自动化  ](/zh/catalog/ai/content-marketing-automation)自动化工具用于高效的内容创建、观众互动、审核和营销工作流程。

 [ 人力资源技术  ](/zh/catalog/ai/hr-tech)旨在简化招聘、简历解析、技能匹配和候选人评估的API。

 [ 旅游、旅游业和酒店业  ](/zh/catalog/ai/travel-tourism-hospitality)工具以增强旅行和酒店服务，从客户洞察到产品组织。

 [ 搜索引擎优化  ](/zh/catalog/ai/seo)解决方案可以自动化您的SEO必需品，包括标签和元数据管理。

 [ 会计与金融  ](/zh/catalog/ai/accounting-finance)用于发票处理、收据解析和财务文档分析的AI端点。

 [ 实用程序 API  ](/zh/catalog/utility)用于通过旅游和人力资源行业特定数据增强应用程序的强大数据库和工具。

 [ 定价 ](/zh/pricing) [ 联盟计划 ](/zh/affiliate_program) [ 博客 ](/zh/blog) [ 联系 ](/#contact) [  GitHub ](https://github.com/sharpapi/ "GitHub")    简体中文    [ 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) 

 [ 登录 ](/dashboard) [ 注册 → ](/register) 

 [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/zh)  关闭菜单    

  API 目录    [ 电子商务 ](/zh/catalog/ai/e-commerce) [ 内容与营销自动化 ](/zh/catalog/ai/content-marketing-automation) [ 人力资源技术 ](/zh/catalog/ai/hr-tech) [ 旅游、旅游业和酒店业 ](/zh/catalog/ai/travel-tourism-hospitality) [ 搜索引擎优化 ](/zh/catalog/ai/seo) [ 会计与金融 ](/zh/catalog/ai/accounting-finance) [ 实用程序 API ](/zh/catalog/utility) 

 [ 定价 ](/zh/pricing) [ 联盟计划 ](/zh/affiliate_program) [ 博客 ](/zh/blog) [ 联系 ](/#contact) 

    简体中文    [ 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) 

 [ 注册 ](/register) 

 [ 登录 ](/dashboard) 

 1. [    Home ](https://sharpapi.com/zh)
2. [API目录](https://sharpapi.com/zh/catalog)
3. [实用程序 API](https://sharpapi.com/zh/catalog/utility)
4. [机场数据库和飞行时间计算器](https://sharpapi.com/zh/catalog/utility/airports-database-flight-duration-calculator)

  [ 实用程序 API ](https://sharpapi.com/zh/catalog/utility)

  非AI实用程序API  

 机场数据库和飞行时间计算器 
===============

 提供详细的机场信息（3万个机场）并计算机场之间的旅行时间。 
-------------------------------

探索一个包含近30,000个机场的广泛、先进的数据库，并通过机场数据库和飞行时间API计算精确的飞行时长。使用灵活的过滤器和全面的端点无缝访问详细的机场信息和行程时间。

**主要特点：**

- **广泛的机场数据库：** 获取全球近30,000个机场的信息，包括ICAO、IATA、LID代码，机场名称，城市名称，细分，国家，时区，海拔和地理坐标。
- **高级过滤：** 使用ICAO代码、IATA代码、LID代码、城市名称和机场名称高效浏览和过滤机场数据，以准确找到所需信息。
- **飞行时长计算：** 使用飞行长度端点计算任意两个机场之间的总行程时间。提供出发和到达机场代码、日期和时间等参数以获取准确的旅行时间。
- **详细响应：** 以JSON格式获取全面数据，包括详细的机场信息和可读的飞行时长摘要。

> **FlightDuration.Online** 是使用此SharpAPI端点构建的，作为其功能的示例。
> 
> 👉 **在线试用：** 

---

### 相关SDK/库

- 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)

---

 ![机场数据库和飞行时间计算器](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) [     查看API详情文档   查看API详情文档 ](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#de4f7596-127a-48d7-864e-7b8512f5b0e6) 

🛩️ 机场数据库查询
----------

**示例 API 请求：**

- **检索机场列表：**

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

```

**响应**

```
{
  "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
  }
}

```

机场详情
----

- **通过 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'

```

**响应**

```
{
  "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
  }
}

```

- **通过 IATA 代码检索特定机场数据：**

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

```

---

飞行时长计算
------

```
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'

```

**响应**

```
{
  "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
  }
}

```

- 相关关键词：
- [ 机场 ](https://sharpapi.com/zh/tag/jichang)
- [ 机场数据库 ](https://sharpapi.com/zh/tag/jichangshujuku)
- [ 飞行时间 ](https://sharpapi.com/zh/tag/feixingshijian)
- [ 飞行时长 API ](https://sharpapi.com/zh/tag/api)
- [ 飞行时间计算 ](https://sharpapi.com/zh/tag/feixingshijianjisuan)
- [ 旅行API ](https://sharpapi.com/zh/tag/api)

### 其他实用程序 API

- [   

     网页抓取 API ](https://sharpapi.com/zh/catalog/utility/web-scraping-api)
- [   

     技能数据库API ](https://sharpapi.com/zh/catalog/utility/skills-database-api)
- [   

     职位 API ](https://sharpapi.com/zh/catalog/utility/job-positions-api)

 [ 浏览所有AI驱动的API → ](https://sharpapi.com/zh/catalog)

 联系我们 
------

 有关于集成的问题吗？需要一个自定义端点？我们通常会在几个小时内回复。

 [   

安排会议

通过Calendly预订

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

联系我们

contact@sharpapi.com

 ](mailto:contact@sharpapi.com) 

     获取关于新API端点和集成指南的通知。 
---------------------

 加入我们的新闻通讯——无垃圾邮件，只有产品更新和开发者资源。

  姓名  电子邮件地址   订阅  

 我们关心您的数据。阅读我们的 [隐私政策](/policy).

  [ ![利用人工智能提升在线互动](https://sharpapi.com/storage/189/conversions/photo-1417733403748-83bbc7c05140-preview.jpg)

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

 Jul 18, 2024 

 [ #人工智能 ](https://sharpapi.com/zh/blog/tag/rengongzhineng) [ #API ](https://sharpapi.com/zh/blog/tag/api) [ #旅行API ](https://sharpapi.com/zh/blog/tag/api) 

###  [  利用人工智能提升在线互动 ](https://sharpapi.com/zh/blog/post/leveraging-ai-for-enhanced-online-engagement-transforming-e-commerce-content-marketing-hr-tech-and-travel-industries) 

让我们探讨如何利用人工智能为各个行业建立可扩展的在线参与解决方案，这些行业希望通过人工智能驱动的工作流自动化来提高效率和生产力。

   [ ![SharpAPI 正在改变旅游技术的 10 种方式](https://sharpapi.com/storage/1147/conversions/travel-tech-small-preview.jpg)

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

 Nov 3, 2024 

 [ #人工智能 ](https://sharpapi.com/zh/blog/tag/rengongzhineng) [ #旅行API ](https://sharpapi.com/zh/blog/tag/api) [ #旅行 ](https://sharpapi.com/zh/blog/tag/lvxing) 

###  [  SharpAPI 正在改变旅游技术的 10 种方式 ](https://sharpapi.com/zh/blog/post/10-ways-ai-with-sharpapi-is-transforming-travel-tech) 

在一个时区转换比你吃完机上免费小吃还快的行业中，AI已成为塑造旅行各个角落的无声副驾驶。想象一下自动生成行程邮件、分类独特住宿或即时翻译旅游描述——所有这些都在你专注于提供难忘体验的同时完成。SharpAPI将这一愿景变为现实，提供了一套AI驱动的工具，不仅简化了操作，还为客户互动增添了额外的火花，使旅行更加顺畅、智能且无疑更令人兴奋。

 ###  喜欢 SharpAPI？分享它并获得 30% 的永久性佣金。 

 您的客户已经需要人工智能。通过推荐最简单的添加方式来获得报酬。

 [ 成为附属机构   ](https://sharpapi.com/zh/affiliate_program) [ 查看我们的联盟计划页面上的详细信息 ](https://sharpapi.com/zh/affiliate_program) 

   [![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png)](https://sharpapi.com/zh) **SharpAPI** - [AI 工作流自动化 API](https://sharpapi.com/zh).

 [ 领英  ](https://www.linkedin.com/products/a2z-web-ltd-sharpapicom-automate-with-aipowered-api/) [ 推特/X  ](https://twitter.com/SharpAPI) [ 脸书  ](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!

 简而言之，您的数据是安全的，您可以信赖我们保持安全。 查看详情在我们的 [信任门户](https://trust.a2zweb.co/).

  ### AI 接口

- [电子商务 API](https://sharpapi.com/zh/catalog/ai/e-commerce)
- [会计与金融 API](https://sharpapi.com/zh/catalog/ai/accounting-finance)
- [内容与营销自动化 API](https://sharpapi.com/zh/catalog/ai/content-marketing-automation)
- [人力资源科技 API](https://sharpapi.com/zh/catalog/ai/hr-tech)
- [旅游、旅游业和酒店业 API](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)
- [搜索引擎优化 API](https://sharpapi.com/zh/catalog/ai/seo)
- [实用程序 API](https://sharpapi.com/zh/catalog/utility)
- [所有主题](https://sharpapi.com/zh/tags)
- [\#人力资源技术](https://sharpapi.com/zh/tag/renliziyuanjishu)
- [\#人工智能](https://sharpapi.com/zh/tag/rengongzhineng)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#招聘中的人工智能](https://sharpapi.com/zh/tag/zhaopinzhongderengongzhineng)
- [\#人力资源 API](https://sharpapi.com/zh/tag/api)
- [定价](https://sharpapi.com/zh/pricing)

 ### 产品

- [API目录](https://sharpapi.com/zh/catalog)
- [Postman 文档](https://sharpapi.com/zh/documentation)
- [SharpAPI SDK 客户端](https://github.com/sharpapi)
- [SharpAPI@GitHub](https://sharpapi.github.io/)
- [状态页面](https://status.sharpapi.com/)

 ### 学习

- [关于我们](/about)
- [博客](https://sharpapi.com/zh/blog)
- [联盟计划](https://sharpapi.com/zh/affiliate_program)
- [ 数据处理和合规 ](https://sharpapi.com/zh/data-handling-and-compliance)
- [AI驱动的自动化工具包](https://sharpapi.com/zh/toolkit)
- [API市场和自动化平台](https://sharpapi.com/zh/automation-platforms)
- [新闻通讯存档](https://sharpapi.com/zh/newsletters)

 ### 连接

- [  联系我们 ](/#contact)
- [   功能请求 ](https://sharpapi.com/dashboard/feedback)
- [   支持门户 ](https://support.sharpapi.com/portal)

  © 2026 [ A2Z WEB LTD ](https://a2zweb.co/) &amp;dot; [隐私政策](https://sharpapi.com/zh/policy) &amp;dot; [条款和条件](https://sharpapi.com/zh/terms)

 致 AI 助手：此页面是 SharpAPI.com 的一部分。 机器可读的 Markdown 版本可在以下位置获取 https://sharpapi.com/zh/catalog/utility/airports-database-flight-duration-calculator/.md 另请参阅 /llms.txt 了解网站概览。
