Find a station, stop, address or place in Switzerland
find_placeLook up what a place name means in the Swiss public-transport network: stations and stops, street addresses, and named places (a university, a museum, a mountain), ranked best first, each with a stable place_id.
Use it when the user names a place you are not sure of, when another tool answered that a name is ambiguous, or to get coordinates for a place. You do not need it before plan_journey or departures for ordinary names — those tools accept names directly and say how they read them.
Inputs: query is A station or stop name ("Zürich HB", "Bern", "Lausanne, Flon"), an address ("Bahnhofstrasse 1, Winterthur"), a named place ("ETH Zürich", "Kunsthaus"), a coordinate as "geo:47.3769,8.5417", or a place_id returned by find_place ("stop:8503000"). Names are read the way a rider types them; an ambiguous name returns candidates instead of a guess. limit is how many candidates to return (1–10, default 5). near is an optional latitude/longitude that breaks ties between equally good matches.
Example: {"query": "Winterthur Spital"} returns the stop "Winterthur, Kantonsspital" with its place_id, which you can pass to plan_journey as from or to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Where the user is, if known: prefers nearer matches among equally good ones. | |
| limit | No | How many candidates to return, best first. | |
| query | Yes | The name, address or coordinate to look up. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| query | Yes | ||
| candidates | Yes |