Cities
Find city IDs and the airports and stations associated with each city.
GET /v1/cities REST API for developers and AI agents
Find direct train and flight connections and see when services usually run. Search on a date to see how trains, airport buses and flights fit into one journey.
Use the same city and place IDs to look up direct services or plan a journey with transfers.
Find city IDs and the airports and stations associated with each city.
GET /v1/cities Look up an airport or station by name or code, or find places in a map area.
GET /v1/places See which places connect without changing vehicles, and when services usually run.
GET /v1/connections Look up airlines, ground operators and transport networks.
GET /v1/operators Search for options on a date and compare legs, transfers and local ride times.
GET /v1/journeys No direct flight appears in the network snapshot. On 3 December 2026, the API found ICE 225 from Köln Hbf to Frankfurt Airport and flight LH716 to Tokyo Haneda in one dated search.
curl --get 'https://api.triptopology.com/v1/journeys' \ -H "Authorization: Bearer $TRIP_TOPOLOGY_KEY" \ --data-urlencode 'from=geonames:2886242' \ --data-urlencode 'to=geonames:1850147' \ --data-urlencode 'date=2026-12-03' \ --data-urlencode 'depart_after=11:00' \ --data-urlencode 'depart_before=11:30' \ --data-urlencode 'limit=1'
{
"data": [
{
"departure": "2026-12-03T11:18:00+01:00",
"arrival": "2026-12-04T10:45:00+09:00",
"change_count": 1,
"legs": [
{
"mode": "rail",
"label": "ICE 225"
},
{
"mode": "air",
"label": "LH716"
}
]
}
]
} The train arrives at the airport's long-distance station. The flight lands at Haneda the next morning, and the result doesn't include a ride into Tokyo.
Read the full captured responseTrip Topology doesn't provide fares, booking, seat availability or live status. A dated journey is a best-effort route from known schedules. Verify schedule and availability before booking. An empty result doesn't prove there is no service.
Start with llms.txt for usage rules and
OpenAPI 3.1 for operation and response schemas. An agent can
register for a Free key over HTTP and use it with REST or MCP. Keep the key out of prompts.
Accounts start on Free. Contact us if you need service guarantees or support.
| Plan | Access | USD per month | Get started |
|---|---|---|---|
| Free | Free, no usage cap today | $0 | Get an API key |
| Starter | Higher service guarantees and support by agreement | $19 | Contact us |
| Growth | Higher service guarantees and support by agreement | $99 | Contact us |
| Scale | Higher service guarantees and support by agreement | $499 | Contact us |
We may introduce fair-use rules and usage limits later with notice.
How we count API calls