九龍巴士及龍運巴士路線實時到站數據

原始數據的知識產權擁有人:九龍巴士(一九三三)有限公司 (簡稱「九巴」) 及 龍運巴士有限公司 (簡稱「龍運」)

基於九巴及龍運巴士提供的原始數據,運輸署發放相關的巴士實時預計到達時間(ETA)數據

九巴和龍運的路線、巴士站和實時預計到達時間(ETA)數據。

以下有9個JSON格式的數據資源,請參閱「數據字典」和「API規格」以獲取更多關於這些API之內容及關係的資料。

關於公共交通路線的臨時改道安排,請查看相關公共交通服務營辦商網頁。

資料預覽

Route List Data

顯示 6 / 1574 筆來源紀錄

原始JSON檔

探索資料

1,574 筆已擷取紀錄 · 9 個欄位

此來源回應的已擷取快照;不代表上游資料集的所有紀錄。

欄位 (9)

載入資料…

routeboundservice_typeorig_enorig_tcorig_scdest_endest_tcdest_sc
1
O
1
CHUK YUEN ESTATE
竹園邨
竹园邨
STAR FERRY
尖沙咀碼頭
尖沙咀码头
1
I
1
STAR FERRY
尖沙咀碼頭
尖沙咀码头
CHUK YUEN ESTATE
竹園邨
竹园邨
1A
O
1
SAU MAU PING (CENTRAL)
中秀茂坪
中秀茂坪
STAR FERRY
尖沙咀碼頭
尖沙咀码头
1A
I
1
STAR FERRY
尖沙咀碼頭
尖沙咀码头
SAU MAU PING (CENTRAL)
中秀茂坪
中秀茂坪
2
O
1
STAR FERRY
尖沙咀碼頭
尖沙咀码头
CHEUNG SHA WAN (SO UK ESTATE)
長沙灣(蘇屋邨)
长沙湾(苏屋邨)
2
I
1
CHEUNG SHA WAN (SO UK ESTATE)
長沙灣(蘇屋邨)
长沙湾(苏屋邨)
STAR FERRY
尖沙咀碼頭
尖沙咀码头
查看全部樣本欄位
紀錄 1
route
1
bound
O
service_type
1
orig_en
CHUK YUEN ESTATE
orig_tc
竹園邨
orig_sc
竹园邨
dest_en
STAR FERRY
dest_tc
尖沙咀碼頭
dest_sc
尖沙咀码头
紀錄 2
route
1
bound
I
service_type
1
orig_en
STAR FERRY
orig_tc
尖沙咀碼頭
orig_sc
尖沙咀码头
dest_en
CHUK YUEN ESTATE
dest_tc
竹園邨
dest_sc
竹园邨
紀錄 3
route
1A
bound
O
service_type
1
orig_en
SAU MAU PING (CENTRAL)
orig_tc
中秀茂坪
orig_sc
中秀茂坪
dest_en
STAR FERRY
dest_tc
尖沙咀碼頭
dest_sc
尖沙咀码头
紀錄 4
route
1A
bound
I
service_type
1
orig_en
STAR FERRY
orig_tc
尖沙咀碼頭
orig_sc
尖沙咀码头
dest_en
SAU MAU PING (CENTRAL)
dest_tc
中秀茂坪
dest_sc
中秀茂坪
紀錄 5
route
2
bound
O
service_type
1
orig_en
STAR FERRY
orig_tc
尖沙咀碼頭
orig_sc
尖沙咀码头
dest_en
CHEUNG SHA WAN (SO UK ESTATE)
dest_tc
長沙灣(蘇屋邨)
dest_sc
长沙湾(苏屋邨)
紀錄 6
route
2
bound
I
service_type
1
orig_en
CHEUNG SHA WAN (SO UK ESTATE)
orig_tc
長沙灣(蘇屋邨)
orig_sc
长沙湾(苏屋邨)
dest_en
STAR FERRY
dest_tc
尖沙咀碼頭
dest_sc
尖沙咀码头
查看樣本 JSON
[
  {
    "route": "1",
    "bound": "O",
    "service_type": "1",
    "orig_en": "CHUK YUEN ESTATE",
    "orig_tc": "竹園邨",
    "orig_sc": "竹园邨",
    "dest_en": "STAR FERRY",
    "dest_tc": "尖沙咀碼頭",
    "dest_sc": "尖沙咀码头"
  },
  {
    "route": "1",
    "bound": "I",
    "service_type": "1",
    "orig_en": "STAR FERRY",
    "orig_tc": "尖沙咀碼頭",
    "orig_sc": "尖沙咀码头",
    "dest_en": "CHUK YUEN ESTATE",
    "dest_tc": "竹園邨",
    "dest_sc": "竹园邨"
  },
  {
    "route": "1A",
    "bound": "O",
    "service_type": "1",
    "orig_en": "SAU MAU PING (CENTRAL)",
    "orig_tc": "中秀茂坪",
    "orig_sc": "中秀茂坪",
    "dest_en": "STAR FERRY",
    "dest_tc": "尖沙咀碼頭",
    "dest_sc": "尖沙咀码头"
  },
  {
    "route": "1A",
    "bound": "I",
    "service_type": "1",
    "orig_en": "STAR FERRY",
    "orig_tc": "尖沙咀碼頭",
    "orig_sc": "尖沙咀码头",
    "dest_en": "SAU MAU PING (CENTRAL)",
    "dest_tc": "中秀茂坪",
    "dest_sc": "中秀茂坪"
  },
  {
    "route": "2",
    "bound": "O",
    "service_type": "1",
    "orig_en": "STAR FERRY",
    "orig_tc": "尖沙咀碼頭",
    "orig_sc": "尖沙咀码头",
    "dest_en": "CHEUNG SHA WAN (SO UK ESTATE)",
    "dest_tc": "長沙灣(蘇屋邨)",
    "dest_sc": "长沙湾(苏屋邨)"
  },
  {
    "route": "2",
    "bound": "I",
    "service_type": "1",
    "orig_en": "CHEUNG SHA WAN (SO UK ESTATE)",
    "orig_tc": "長沙灣(蘇屋邨)",
    "orig_sc": "长沙湾(苏屋邨)",
    "dest_en": "STAR FERRY",
    "dest_tc": "尖沙咀碼頭",
    "dest_sc": "尖沙咀码头"
  }
]

