Skip to content
//UK Bus Services Scraper example\\

Stagecoach services in Oxford with stops

Fifteen Stagecoach bus services in Oxfordshire that serve Oxford, with their ordered stop lists.

Updated November 12, 2026

What this example returns

This example returns up to 15 bus services.

The dataset’s “Bus services” view shows 11 columns: Service, Route, Operator, Operating area, From, To, Description, Timetable, Data set, Updated, and Source. See every output field.

What each setting does

The input this example runs UK Bus Services Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Bus operators operators

Stagecoach

Operators (publishers) as the Bus Open Data Service lists them, e.g. Stagecoach, Arriva UK Bus, First Bus, Go-Ahead or a smaller company's name. A name that matches several publishers takes all of them; a name that matches none is searched as an operator name or National Operator Code (NOC, e.g. SCOX). Leave empty to…

Max services maxItems

15

How many bus services (service numbers) to save. 0 = every service that matches.

Default: 20 → this example uses 15

Include stop lists includeStops

Yes

Add the ordered stops of each service number in both directions (stop code, stop name, locality), taken from the journey pattern the timetable runs most often. The row price stays the same.

Default: No → this example uses Yes

Geographical areas areas

Oxfordshire

Council or county areas as the Bus Open Data Service names them, e.g. Oxfordshire, Cumbria, Bristol, Cardiff. Only data sets BODS lists for these areas are read; a data set can also hold services that run mostly outside the area (combine with a keyword to narrow it down).

Keywords keywords

Oxford

Keep only services that mention one of these words in the service number, route name or description, origin, destination, via points, towns served, operator or operating area, e.g. Oxford, Airport or X5. Whole words, case ignored. Every data set in scope is still read, so a keyword on its own reads all of BODS; add…

.json
{
  "operators": [
    "Stagecoach"
  ],
  "areas": [
    "Oxfordshire"
  ],
  "keywords": [
    "Oxford"
  ],
  "includeStops": true,
  "maxItems": 15
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Bus servicefrom $0.0015One saved bus service (service number) with its route, operator, operating area and timetable link; stop lists included when that option is on.
  • Data set read$0.002One Bus Open Data Service timetable data set downloaded and read in full to collect its services.

Full pricing

When to use this example

From the UK Bus Services Scraper readme:

Where does the data come from?

From the Bus Open Data Service, run by the UK Department for Transport. Local bus operators in England must publish their timetables there in the TransXChange format; this actor reads the published timetable data sets and their downloads.

Known limit

Timetables (departure times) are not exported; use the timetableUrl link to view them.

Other ways to run UK Bus Services Scraper

All examples of UK Bus Services Scraper

About UK Bus Services Scraper

List UK bus services from the Department for Transport's Bus Open Data Service: service numbers with route names and descriptions, origin and destination, operator, operating area, registration code and a timetable link, optionally with ordered stop lists. Filter by operator (e.g. Stagecoach), area or keyword. No login needed.

Price:
from $1.50 / 1,000 results
Developer:
Roam & Roof
Categories:
Travel, Other

UK Bus Services Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.