Skip to content
Eden Engine

Hong Kong KMB and LWB Bus Arrivals for a Route at a Stop

kmbeta/route-arrivals

Real-time arrival estimates for one KMB or LWB route at one Hong Kong bus stop: up to three next buses with expected arrival time, destination and remark, for both directions where the route calls at the stop. Arrival time is null when no bus is scheduled. A route that does not call at the stop returns an empty list.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Hong Kong Transport Department and KMB (via DATA.GOV.HK)

Bus data from the KMB and LWB Bus ETA API, a dataset of the Hong Kong Transport Department and Kowloon Motor Bus (KMB) / Long Win Bus (LWB), published on DATA.GOV.HK (data.gov.hk) under its Terms and Conditions of Use. The data is the property of the Government of the Hong Kong SAR and the Relevant Organisations and is provided as is. Served by Eden Engine; not an official Government, Transport Department, KMB or LWB product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "kmbeta/route-arrivals" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "kmbeta/route-arrivals" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "kmbeta/route-arrivals", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "kmbeta/route-arrivals", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "stop_id",
    "route"
  ],
  "properties": {
    "route": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,6}$",
      "description": "The bus route number, for example 1A, 74X or 272A."
    },
    "stop_id": {
      "type": "string",
      "pattern": "^[A-Fa-f0-9]{16}$",
      "description": "A 16-character stop ID from route-stops, for example A3ADFCDF8487ADB9."
    },
    "service_type": {
      "type": "string",
      "default": "1",
      "pattern": "^[0-9]{1,2}$",
      "description": "The service type, 1 for the normal routing (default); higher numbers are special or short-turn variants."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "co": {
            "type": "string",
            "description": "Operator: KMB or LWB."
          },
          "dir": {
            "type": "string",
            "description": "O outbound, I inbound."
          },
          "eta": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expected arrival, ISO 8601 with +08:00; null when no bus is scheduled (outside service hours, for example)."
          },
          "seq": {
            "type": "integer",
            "description": "Stop sequence on the route."
          },
          "route": {
            "type": "string"
          },
          "rmk_en": {
            "type": "string",
            "description": "Remark such as 'Scheduled Bus'; empty for a real-time estimate."
          },
          "rmk_sc": {
            "type": "string"
          },
          "rmk_tc": {
            "type": "string"
          },
          "dest_en": {
            "type": "string"
          },
          "dest_sc": {
            "type": "string"
          },
          "dest_tc": {
            "type": "string"
          },
          "eta_seq": {
            "type": "integer",
            "description": "1 is the next bus, 2 the one after, up to 3."
          },
          "service_type": {
            "type": "integer"
          },
          "data_timestamp": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "description": "The next buses of the route at the stop; empty when the route does not call there."
    },
    "type": {
      "type": "string",
      "description": "Always ETA."
    },
    "version": {
      "type": "string"
    },
    "generated_timestamp": {
      "type": "string",
      "description": "When the upstream built the answer, Hong Kong time (UTC+8)."
    }
  },
  "additionalProperties": true
}