Kayak Scraper

ENDPOINTS
GET/locations/search

Search Locations

Look up cities, airports, landmarks and hotels by name, with the IDs, airport codes and coordinates KAYAK uses.

QUERY PARAMS

City, airport, landmark or hotel name to look up.

Examples:

  • Las Vegas
  • Bellagio

What to look up: stays returns cities, neighborhoods, landmarks, regions, airports and hotels; hotels returns hotels only, each with the hotel_id the hotel endpoints take; flights returns airports and metro areas; cars returns airports and cities for a car-rental pick-up.

Default: stays

Allowed values: stays, hotels, flights, cars

{
  "query": "Las Vegas",
  "type": "stays",
  "count": 6,
  "results": [
    {
      "id": "35107",
      "name": "Las Vegas, Nevada, United States",
      "short_name": "Las Vegas",
      "type": "city",
      "link": null,
      "hotel_id": null,
      "airport_code": "LAS",
      "airport_name": null,
      "place_id": "61746",
      "city": {
        "id": "35107",
        "name": "Las Vegas",
        "code": null
      },
      "region": {
        "id": "146",
        "code": "NV",
        "name": "Nevada"
      },
      "subregion": null,
      "country": {
        "id": "253",
        "code": "US",
        "name": "United States"
      },
      "coordinates": {
        "lat": 36.17497,
        "lng": -115.13722
      },
      "bounding_box": {
        "south": 36.129554,
        "west": -115.414628,
        "north": 36.380491,
        "east": -115.062066
      },
      "timezone": "America/Los_Angeles",
      "utc_offset": "-08:00",
      "image": "https://content.r9cdn.net/rimg/dimg/0a/9e/073516d2-city-35107-1656d23229c.jpg?width=128&height=128&xhint=2420&yhint=1089&outputtype=JPEG&crop=true",
      "guidebook_count": 5,
      "is_metro_only": null
    },
    {
      "id": "LAS",
      "name": "Harry Reid Intl, Las Vegas, Nevada, United States, (LAS)",
      "short_name": "Las Vegas, Nevada, United States (LAS)",
      "type": "airport",
      "link": null,
      "hotel_id": null,
      "airport_code": "LAS",
      "airport_name": "Harry Reid Intl",
      "place_id": "175838",
      "city": {
        "id": "35107",
        "name": "Las Vegas",
        "code": null
      },
      "region": {
        "id": "146",
        "code": "NV",
        "name": "Nevada"
      },
      "subregion": null,
      "country": {
        "id": "253",
        "code": "US",
        "name": "United States"
      },
      "coordinates": {
        "lat": 36.08521,
        "lng": -115.15068
      },
      "bounding_box": {
        "south": 36.05021,
        "west": -115.21068,
        "north": 36.12020999999999,
        "east": -115.09067999999999
      },
      "timezone": "America/Los_Angeles",
      "utc_offset": "-08:00",
      "image": "https://content.r9cdn.net/rimg/dimg/0a/9e/073516d2-city-35107-1656d23229c.jpg?width=128&height=128&xhint=2420&yhint=1089&outputtype=JPEG&crop=true",
      "guidebook_count": null,
      "is_metro_only": false
    },
    {
      "id": "17948",
      "name": "Las Vegas, New Mexico, United States",
      "short_name": "Las Vegas",
      "type": "city",
      "link": null,
      "hotel_id": null,
      "airport_code": "LVS",
      "airport_name": null,
      "place_id": "61697",
      "city": {
        "id": "17948",
        "name": "Las Vegas",
        "code": null
      },
      "region": {
        "id": "149",
        "code": "NM",
        "name": "New Mexico"
      },
      "subregion": null,
      "country": {
        "id": "253",
        "code": "US",
        "name": "United States"
      },
      "coordinates": {
        "lat": 35.59393,
        "lng": -105.2239
      },
      "bounding_box": {
        "south": 35.557233,
        "west": -105.251899,
        "north": 35.631471,
        "east": -105.187764
      },
      "timezone": "America/Denver",
      "utc_offset": "-07:00",
      "image": "https://content.r9cdn.net/rimg/dimg/c3/d0/cecfe982-city-17948-172bd2f6332.jpg?width=128&height=128&xhint=693&yhint=1498&outputtype=JPEG&crop=true",
      "guidebook_count": null,
      "is_metro_only": null
    },
    {
      "id": "BLD",
      "name": "Boulder City, Las Vegas, Nevada, United States, (BLD)",
      "short_name": "Las Vegas, Nevada, United States (BLD)",
      "type": "airport",
      "link": null,
      "hotel_id": null,
      "airport_code": "BLD",
      "airport_name": "Boulder City",
      "place_id": "175828",
      "city": {
        "id": "35107",
        "name": "Las Vegas",
        "code": null
      },
      "region": {
        "id": "146",
        "code": "NV",
        "name": "Nevada"
      },
      "subregion": null,
      "country": {
        "id": "253",
        "code": "US",
        "name": "United States"
      },
      "coordinates": {
        "lat": 35.94818,
        "lng": -114.85771
      },
      "bounding_box": {
        "south": 35.913180000000004,
        "west": -114.91771,
        "north": 35.98318,
        "east": -114.79771
      },
      "timezone": "America/Los_Angeles",
      "utc_offset": "-08:00",
      "image": "https://content.r9cdn.net/rimg/dimg/0a/9e/073516d2-city-35107-1656d23229c.jpg?width=128&height=128&xhint=2420&yhint=1089&outputtype=JPEG&crop=true",
      "guidebook_count": null,
      "is_metro_only": false
    },
    {
      "id": "313416",
      "name": "Las Vegas, Canary Islands, Spain",
      "short_name": "Las Vegas",
      "type": "city",
      "link": null,
      "hotel_id": null,
      "airport_code": null,
      "airport_name": null,
      "place_id": "2671282",
      "city": {
        "id": "313416",
        "name": "Las Vegas",
        "code": null
      },
      "region": {
        "id": "3003",
        "code": "CN",
        "name": "Canary Islands"
      },
      "subregion": "Santa Cruz de Tenerife",
      "country": {
        "id": "225",
        "code": "ES",
        "name": "Spain"
      },
      "coordinates": {
        "lat": 28.14502,
        "lng": -16.54642
      },
      "bounding_box": null,
      "timezone": "Atlantic/Canary",
      "utc_offset": "Z",
      "image": null,
      "guidebook_count": null,
      "is_metro_only": null
    },
    {
      "id": "348158",
      "name": "Las Vegas, Salou, Catalonia, Spain",
      "short_name": "Las Vegas",
      "type": "hotel",
      "link": "https://www.kayak.com/Hotel.348158.ksp",
      "hotel_id": "348158",
      "airport_code": null,
      "airport_name": null,
      "place_id": "41529",
      "city": {
        "id": "48120",
        "name": "Salou",
        "code": null
      },
      "region": {
        "id": "3006",
        "code": "CT",
        "name": "Catalonia"
      },
      "subregion": "Tarragona",
      "country": {
        "id": "225",
        "code": "ES",
        "name": "Spain"
      },
      "coordinates": {
        "lat": 41.07088,
        "lng": 1.14637
      },
      "bounding_box": null,
      "timezone": "Europe/Madrid",
      "utc_offset": "+01:00",
      "image": null,
      "guidebook_count": null,
      "is_metro_only": null
    }
  ]
}