Google Flights avatar
Google Flights
Try for free

3 days trial then $12.00/month - No credit card required now

View all Actors
Google Flights

Google Flights

canadesk/google-flights
Try for free

3 days trial then $12.00/month - No credit card required now

Find the cheapest deals with Google Flight. It's fast and costs little!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "departureIATA": "LAX",
8  "arrivalIATA": [
9    "LAS",
10    "Munich"
11  ],
12  "airlines": "ALL",
13  "currency": "USD",
14  "proxy": {
15    "useApifyProxy": true,
16    "apifyProxyGroups": [
17      "RESIDENTIAL"
18    ]
19  }
20}
21EOF
22
23# Run the Actor using an HTTP API
24# See the full API reference at https://docs.apify.com/api/v2
25curl "https://api.apify.com/v2/acts/canadesk~google-flights/runs?token=$API_TOKEN" \
26  -X POST \
27  -d @input.json \
28  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 6 monthly users
  • 2 stars
  • 78.4% runs succeeded
  • 12 hours response time
  • Created in Jan 2024
  • Modified 2 months ago