Skyscanner API Bulk (Flights) avatar

Skyscanner API Bulk (Flights)

Try Actor

$15.00/month

Go to Store
Skyscanner API Bulk (Flights)

Skyscanner API Bulk (Flights)

canadesk/skyscanner-flights-api-bulk
Try Actor

$15.00/month

Get the best flight itineraries and calendar prices in BULK from Skyscanner! Also supports Multi-city and Explore with various filters. It's fast.

You can access the Skyscanner API Bulk (Flights) programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "query": [
10        {
11            "origin": "cdg",
12            "destination": "lyon",
13            "datefrom": "251004",
14            "dateto": "251007",
15            "adults": 2,
16            "children": [],
17            "classtype": "economy",
18            "direct": False,
19        },
20        {
21            "origin": "las",
22            "destination": "everywhere",
23            "datefrom": "250618",
24            "dateto": "250620",
25            "adults": 1,
26            "children": [],
27            "classtype": "economy",
28            "direct": True,
29        },
30    ],
31    "proxy": {
32        "useApifyProxy": True,
33        "apifyProxyGroups": ["RESIDENTIAL"],
34    },
35}
36
37# Run the Actor and wait for it to finish
38run = client.actor("canadesk/skyscanner-flights-api-bulk").call(run_input=run_input)
39
40# Fetch and print Actor results from the run's dataset (if there are any)
41print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
42for item in client.dataset(run["defaultDatasetId"]).iterate_items():
43    print(item)
44
45# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Skyscanner API Bulk (Flights) API in Python

The Apify API client for Python is the official library that allows you to use Skyscanner API Bulk (Flights) API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Dec 2024

  • Modified a month ago