# 航空API資料使用注意事項

## 靜態資料

* 航空定期航班班表由民航局及桃園機場提供，目前僅提供客運航班班表資料，國際定期航班班表有包含兩岸航班。
* 國際定期航班起飛或降落時間有+1的現象，代表Flight Date 日期+1天，並非+1小時，因航班日期皆以起飛城市當地時間及降落城市當地時間提供，為了解決班機所遇到之時差問題，如台北飛洛杉磯可能10月07日10:00早上台北起飛，10月07日07:00早上洛杉磯降落，此時航班僅會以10:00標示顯示；但若遇到台北飛孟買，10月09日1:00下午台北起飛，10月10日1:00早上孟買降落，此時就會顯示+1（天）。

## 動態資料

* 介接航空資料時須注意本平臺機場代碼皆以IATA國際代碼三碼為API服務查詢及資料串接之基礎。
* 即時航班到離站資料（FIDS）分別以機場角度（Airport）及航班（Flight）角度提供資料服務，加值業者在使用時需注意應用面向避免引用錯誤。
  * 機場角度航班到離站資訊顯示（FIDSAirport）：以第三方機場角度提供動態站別航班顯示資料。
  * 班機角度航班到離站資訊顯示（FIDSFlight）：以飛機角度提供動態站別航班顯示資料。
* 部分欄位若為空值是因來源單位尚未提供介接。
* 本平臺服務係針對全台航空資訊為主，故以機場為角度（FIDSAirport）之即時航班資料**僅顯示國內機場**；而班機為角度（FIDSFlight）之即時航班資料**僅顯示國內機場的各班機出發（Departure）或抵達相關資訊（Arrival）**，如BR108班機由高雄飛往東京，則FIDSFlight即時航班資訊僅會顯示ScheduleDepartureTime、ActualDepartureTime及EstimatedDepartureTime，而BR108抵達相關資訊則無提供。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://motc-ptx-api-documentation.gitbook.io/motc-ptx-api-documentation/api-zi-liao-shi-yong-zhu-yi-shi-xiang/aviation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
