Skip to main content
Glama

get-train-route-stations

Retrieve detailed station stops, arrival/departure times, and duration for specific train routes on 12306, enabling users to plan travel itineraries and track train schedules.

Instructions

查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trainCodeYes
departDateYes
formatNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaobenyang-com/12306-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server