{"slug": "building-an-accessibility-search-experience-with-google-flights-hotels-and-maps", "title": "Building an Accessibility Search Experience with Google Flights, Hotels, and Maps APIs", "summary": "SerpApi announced that developers can now integrate data from Google Flights, Google Hotels, and Google Maps APIs to build unified accessibility search experiences, retrieving details such as wheelchair-accessible entrances, accessible parking, and airport accessibility information. The company provided code examples using its Python library to query flight accessibility features, starting with a sample search from Austin-Bergstrom International Airport to John F. Kennedy International Airport.", "body_md": "Whether you're building a travel booking platform, an AI travel assistant, a corporate travel tool, or an accessibility-focused application, providing accurate accessibility information can make a meaningful difference for your users. The challenge is that this information is often spread across multiple Google services in different ways.\n\nWith SerpApi, you can integrate data from Google Flights, Google Hotels, Google Maps, and other APIs to create a unified accessibility search experience. You can retrieve details such as wheelchair-accessible entrances, accessible parking, elevators, accessible hotel amenities, airport accessibility information, and nearby businesses that meet a traveler's accessibility needs.\n\n## Getting Started with SerpApi\n\nIf you are new to SerpApi get started with this blog post:\n\nNow that you are setup with SerpApi and have located your API key, let's take a look at SerpApi's libraries.\n\n**Libraries**\n\nIn this example we will be using SerpApi's [Python library](https://serpapi.com/integrations/python).\n\nTo install the serpapi package, simply run the following command:\n\n``` bash\n$ pip install serpapi\n```\n\nYou can also make a simple GET request or for other programming languages, view our supported libraries here: [https://serpapi.com/integrations](https://serpapi.com/integrations).\n\n## Flights\n\nLet's say you want to search for flights and you need certain accessibility features, first we'll start with the flight itself.\n\nNew to Google Flights? This post walks through the basics:\n\n### Google Flights API\n\nBelow is a simple example using SerpApi's [Google Flights API](https://serpapi.com/google-flights-api). We'll be looking for a flight with these details:\n\n- Airports: Austin-Bergstrom International Airport (AUS) -> John F. Kennedy International Airport (JFK)\n- Dates: 2026-10-10 -> 2026-10-19 (Update these if they have passed)\n- Roundtrip:\n`type`\n\n1- For Return Flight: Collect and include the\n`departure_token`\n\nfrom the outbound flight output - For Booking Details: Collect and include the\n`booking_token`\n\nfrom the return flight output\n\n- For Return Flight: Collect and include the\n- First available flight\n- In this example we're selecting the first available flight, however remember you can compare price, times, length, and more before selecting flight.\n\n**Example Query:**\n\n``` python\nimport serpapi\n\n# Query SerpApi with already set parameters and additional input parameter (departure_token or booking_token)\ndef query_serpapi(parameter, token):\n    client = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\n    results = client.search({\n        \"engine\": \"google_flights\",\n        \"departure_id\": \"AUS\",\n        \"arrival_id\": \"JFK\",\n        \"type\": \"1\",\n        \"outbound_date\": \"2026-10-10\",\n        \"return_date\": \"2026-10-19\",\n        parameter: token\n    })\n\n    return results\ntoken = \"\"\n\n# Query the API initially for set dates and airports \n# Collect the departure_token for the first outbound best flight (if available, otherwise the other flights)\nresults = query_serpapi(\"\", \"\")\nif \"best_flights\" in results:\n    token = results[\"best_flights\"][0][\"departure_token\"] \nelse:\n    token = results[\"other_flights\"][0][\"departure_token\"] \n\n# Query the API with the departure_token for the selected flight \n# Collect the booking_token for the first return best flight (if available, otherwise the other flights)\nresults = query_serpapi(\"departure_token\", token)\nif \"best_flights\" in results:\n    token = results[\"best_flights\"][0][\"booking_token\"] \nelse:\n    token = results[\"other_flights\"][0][\"booking_token\"] \n\n# Query the API with the booking_token for both selected flights\nflights_results = query_serpapi(\"booking_token\", token)\n\n# Access the airline from the results and print\nairline = flights_results[\"selected_flights\"][0][\"flights\"][0][\"airline\"]\nprint(airline)\n```\n\n**Results**\n\nIn this example we're just looking at the airline so we can confirm the accessibility details for this airline, however there is so much other relevant data such as:\n\n- Airports, luggage, length, airlines, booking links, and more!\n\nLooking at our printed result:\n\n```\nDelta\n```\n\nThis means Delta is the airline for this flight. Now let's take this data and use additional APIs / search engines to collect additional accessibility data.\n\n### Supplemental APIs\n\nThe Google Flights search engine doesn't have any accessibility filters built in so we must gather this data manually. SerpApi offers many APIs that are helpful to search for additional details like \"Airline accessibility\".\n\nIn this example we're just going to look at the airline which is \"Delta\".\n\nFor example, using the Google Search API with the query \"Delta wheelchair accommodations\".\n\n**Example Query:**\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n  \"engine\": \"google\",\n  \"google_domain\": \"google.com\",\n  \"q\": \"Delta wheelchair accommodations\"\n})\n```\n\nThe first result includes details and links to a Delta site for \"Wheelchairs, Scooters & Assistive Devices\".\n\nNext we'll look at sending a more a prompt to Google AI Mode. This prompt will be more open ended '\"Provide all accessibility options Delta airline provides including links\".\n\nExample Query:\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n  \"engine\": \"google_ai_mode\",\n  \"q\": \"Provide all accessibility options Delta airline provides including links\",\n  \"hl\": \"en\",\n  \"gl\": \"us\"\n})\n```\n\nThe results include a breakdown of each accessibility option Delta offers including links to relevant Delta resources.\n\nThese are just 2 options for looking up additional accessibility information, however we offer many other APIs. You can also search for other specific details like the airplane or airport.\n\n## Accommodations\n\nIf you require booking hotels or accommodations, we offer a [Google Hotels API](https://serpapi.com/google-hotels-api). There are a few places we can see accessibility options within Google Hotels.\n\nNew to Google Hotels? This post walks through the basics:\n\nContinuing with the destination and dates we used in our Google Flights example, we'll search for:\n\n- \"New York\" as our query\n- Dates from 2026-10-10 to 2026-10-19\n\n### Using the `amenities`\n\nParameter\n\nGoogle Hotels also offers an `amenities`\n\nparameter. You can see the full list of available amenities [here](https://serpapi.com/google-hotels-amenities).\n\nCurrently the only accessibility amenity filter is #53 \"Wheelchair accessible\". That means if you're looking for a wheelchair accessible hotel, we will set the `amenities`\n\nparameter to \"53\":\n\n**Example Query: **\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n    \"engine\": \"google_hotels\",\n    \"q\": \"New York\",\n    \"check_in_date\": \"2026-10-10\",\n    \"check_out_date\": \"2026-10-19\",\n    \"amenities\": \"53\"\n})\n```\n\nYou'll receive all results that have wheelchair accessible set as an amenity:\n\nThe unfortunate limitation to this is that there is only a filter for Wheelchair accessibility but not any other accessibility options. However, Google Hotels doesn't stop there.\n\n### Using the Property Details Results\n\nThere are a lot more details you can get for a specific property by opening the property details. To do this you need to extract the `property_token`\n\nfrom the `properties`\n\nresults for the location you want to view further.\n\nFor the example above, the first property had the `property_token`\n\n\"ChgI9YDx8qji4HIaDS9nLzExZzY4eWZ4MncQAQ\".\n\nLet's use this property token and query the Google Hotels API again with the `amenities`\n\nfilter removed as well.\n\n**Example Query: **\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n  \"engine\": \"google_hotels\",\n  \"q\": \"New York\",\n  \"check_in_date\": \"2026-10-10\",\n  \"check_out_date\": \"2026-10-19\",\n  \"property_token\": \"ChgI9YDx8qji4HIaDS9nLzExZzY4eWZ4MncQAQ\"\n})\n```\n\nNow you can see the full details for that specific hotel:\n\nNow that we have the property details pulled up, there are a few places you can see accessibility details such as the `rates`\n\n, `amenities,`\n\nor `amenities_detailed`\n\nsections.\n\n**Results: rates**\n\nSome hotels have accessible specific booking options.\n\nFor example: Hearing Accessible (Roll-in) Shower\n\nUsing the results from above, if we want to compile the rooms that say \"Accessible\", we could do something like this:\n\n```\naccessible_rooms = []\nfor booking in results[\"featured_prices\"]:\n    for room in booking[\"rooms\"]:\n        name = room[\"name\"]\n        if (\"Accessible\" in name):\n            accessible_rooms.append(booking)\n```\n\nThis will create a list of all the accessible rooms including the booking details.\n\n**Results: amenities**\n\nWithin the place details you can also see the full list of amenities, these can differ between what the location lists.\n\nFor example this location lists \"Accessible\" and \"Accessible elevator\".\n\n```\n\"amenities\":\n[\n..........\n\"Accessible\",\n\"Accessible elevator\",\n\"Private bathroom\",\n\"Bathtub in some rooms\",\n...........\n],\n```\n\nUsing the results from the example above again, you can collect all of the Accessible amenities for this location:\n\n```\naccessible_amenities = []\nfor amenity in results[\"amenities\"]:\n    if \"accessible\" in amenity.lower():\n        accessible_amenities.append(amenity)\n```\n\nThis will create a list of all the accessible amenities.\n\n**Results: amenities_detailed**\n\nSimilarly to the `amenities`\n\nfield, this lists accessible amenities with some additional details.\n\n```\n\"amenities_detailed\":\n{\n\"groups\":[\n...........\n  {\n    \"title\":\n    \"Accessibility\",\n    \"list\":[\n      {\n        \"title\": \"Accessible\",\n        \"available\": true\n      },\n      {\n        \"title\": \"Accessible elevator\",\n        \"available\": true\n      }\n    ]\n  },\n...........\n```\n\nUsing our results from above once again, you can collect all of the Accessible amenities for this location:\n\n```\naccessible_amenities = []\namenities_detailed = results[\"amenities_detailed\"]\nfor group in amenities_detailed[\"groups\"]:\n    for item in group[\"list\"]:\n        title = item[\"title\"].lower()\n        if \"accessible\" in title:\n            accessible_amenities.append(title)\n```\n\nThis will create a list of all the accessible amenities.\n\n## Locations / Places\n\nLast but definitely not least are the APIs supporting locations and places. We're primarily going to discuss the Google Maps API, however there are more APIs that may be helpful. Each has a unique set of input parameters, output fields, and reviews you can gather accessibility details from.\n\nWhether you are confirming the Hotel accessibility, looking for food or activity accessible places, or reading reviews to ensure the location's accessibility is accurate.\n\n### Google Maps API\n\nLet's query the [Google Maps API](https://serpapi.com/google-maps-api) using a simple query of \"Coffee\"\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n  \"engine\": \"google_maps\",\n  \"q\": \"Coffee\"\n})\n```\n\nWhen locations have accessibility listed you can access it in the `local_results`\n\nwithin the `extensions`\n\narray for each location.\n\nUsing the results from above, collecting the accessibility information for each one would look like:\n\n```\nlocations = {}\nfor result in results[\"local_results\"]:\n    title = result[\"title\"]\n    for item in result[\"extensions\"]:\n        if \"accessibility\" in item:\n            locations[title] = item[\"accessibility\"]\n```\n\nYou can also read the full reviews for a specific location and identify if there were any negatives regarding the locations accessibility.\n\nThe Google Maps Reviews API requires the `data_id`\n\nwhich you can collect from the Google Maps API results within the `data_id`\n\nfield. For this example we'll be using the `data_id`\n\n0x89b7adf9f755c29d:0xed4e7f8d582eca3.\n\nYou can also use the `query`\n\nparameter to filter the queries to relevant keywords. We'll set this to \"Accessible\" for this example.\n\nThe code will look like this:\n\n``` python\nimport serpapi\n\nclient = serpapi.Client(api_key=\"YOUR_SECRET_API_KEY\")\nresults = client.search({\n  \"engine\": \"google_maps_reviews\",\n  \"data_id\": \"0x89b7adf9f755c29d:0xed4e7f8d582eca3\",\n  \"query\": \"Accessible\"\n})\nprint(results)\n```\n\nYou can see any comments within the review itself. In this case it states the shopping center is accessible however the cafe door is not. Also the table height is good for wheelchairs.\n\nYou can also see the answers to questions, in this case the question asks \"Wheelchair accessible\":\n\n## Additional APIs\n\nWhile we won't be doing full examples with the remaining APIs, these also have accessibility details. You can view the documentation page via the link on each title.\n\n**Apple Maps API**\n\nThe [Apple Maps API](https://serpapi.com/apple-maps-api) offer accessibility details within the [\"amenities\"] array.\n\nExample `amenities`\n\nresult:\n\n```\n\"amenities\":[\n...........\n{\n  \"name\": \"Wheelchair Accessible\",\n  \"id\": \"crossbusiness.accessibility_features.wheelchair_accessible\"\n},\n...........\n```\n\n### Tripadvisor Search API / Yelp Search API\n\nThe [Tripadvisor Search API](https://serpapi.com/tripadvisor-search-api) and [Yelp Search API](https://serpapi.com/yelp-search-api) don't provide any accessibility details on the search engines themselves.\n\nHowever, you can use the Tripadvisor or Yelp search results to find relevant locations.\n\nThen utilize the the `place_id`\n\nto search for reviews for a specific location.\n\n- Utilizing the\n`place_id`\n\n, iterate through each page of reviews and search manually for specific keywords.\n\nExample Review:\n\n```\n\"position\": 1587,\n\"title\": \"Food good, bathroom a disaster\",\n\"snippet\": \n..............\nLadies Bathroom: not very clean, small with only 2 stalls...what's up with that? They serve endless coffee, but only 2 stalls? Disabled (larger of the 2) not ADA compliant and since I am disabled, I had challenges. Bathroom being redone, but apparently quite slowly. They should make it a priority!\",\n..............\n```\n\n- Then utilize the the\n`place_id`\n\nto search for reviews for a specific location. - Yelp Reviews offers a\n`q`\n\nparameter as well to include relevant keywords.\n\nExample Review:\n\n```\n\"comment\": {\n  \"text\": \"Drink was 10/10 parking was easily accessible\n  .....\n},\n```\n\n## Conclusion\n\nAll of these APIs are available for SerpApi users, [sign up](https://serpapi.com/users/sign_up) for a free account including 250 successful searches now!\n\nYou can use this for a travel app, company planning, or other travel accessibility needs. SerpApi makes finding accessible activities, accommodations, and flights easy. And we're happy to do it! ❤️\n\nIf you need any help on your journey, send us a chat or an email to contact@serpapi.com, we are happy to help.\n\n## Resources\n\n[How to Scrape Google Flights](https://serpapi.com/blog/how-to-scrape-google-flights/)[Making a Flight Price Tracker with Google Flights and Make.com](https://serpapi.com/blog/making-a-flight-price-tracker-with-google-flights-and-make-com/)[Introducing SerpApi Google Travel Explore API](https://serpapi.com/blog/introducing-serpapi-google-travel-explore-api/)[How to scrape Google Hotels Data (Tutorial 2026)](https://serpapi.com/blog/scraping-google-hotels/)[How to Scrape Apple Maps with SerpApi](https://serpapi.com/blog/apple-maps-api/)[How to scrape Yelp data using Python (Places and Reviews)](https://serpapi.com/blog/how-to-scrape-yelp-data-places-and-reviews/)[How To Scrape Tripadvisor Reviews](https://serpapi.com/blog/how-to-scrape-tripadvisor-reviews/)[Get Hotel Details From Tripadvisor And Compare Hotels using Python](https://serpapi.com/blog/get-hotel-details-from-trip-advisor-and-compare-hotels-using-python/)", "url": "https://wpnews.pro/news/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps", "canonical_source": "https://serpapi.com/blog/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps-apis/", "published_at": "2026-07-13 19:06:19+00:00", "updated_at": "2026-07-21 18:19:43.065504+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["SerpApi", "Google Flights", "Google Hotels", "Google Maps", "Austin-Bergstrom International Airport", "John F. Kennedy International Airport"], "alternates": {"html": "https://wpnews.pro/news/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps", "markdown": "https://wpnews.pro/news/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps.md", "text": "https://wpnews.pro/news/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps.txt", "jsonld": "https://wpnews.pro/news/building-an-accessibility-search-experience-with-google-flights-hotels-and-maps.jsonld"}}