Get stop detail with all lines
bus_get_stop_detailGet detailed stop information including coordinates, bus lines with first/last times and prices, real-time buses, and nearby metro stations.
Instructions
Full detail for a stop: precise WGS-84 coordinates, every line that passes through (with first/last/price), realtime buses, and nearby metro lines.
Args:
city_id (string, required)
physical_st_id (string, required): from bus_get_nearby_stops / bus_search
namesake_st_id (string, optional): recommended; from the same source
first_line_id (string, optional): a line to highlight
lat / lng (string, optional): caller's WGS-84 location, used to populate 'distance'
response_format ('markdown' | 'json')
Returns (json): { "stations": [ { "sId": "...", "sn": "...", "lat": ..., "lng": ..., "distance": ..., "lines": [{ "lineId": "...", "name": "71", "direction": 0, "startSn": "...", "endSn": "...", "firstTime": "05:30", "lastTime": "23:30", "price": "2元", "targetOrder": 2, "buses": [...] }], "metros": [{ "name": "地铁14号线", "lineNo": "14号线", "color": "97,96,32" }] } ] }
Multiple entries in stations[] mean the stop name maps to several physical platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| physical_st_id | Yes | physicalStId of the stop (from bus_get_nearby_stops or bus_search) | |
| namesake_st_id | No | namesakeStId of the stop, optional | |
| first_line_id | No | Optional hint of a line you want highlighted | |
| lat | No | Caller's WGS-84 latitude — used to populate 'distance' | |
| lng | No | Caller's WGS-84 longitude | |
| response_format | No | Output format: 'markdown' for human-readable text, 'json' for full structured data | markdown |