Google Flights Scraper

ENDPOINTS
GET/flights/search-multi-city

Multi-City Search

Search multi-city trips: first-leg options priced for the whole trip, each with a token for the next leg.

QUERY PARAMS

Your trip's legs (2–6), separated by |, each as origin,destination,YYYY-MM-DD. Join several airports with +.

Example: JFK,LHR,2026-11-20|LHR,CDG,2026-11-24|CDG,JFK,2026-11-28

Departure time window as an hour range (0–23).

Example: 6-12 (6:00 AM to 12:59 PM)

Arrival time window as an hour range (0–23).

Example: 14-22

Longest total travel time, in minutes (1–6000).

Longest single layover, in minutes (1–2880).

Only connect through these airports, comma-separated 3-letter codes.

Example: ORD,DEN

Only itineraries with lower-than-typical CO2 emissions.

Default: false

Carry-on bags per passenger (0–1). Prices then include the bag fee.

Default: 0

Checked bags per passenger (0–2). Prices then include the bag fees.

Default: 0

Result order. best is Google's own ranking of price and convenience.

Default: best

Maximum number of stops.

Default: any

Only these airlines or alliances, comma-separated: 2-character airline codes and/or oneworld, skyteam, star_alliance.

Examples: DL,AA · star_alliance

Only fares at or below this price, in currency.

Number of adults (1–9 passengers in total).

Default: 1

Number of children aged 2–11.

Default: 0

Number of infants with their own seat.

Default: 0

Number of infants on an adult's lap (at most one per adult).

Default: 0

Cabin class.

Default: economy

3-letter currency code for every price.

Default: USD

Examples: USD, EUR, GBP, INR, JPY, CAD

Language of place and airline names, as a code or locale.

Default: en-US

Examples: en-US, en-GB, de, fr, es, ja

2-letter country code Google prices the search from.

Default: US

Examples: US, GB, IN, DE, CA, AU