觀察到的欄位

欄位樣本 JSON 類型
routestring
boundstring
service_typestring
orig_enstring
orig_tcstring
orig_scstring
dest_enstring
dest_tcstring
dest_scstring

資源

資料集名稱及介紹採用官方繁體中文詮釋資料;資源欄位沿用英文目錄來源的原文,資源內容語言另列。

格式: JSON · 語言: en, zh-Hant, zh-Hans

  • Route ETA Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/route-eta/{route}/{service_type}

    參數位置: {route}, {service_type}. 請按發布者文件填入參數。

    This API takes the KMB’s operating bus route number(s) and service type(s); then, it returns the “estimated time of arrival” (ETA) information of all stops on the respective route. The data format is the same as ETA API.

  • Stop ETA Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/stop-eta/{stop_id}

    參數位置: {stop_id}. 請按發布者文件填入參數。

    This API takes a bus stop ID; then, it returns the “estimated time of arrival” (ETA) information of all routes at that stop.

  • Route-Stop Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/route-stop/{route}/{direction}/{service_type}

    參數位置: {route}, {direction}, {service_type}. 請按發布者文件填入參數。

    This API takes a route direction and the KMB’s operating bus route number and returns the stop information of the respective route.The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.

  • ETA Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/eta/{stop_id}/{route}/{service_type}

    參數位置: {stop_id}, {route}, {service_type}. 請按發布者文件填入參數。

    This API takes a bus stop ID, the KMB’s operating bus route number and service type; then, it returns the “estimated time of arrival” (ETA) information of the respective route at that stop.(Remark: May return up to 3 ETA data for each direction.)

  • Stop Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/stop/{stop_id}

    參數位置: {stop_id}. 請按發布者文件填入參數。

    This API takes a 16-character bus stop ID and returns the respective bus stop information.(Remark: To find the corresponding bus stop ID, the user can query the “Route-Stop API”)The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.

  • Stop List Data

    This API returns all bus stop information at once.The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.

  • Route Data

    網址範本

    https://data.etabus.gov.hk/v1/transport/kmb/route/{route}/{direction}/{service_type}

    參數位置: {route}, {direction}, {service_type}. 請按發布者文件填入參數。

    This API takes a KMB’s operating bus route number, direction and service type, and returns the respective route information.The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.

  • Route-Stop List Data

    This API takes returns the stop information of all routes.The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.

  • Route List Data

    This API return all bus routes of KMB.The data is updated once a day. For better use of the open resource, please consider calling this API once after 5:00 am every day. Repeated API calls will not return the latest data.