Google Flights Scraper
/airports/searchAirport Search
Look up cities, airports and regions by name, with each city's airports and their distance.
QUERY PARAMS
City, airport or region name to look up.
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
{
"query": "new york",
"count": 5,
"places": [
{
"type": "city",
"id": "/m/02_286",
"name": "New York",
"full_name": "New York",
"description": "City in New York State",
"airport_code": null,
"city": null,
"city_id": null,
"nearby_airports": [
{
"type": "airport",
"code": "JFK",
"name": "John F. Kennedy International Airport",
"city": "New York",
"distance": {
"value": 12,
"unit": "mi"
}
},
{
"type": "airport",
"code": "LGA",
"name": "LaGuardia Airport",
"city": "New York",
"distance": {
"value": 8,
"unit": "mi"
}
},
{
"type": "airport",
"code": "EWR",
"name": "Newark Liberty International Airport",
"city": "Newark",
"distance": {
"value": 8,
"unit": "mi"
}
}
]
},
{
"type": "region",
"id": "/m/059rby",
"name": "New York",
"full_name": "New York",
"description": "US state",
"airport_code": null,
"city": null,
"city_id": null,
"nearby_airports": []
},
{
"type": "city",
"id": "/m/019fh",
"name": "Buffalo",
"full_name": "Buffalo, New York",
"description": "City in New York State",
"airport_code": null,
"city": null,
"city_id": null,
"nearby_airports": [
{
"type": "airport",
"code": "BUF",
"name": "Buffalo Niagara International Airport",
"city": "Buffalo",
"distance": {
"value": 8,
"unit": "mi"
}
}
]
},
{
"type": "city",
"id": "/m/0y3k9",
"name": "Niagara Falls",
"full_name": "Niagara Falls, New York",
"description": "City in New York State",
"airport_code": null,
"city": null,
"city_id": null,
"nearby_airports": [
{
"type": "airport",
"code": "BUF",
"name": "Buffalo Niagara International Airport",
"city": "Buffalo",
"distance": {
"value": 19,
"unit": "mi"
}
},
{
"type": "airport",
"code": "IAG",
"name": "Niagara Falls International Airport",
"city": "Niagara Falls",
"distance": {
"value": 4,
"unit": "mi"
}
}
]
},
{
"type": "city",
"id": "/m/0y1rf",
"name": "Rochester",
"full_name": "Rochester, New York",
"description": "City in New York State",
"airport_code": null,
"city": null,
"city_id": null,
"nearby_airports": [
{
"type": "airport",
"code": "ROC",
"name": "Frederick Douglass Greater Rochester International Airport",
"city": "Rochester",
"distance": {
"value": 4,
"unit": "mi"
}
}
]
}
]
}