{
  "search": {
    "trip_type": "multi_city",
    "legs": [
      {
        "origin": [
          "JFK"
        ],
        "destination": [
          "LHR"
        ],
        "date": "2026-11-20"
      },
      {
        "origin": [
          "LHR"
        ],
        "destination": [
          "CDG"
        ],
        "date": "2026-11-24"
      },
      {
        "origin": [
          "CDG"
        ],
        "destination": [
          "JFK"
        ],
        "date": "2026-11-28"
      }
    ],
    "current_leg": 1,
    "total_legs": 3,
    "cabin_class": "economy",
    "currency": "USD"
  },
  "price_insights": null,
  "best_flights": [
    {
      "price": 1343,
      "currency": "USD",
      "airlines": [
        {
          "code": "AA",
          "name": "American"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "18:25"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "06:20"
      },
      "duration_minutes": 415,
      "stops": 0,
      "segments": [
        {
          "flight_number": "AA 100",
          "airline": {
            "code": "AA",
            "name": "American"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "18:25"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "06:20"
          },
          "duration_minutes": 415,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": "in_seat",
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 404,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 404,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -6,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxCpHRyDf0MBACeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALRsk08"
    },
    {
      "price": 1357,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "08:05"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-20",
        "time": "20:00"
      },
      "duration_minutes": 415,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 178",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "08:05"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-20",
            "time": "20:00"
          },
          "duration_minutes": 415,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": false,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NxCCeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALcak18"
    },
    {
      "price": 1390,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "18:40"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "06:40"
      },
      "duration_minutes": 420,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 174",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "18:40"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "06:40"
          },
          "duration_minutes": 420,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 388,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 388,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -10,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NxECeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALZyk1s"
    }
  ],
  "other_flights": [
    {
      "price": 1343,
      "currency": "USD",
      "airlines": [
        {
          "code": "AA",
          "name": "American"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "10:10"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-20",
        "time": "22:10"
      },
      "duration_minutes": 420,
      "stops": 0,
      "segments": [
        {
          "flight_number": "AA 142",
          "airline": {
            "code": "AA",
            "name": "American"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "10:10"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-20",
            "time": "22:10"
          },
          "duration_minutes": 420,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": "in_seat",
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 389,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": false,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 389,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -10,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxCpHRyDf0MRICeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALVsk1U"
    },
    {
      "price": 1390,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "18:10"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "06:15"
      },
      "duration_minutes": 425,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 112",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "18:10"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "06:15"
          },
          "duration_minutes": 425,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NBICeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALUck1M"
    },
    {
      "price": 1405,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "19:05"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "07:05"
      },
      "duration_minutes": 420,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 176",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "19:05"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "07:05"
          },
          "duration_minutes": 420,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NxMCeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALbGk10"
    },
    {
      "price": 1405,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "20:05"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "08:10"
      },
      "duration_minutes": 425,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 116",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "20:05"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "08:10"
          },
          "duration_minutes": 425,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NBMCeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALXEk1c"
    },
    {
      "price": 1440,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "23:20"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "11:10"
      },
      "duration_minutes": 410,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 182",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "23:20"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "11:10"
          },
          "duration_minutes": 410,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 388,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": true,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 388,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -10,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0MJICeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALZJk1o"
    },
    {
      "price": 1454,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "20:40"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "08:35"
      },
      "duration_minutes": 415,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 172",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "20:40"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "08:35"
          },
          "duration_minutes": 415,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NxICeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALYek1k"
    },
    {
      "price": 1503,
      "currency": "USD",
      "airlines": [
        {
          "code": "AA",
          "name": "American"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "21:15"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "09:15"
      },
      "duration_minutes": 420,
      "stops": 0,
      "segments": [
        {
          "flight_number": "AA 104",
          "airline": {
            "code": "AA",
            "name": "American"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "21:15"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "09:15"
          },
          "duration_minutes": 420,
          "aircraft": "Boeing 787",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "free",
            "power_outlet": "in_seat",
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 299,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 299,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -31,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxCpHRyDf0MBECeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALUUk1M"
    },
    {
      "price": 1503,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "21:50"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "09:45"
      },
      "duration_minutes": 415,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 114",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "21:50"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "09:45"
          },
          "duration_minutes": 415,
          "aircraft": "Boeing 787-10",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": "in_seat",
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 299,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 299,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -31,
        "level": "lower"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0NBECeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALVwk1U"
    },
    {
      "price": 1517,
      "currency": "USD",
      "airlines": [
        {
          "code": "BA",
          "name": "British Airways"
        }
      ],
      "departure": {
        "airport": {
          "code": "JFK",
          "name": "John F. Kennedy International Airport",
          "city": "New York"
        },
        "date": "2026-11-20",
        "time": "17:50"
      },
      "arrival": {
        "airport": {
          "code": "LHR",
          "name": "Heathrow Airport",
          "city": "London"
        },
        "date": "2026-11-21",
        "time": "05:50"
      },
      "duration_minutes": 420,
      "stops": 0,
      "segments": [
        {
          "flight_number": "BA 180",
          "airline": {
            "code": "BA",
            "name": "British Airways"
          },
          "operated_by": null,
          "transport": "flight",
          "departure": {
            "airport": {
              "code": "JFK",
              "name": "John F. Kennedy International Airport",
              "city": "New York"
            },
            "date": "2026-11-20",
            "time": "17:50"
          },
          "arrival": {
            "airport": {
              "code": "LHR",
              "name": "Heathrow Airport",
              "city": "London"
            },
            "date": "2026-11-21",
            "time": "05:50"
          },
          "duration_minutes": 420,
          "aircraft": "Boeing 777",
          "seat": {
            "type": "average_legroom",
            "legroom": {
              "value": 31,
              "unit": "in"
            }
          },
          "amenities": {
            "wifi": "for_a_fee",
            "power_outlet": null,
            "usb_outlet": "in_seat",
            "entertainment": [
              "on_demand_video"
            ]
          },
          "emissions": {
            "co2_kg": 426,
            "contrail_warming_potential": "medium"
          },
          "is_overnight": true,
          "is_often_delayed": false,
          "is_canceled": false
        }
      ],
      "layovers": [],
      "emissions": {
        "co2_kg": 426,
        "typical_for_route_co2_kg": 431,
        "difference_percent": -1,
        "level": "typical"
      },
      "next_leg_token": "gf1.eNqrVspWslLKS60oic9JTVfSUSpUsorOK83J0QETxhAqOlbHUCfaUMcABGN1EPLYiGgQUPJy81YCqo2NBfGVfDyCoDywEgMk5UpGBkZmuoaGukYGSgRMhjgJbCKykSCes4s7YQtMSLIAYSSqf_BYYEGkBRhBaBiro1QMDHmYRSiBAvEqxConRyDf0MJACeQSpRygFqXUPN3QYKAolHBRAkrkAyM1KbW4RKkWALX1k1g"
    }
  ],
  "filters": {
    "price_range": {
      "min": 1343,
      "max": 3029,
      "currency": "USD"
    },
    "duration_range_minutes": {
      "min": 80,
      "max": 640
    },
    "layover_range_minutes": {
      "min": 45,
      "max": 250
    },
    "airlines": [
      {
        "code": "EI",
        "name": "Aer Lingus"
      },
      {
        "code": "AF",
        "name": "Air France"
      },
      {
        "code": "JU",
        "name": "Air Serbia"
      },
      {
        "code": "AA",
        "name": "American"
      },
      {
        "code": "OS",
        "name": "Austrian"
      },
      {
        "code": "S4",
        "name": "Azores Airlines"
      },
      {
        "code": "BA",
        "name": "British Airways"
      },
      {
        "code": "SN",
        "name": "Brussels Airlines"
      },
      {
        "code": "DL",
        "name": "Delta"
      },
      {
        "code": "AY",
        "name": "Finnair"
      },
      {
        "code": "GA",
        "name": "Garuda Indonesia"
      },
      {
        "code": "IB",
        "name": "Iberia"
      },
      {
        "code": "FI",
        "name": "Icelandair"
      },
      {
        "code": "6E",
        "name": "IndiGo"
      },
      {
        "code": "AZ",
        "name": "ITA"
      },
      {
        "code": "B6",
        "name": "JetBlue"
      },
      {
        "code": "KL",
        "name": "KLM"
      },
      {
        "code": "LO",
        "name": "LOT"
      },
      {
        "code": "LH",
        "name": "Lufthansa"
      },
      {
        "code": "MH",
        "name": "Malaysia Airlines"
      },
      {
        "code": "QR",
        "name": "Qatar Airways"
      },
      {
        "code": "AT",
        "name": "Royal Air Maroc"
      },
      {
        "code": "SV",
        "name": "Saudia"
      },
      {
        "code": "SK",
        "name": "Scandinavian Airlines"
      },
      {
        "code": "SQ",
        "name": "Singapore Airlines"
      },
      {
        "code": "LX",
        "name": "SWISS"
      },
      {
        "code": "TK",
        "name": "Turkish Airlines"
      },
      {
        "code": "VS",
        "name": "Virgin Atlantic"
      }
    ],
    "alliances": [
      {
        "code": "ONEWORLD",
        "name": "Oneworld"
      },
      {
        "code": "SKYTEAM",
        "name": "SkyTeam"
      },
      {
        "code": "STAR_ALLIANCE",
        "name": "Star Alliance"
      }
    ],
    "connecting_airports": [
      {
        "code": "AMS",
        "city": "Amsterdam"
      },
      {
        "code": "FRA",
        "city": "Frankfurt am Main"
      },
      {
        "code": "LHR",
        "city": "London"
      },
      {
        "code": "ZRH",
        "city": "Zürich"
      }
    ]
  },
  "airline_policies": [
    {
      "code": "AA",
      "name": "American",
      "baggage_link": "https://www.aa.com/i18n/travel-info/baggage/checked-baggage-policy.jsp",
      "accessibility_link": "https://www.aa.com/i18n/travel-info/special-assistance/special-assistance.jsp"
    },
    {
      "code": "BA",
      "name": "British Airways",
      "baggage_link": "http://www.britishairways.com/travel/bagchk/public/en_gb",
      "accessibility_link": "https://www.britishairways.com/en-gb/information/travel-assistance"
    }
  ],
  "airports": [
    {
      "code": "AMS",
      "name": "Amsterdam Airport Schiphol",
      "city": "Amsterdam",
      "city_id": "/m/0k3p",
      "country": "Netherlands",
      "country_code": "NL",
      "coordinates": {
        "latitude": 52.3080556,
        "longitude": 4.76416667
      }
    },
    {
      "code": "/m/0k3p",
      "name": "Amsterdam",
      "city": "Amsterdam",
      "city_id": "/m/0k3p",
      "country": "Netherlands",
      "country_code": "NL",
      "coordinates": {
        "latitude": 52.3675734,
        "longitude": 4.9041389
      }
    },
    {
      "code": "CDG",
      "name": "Aéroport de Paris-Charles de Gaulle",
      "city": "Paris",
      "city_id": "/m/05qtj",
      "country": "France",
      "country_code": "FR",
      "coordinates": {
        "latitude": 49.0097222,
        "longitude": 2.54777778
      }
    },
    {
      "code": "/m/05qtj",
      "name": "Paris",
      "city": "Paris",
      "city_id": "/m/05qtj",
      "country": "France",
      "country_code": "FR",
      "coordinates": {
        "latitude": 48.8575475,
        "longitude": 2.3513765
      }
    },
    {
      "code": "FRA",
      "name": "Frankfurt Airport",
      "city": "Frankfurt am Main",
      "city_id": "/m/02z0j",
      "country": "Germany",
      "country_code": "DE",
      "coordinates": {
        "latitude": 50.0333333,
        "longitude": 8.575
      }
    },
    {
      "code": "/m/02z0j",
      "name": "Frankfurt am Main",
      "city": "Frankfurt am Main",
      "city_id": "/m/02z0j",
      "country": "Germany",
      "country_code": "DE",
      "coordinates": {
        "latitude": 50.1109221,
        "longitude": 8.6821267
      }
    },
    {
      "code": "JFK",
      "name": "John F. Kennedy International Airport",
      "city": "New York",
      "city_id": "/m/02_286",
      "country": "United States",
      "country_code": "US",
      "coordinates": {
        "latitude": 40.6397222,
        "longitude": -73.778889
      }
    },
    {
      "code": "/m/02_286",
      "name": "New York",
      "city": "New York",
      "city_id": "/m/02_286",
      "country": "United States",
      "country_code": "US",
      "coordinates": {
        "latitude": 40.7127753,
        "longitude": -74.0059728
      }
    },
    {
      "code": "LHR",
      "name": "Heathrow Airport",
      "city": "London",
      "city_id": "/m/04jpl",
      "country": "United Kingdom",
      "country_code": "GB",
      "coordinates": {
        "latitude": 51.4775,
        "longitude": -0.4613889
      }
    },
    {
      "code": "/m/04jpl",
      "name": "London",
      "city": "London",
      "city_id": "/m/04jpl",
      "country": "United Kingdom",
      "country_code": "GB",
      "coordinates": {
        "latitude": 51.5072178,
        "longitude": -0.1275862
      }
    },
    {
      "code": "LON",
      "name": "Metropolitan Area",
      "city": "London",
      "city_id": "/m/04jpl",
      "country": "United Kingdom",
      "country_code": "GB",
      "coordinates": {
        "latitude": 51.5073509,
        "longitude": -0.1277583
      }
    },
    {
      "code": "NYC",
      "name": "Metropolitan Area",
      "city": "New York",
      "city_id": "/m/02_286",
      "country": "United States",
      "country_code": "US",
      "coordinates": {
        "latitude": 40.7127837,
        "longitude": -74.0059413
      }
    },
    {
      "code": "PAR",
      "name": "Metropolitan Area",
      "city": "Paris",
      "city_id": "/m/05qtj",
      "country": "France",
      "country_code": "FR",
      "coordinates": {
        "latitude": 48.856614,
        "longitude": 2.3522219000000004
      }
    },
    {
      "code": "ZRH",
      "name": "Zurich Airport",
      "city": "Zürich",
      "city_id": "/m/08966",
      "country": "Switzerland",
      "country_code": "CH",
      "coordinates": {
        "latitude": 47.4647222,
        "longitude": 8.54916667
      }
    },
    {
      "code": "/m/08966",
      "name": "Zürich",
      "city": "Zürich",
      "city_id": "/m/08966",
      "country": "Switzerland",
      "country_code": "CH",
      "coordinates": {
        "latitude": 47.3768866,
        "longitude": 8.541694
      }
    }
  ]
}