widget.yesmytrips.com

Thai Train Schedule Widget — Backup API Server

All systems operational

Thai Train Schedules,
Served Anywhere.

This server delivers live SRT timetables to travel blogs and websites. 790+ routes, 6 languages, zero maintenance for publishers. Free to embed forever.

🚆

790+ Routes

Full State Railway of Thailand network — from Bangkok to every major destination.

🌐

6 Languages

English, French, Russian, Thai, Korean, Japanese — with localized station names.

Fallback Server

Automatically kicks in when the primary server is unreachable. Your widget never goes dark.

🔓

Open CORS

Accessible from any domain. Drop the script on your blog and it works instantly.

API Endpoints
GET /en/srt-widget-schedules?route=BKK-CNX&lang=en&color=%23447089 Renders the widget iframe for a given route and language.
GET /en/srt-widget-schedules?route=BKK-CNX&list=1 Returns all available routes as JSON.
GET /en/srt-widget-schedules?route=BKK-CNX&routes=1&lang=en Returns route list for the in-widget switcher.
Parameters
route
Station code pair. Example: BKK-CNX, BKK-HHN, BKK-URT
lang
en fr ru th ko ja — defaults to en
color
Hex color for the widget header. Example: #447089
uid
Optional unique ID for multi-widget pages. Example: widget-1
Get the Widget Free → YesMyTrips.com

© YesMyTrips — Online transport ticketing in Southeast Asia

Built by Maxence Decamp