# Trainline Global API

**Canonical:** https://apis.io/apis/trainline/trainline-global-api/  
**Provider:** Trainline — https://apis.io/providers/trainline/

Trainline Global API is published by [Trainline](https://apis.io/providers/trainline/) on the [APIs.io](https://apis.io/) network. Tagged areas include Rail, Booking, Ticketing, Distribution, and Travel. The published artifact set on APIs.io includes API documentation and a support channel.

Trainline Partner Solutions' wholesale rail and coach distribution API, sold to travel sellers, OTAs, TMCs and corporate booking tools. Trainline publicly describes it as "a modern, intuitive RESTful API built on the most up to date tech stack" covering search and browse (quoted at "600 searches per second"), booking and ticketing, payment in 10 currencies including on-account, real-time information on delays, disruption and platform changes, and aftersales — "cancellations within an hour, exchanges, changes of journey and refunds" — plus market-specific features such as UK SplitSave and seat maps, across ">44.8k stations connected". No public documentation, API reference, sandbox, machine-readable specification or self-serve signup is published; the only onboarding path is "Get in touch", with a stated average integration time of 12 weeks and Trainline-assisted carrier accreditation. No baseURL is recorded here because none is published; the host api.thetrainline.com resolves but returns HTTP 401 with a Basic auth challenge on every path and is not documented as the Global API endpoint.

## Machine-readable artifacts (5)

- **Documentation** — https://tps.thetrainline.com/our-products/global-api/
- **Documentation** — https://www.thetrainline.com/solutions/api
- **Support** — https://tps.thetrainline.com/partner-support/
- **Website** — https://tps.thetrainline.com/
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/trainline/refs/heads/main/apis.yml

## Tags

Rail, Booking, Ticketing, Distribution, Travel

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/trainline/trainline-global-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/trainline/.
