Skip to main content
Glama

get-station-code-by-names

Convert Chinese railway station names into station codes for 12306 ticket booking. Use this tool to prepare station_code parameters when users specify departure or arrival stations by name.

Instructions

通过具体的中文车站名查询其 station_code 和车站名。此接口主要用于在用户提供具体车站名作为出发地或到达地时,为接口准备 station_code 参数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stationNamesYes

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