Skip to content
//Skyscanner Flights Scraper example\\

London to Barcelona and back, direct, cheapest first

A family return trip: the 50 cheapest direct itineraries.

Updated November 12, 2026

What this example returns

The dataset’s “Itineraries” view shows 19 columns: Price, Currency, Airlines, From, To, Departs, Arrives, Minutes, Stops, Return departs, Return arrives, Return stops, Flights, Booking options, Cheapest on, Booking link, Date, Return date, and Market. See every output field.

What each setting does

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

From origin

London

Where you fly from: a city, an airport or a code, e.g. London, JFK, NYC or Paris Orly. City names cover all of the city's airports.

To destination

Barcelona

Where you fly to: a city, an airport or a code, e.g. London, LHR or Barcelona.

Departure date departDate

+35

YYYY-MM-DD, e.g. 2026-12-11, or +30 for 30 days from today (handy for schedules).

Return date returnDate

+4

Leave empty for a one-way trip. YYYY-MM-DD, or +7 for 7 days after the departure date.

Max itineraries per search maxResultsPerSearch

50

How many itineraries to save per search, after sorting and filters. 0 saves every itinerary Skyscanner returns (often several hundred).

Adults adults

2

Travellers aged 16 or over. Skyscanner searches at most 8 adults at a time.

Default: 1 → this example uses 2

Children's ages childrenAges

7

One entry per child with the child's age on the travel date (0 to 17). Ages 0 and 1 travel as infants on a lap.

Stops maxStops

Direct flights only

Keep only itineraries with at most this many stops on every leg.

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

Sort by sortBy

Cheapest first

Order of the itineraries; the per-search limit keeps the first ones in this order.

Default: Best (Skyscanner's ranking) → this example uses Cheapest first

Market market

United Kingdom

The Skyscanner country site to search. Prices and booking sites can differ by market.

Default: United States → this example uses United Kingdom

.json
{
  "origin": "London",
  "destination": "Barcelona",
  "departDate": "+35",
  "returnDate": "+4",
  "adults": 2,
  "childrenAges": [
    "7"
  ],
  "maxStops": "direct",
  "sortBy": "cheapest",
  "maxResultsPerSearch": 50,
  "market": "UK"
}

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.

  • Itinerary$0.00085One saved flight itinerary with its price, airlines, flight numbers, times, stops and every booking option with its link.
  • Actor start$0.00595Charged once per run.
  • Flight search (per direction)$0.0017Charged once for a one-way search and twice for a return search, when Skyscanner answered the search (also when it found no flights).

Full pricing

When to use this example

From the Skyscanner Flights Scraper readme:

How many itineraries do I get?

Everything Skyscanner returns for the search, often several hundred, up to your maxResultsPerSearch. Set it to 0 to keep all of them.

Other ways to run Skyscanner Flights Scraper

All examples of Skyscanner Flights Scraper

About Skyscanner Flights Scraper

Search Skyscanner flights by city or airport and dates: every itinerary with price, airlines, flight numbers, times, duration, stops and booking options with links. One-way or return, 13 markets.

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

Skyscanner Flights 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.