![Google Flights avatar](https://images.apifyusercontent.com/4s6tLHIS-jW5tvYJ4w-UsfSC-XXkBj-5p5gQYy1WgAk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vYlkzV1NtOHJrZzJ1SFR0TkEvRFB1Mk1PMXd0Z3ZTNjIyWVMtZ29vZ2xlLWZsaWdodHMucG5n.webp)
Google Flights
Try for free
3 days trial then $12.00/month - No credit card required now
View all Actors![Google Flights](https://images.apifyusercontent.com/4s6tLHIS-jW5tvYJ4w-UsfSC-XXkBj-5p5gQYy1WgAk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vYlkzV1NtOHJrZzJ1SFR0TkEvRFB1Mk1PMXd0Z3ZTNjIyWVMtZ29vZ2xlLWZsaWdodHMucG5n.webp)
![Google Flights](https://images.apifyusercontent.com/4s6tLHIS-jW5tvYJ4w-UsfSC-XXkBj-5p5gQYy1WgAk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vYlkzV1NtOHJrZzJ1SFR0TkEvRFB1Mk1PMXd0Z3ZTNjIyWVMtZ29vZ2xlLWZsaWdodHMucG5n.webp)
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
- 5 monthly users
- 2 stars
- 90.3% runs succeeded
- Created in Jan 2024
- Modified 4 days ago