Developer Hub

APIs, feeds, and machine-readable endpoints for train station data.

Search API

GET /api/search/?q=paris

Search stations by name, city, or UIC code. Returns JSON array.

Parameters

q (string, min 2 chars)

Response
[{"name": "Paris Gare du Nord", "slug": "paris-gare-du-nord", "country": "France", "country_code": "FR", "latitude": 48.88, "longitude": 2.35}]

RSS & Atom Feeds

Subscribe to new guides and content updates.

URL Patterns

Pattern Description
/station/{slug}/Station detail page
/route/{from}-to-{to}/Train route between two stations
/distance/{from}-to-{to}/Distance between two stations
/country/{code}/Country stations (ISO 3166-1 or slug)
/operator/{slug}/Operator detail page
/guides/{slug}/Guide article
/glossary/{slug}/Glossary term
/rankings/{slug}/Ranking page
/cities/{slug}/City detail page

All pages support 15 languages. Prefix URL with language code (e.g., /ko/, /ja/).