Real time Arrival Data of Kowloon Motor Bus and Long Win Bus Services

← Text catalogue home

HTML · JSON · Markdown

Harvest started is the source harvest start associated with this record, not its precise retrieval time. Updated is an upstream metadata claim.

Description

Owner of Raw Dataset : Kowloon Motor Bus Company (1933) Limited (KMB) and Long Win Bus Company Limited (LWB)

The Transport Department disseminates the KMB/LWB ETA from raw data provided by KMB/LWB

Routes, Bus Stops and real-time Estimated Time of Arrival (ETA) data of KMB and LWB route services are introduced.

9 data resources in JSON format are provided. For details of content and relationship, please refer to Data Dictionary and API specifications.

Please check the websites of public transport operators for temporary route diversion arrangement.

Resources

These are upstream resource links from metadata. Resource contents and endpoint availability have not been verified here.

Route ETA Data

URL template — substitution required.

Placeholders: {route}, {service_type}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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

URL template — substitution required.

Placeholders: {stop_id}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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

URL template — substitution required.

Placeholders: {route}, {direction}, {service_type}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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

URL template — substitution required.

Placeholders: {stop_id}, {route}, {service_type}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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

URL template — substitution required.

Placeholders: {stop_id}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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

URL template — substitution required.

Placeholders: {route}, {direction}, {service_type}. Replace these using the publisher's documentation before requesting data. No parameter values or endpoint availability are inferred here.

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.

Document availability

Parsed specifications and data dictionaries: not available for this dataset. Document availability.