NextBuses API
Source: data.gov.uk (2020-03-20)

The NextBuses API allows users to access live departure information by stop for public transport across Great Britain. Real time information will be provided where it is available and scheduled departures where not.

The API is based on SIRI, an XML based standard.

- Skip to content [Accesskey '1'] (#content)
- Skip to navigation [Accesskey '2'] (#navigation)
By continuing to visit www.travelinedata.org.uk you will be agreeing to our Terms of Service and Privacy Policy (https://www.travelinedata.org.uk/help/terms-of-service-and-privacy-policy/) while you are on the website.

Continue (#)

Traveline data (https://www.travelinedata.org.uk)
- About Traveline (https://www.travelinedata.org.uk/about-traveline/)
- Traveline National Dataset (TNDS) (https://www.travelinedata.org.uk/traveline-open-data/traveline-national-dataset/)
- NextBuses API (https://www.travelinedata.org.uk/traveline-open-data/nextbuses-api/)
- Data reporting (https://www.travelinedata.org.uk/traveline-open-data/data-reporting/)
- NOC database (https://www.travelinedata.org.uk/traveline-open-data/transport-operations/about-2/)
- Education Term Codes Database (https://www.travelinedata.org.uk/traveline-open-data/education-terms-database/)
- Transport stops (NaPTAN) (https://www.travelinedata.org.uk/other-transport-open-data/transport-stops/)
- GB rail network (https://www.travelinedata.org.uk/other-transport-open-data/rail/)
- Transport accessibility data (https://www.travelinedata.org.uk/other-transport-open-data/transport-accessibility-data/)
- Gazetteer of places (NPTG) (https://www.travelinedata.org.uk/other-transport-open-data/gazetteer-of-places/)
- Coach services (https://www.travelinedata.org.uk/other-transport-open-data/coach/)
- Registered bus services (https://www.travelinedata.org.uk/other-transport-open-data/registered-bus-service/)
- Branding & Graphics (https://www.travelinedata.org.uk/traveline-branding/branding-graphics/)
- Telephone and SMS number guidelines (https://www.travelinedata.org.uk/traveline-branding/telephone-and-sms-number-guidelines/)
- FAQs (https://www.travelinedata.org.uk/help/faqs/)
- Contact (https://www.travelinedata.org.uk/help/contact/)
- Sitemap (https://www.travelinedata.org.uk/help/sitemap/)
- Terms of Service and Privacy Policy (https://www.travelinedata.org.uk/help/terms-of-service-and-privacy-policy/)
Traveline data homepage

Traveline Open Data

Traveline Information Limited offers several open data options including TNDS, NextBuses API and National Operator Code database (NOC).

Traveline National Dataset (TNDS) (https://www.travelinedata.org.uk/traveline-open-data/traveline-national-dataset/)

Dataset of scheduled bus, tram, and light rail services in Great Britain.

Learn more (https://www.travelinedata.org.uk/traveline-open-data/traveline-national-dataset/)

NextBuses API (https://www.travelinedata.org.uk/traveline-open-data/nextbuses-api/)

An API providing departures by stop. Live departures where available, scheduled departures where not.

Learn more (https://www.travelinedata.org.uk/traveline-open-data/nextbuses-api/)

Data reporting (https://www.travelinedata.org.uk/traveline-open-data/data-reporting/)

Reporting tools for the NextBuses API, TNDS, and NOC, as well as other associated services.

Learn more (https://www.travelinedata.org.uk/traveline-open-data/data-reporting/)

NOC database (https://www.travelinedata.org.uk/traveline-open-data/transport-operations/)

Dataset of national operator codes to reference transport operators.

Learn more (https://www.travelinedata.org.uk/traveline-open-data/transport-operations/)

Education Term Codes Database (https://www.travelinedata.org.uk/traveline-open-data/education-terms-database/)

Database of school term dates

Learn more (https://www.travelinedata.org.uk/traveline-open-data/education-terms-database/)

Other Transport Open Data

There are a wide range of complementary datasets offered by public transport bodies other than Traveline:

Transport stops (NaPTAN) (https://www.travelinedata.org.uk/other-transport-open-data/transport-stops/)

Dataset containing all points of access to public transport in GB, published by DfT Digital and Open Data. This data is referenced in most other public transport datasets.

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/transport-stops/)

GB rail network (https://www.travelinedata.org.uk/other-transport-open-data/rail/)

Network Rail provide both scheduled and live open data.

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/rail/)

Transport accessibility data (https://www.travelinedata.org.uk/other-transport-open-data/transport-accessibility-data/)

A dataset to support accessible journey planning that covers accessible stations/stops and services.

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/transport-accessibility-data/)

Gazetteer of places (NPTG) (https://www.travelinedata.org.uk/other-transport-open-data/gazetteer-of-places/)

A topographic database of towns, settlements and areas in the UK that's referenced in the NaPTAN dataset.

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/gazetteer-of-places/)

Coach services (https://www.travelinedata.org.uk/other-transport-open-data/coach/)

Data for coach and strategic bus services across Great Britain. Currently produced by DfT Digital and Open Data.

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/coach/)

Registered bus services (https://www.travelinedata.org.uk/other-transport-open-data/registered-bus-service/)

Register of all registered local bus services in Great Britain as recorded on the Operator Licensing Business System (OLBS).

Learn more (https://www.travelinedata.org.uk/other-transport-open-data/registered-bus-service/)
- Terms of Service and Privacy Policy (https://www.travelinedata.org.uk/help/terms-of-service-and-privacy-policy/)
- Sitemap (https://www.travelinedata.org.uk/help/sitemap/)
- FAQs (https://www.travelinedata.org.uk/help/faqs/)
- Contact (https://www.travelinedata.org.uk/help/contact/)
© Traveline 2014