Skip to content
//British Airways Fares Scraper example\\

London to New York, Business and First, 2 adults, direct

Premium cabins for two travellers.

Updated November 18, 2026

What this example returns

The dataset’s “Fares” view shows 17 columns: Route, Date, From, To, Departs (local), Arrives (local), Duration, Stops, Flights, Cabin, Cheapest fare type, Price (all passengers), Price per adult, Currency, Seats left, Availability, and ba.com search. See every output field.

What each setting does

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

Routes routes

LHR-JFK

One-way routes as two 3-letter airport or city codes, for example LHR-JFK, LGW-MAD or LON-DXB. Each route is searched on every departure date below.

First departure date dateFrom

+30

YYYY-MM-DD, or +N for N days from today. Empty: tomorrow.

Last departure date dateTo

+31

YYYY-MM-DD, or +N for N days from today. Empty: the first date only. ba.com sells about 355 days ahead; later dates are skipped and named in the status message.

Cabins cabins

Business, First

Cabins to return. Empty: every cabin ba.com offers on the flight. One row per flight option and cabin, with the cheapest fare of that cabin and all its fare types.

Adults (16+) adults

2

Adult passengers. Prices are the total for all passengers, plus the price per adult.

Default: 1 → this example uses 2

Stops maxStops

Direct only

Keep only flight options with at most this many stops.

Default: Any number of stops → this example uses Direct only

.json
{
  "routes": [
    "LHR-JFK"
  ],
  "dateFrom": "+30",
  "dateTo": "+31",
  "cabins": [
    "Business",
    "First"
  ],
  "adults": 2,
  "maxStops": "0"
}

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.

  • Farefrom $0.000375One flight option and cabin with its cheapest fare, every fare type with GBP prices and seats left, flight numbers, times and stops.
  • Actor start$0.0006Charged once per run.

Full pricing

When to use this example

From the British Airways Fares Scraper readme:

Why do I see Newark or London City in a JFK or Heathrow search?

ba.com lists every airport of the city for a route; filter on departureAirport / arrivalAirport if you only want one airport.

What does `seatsLeft: null` mean?

The fare is on sale and ba.com does not show a seat count, which it does only when few seats are left at that price.

Other ways to run British Airways Fares Scraper

All examples of British Airways Fares Scraper

About British Airways Fares Scraper

British Airways (ba.com) fares by route and date: flight numbers, departure and arrival times, duration, stops, cabin, every fare type with its GBP price, and seats left. UK site, no login.

Price:
From $0.375 / 1,000 results
Developer:
Roam & Roof
Categories:
Travel, Automation

British Airways Fares 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.