Back to Nodes

Apify API key connection

Last updated Jul 6, 2026

Search hotels and vacation rentals, and get guest reviews, photo galleries, and autocomplete suggestions with names, nightly rates, and ratings. Apify-backed n8n community node, pay-per-result, and usable as an AI agent tool.

15 Weekly Downloads
291 Monthly Downloads

Included Nodes

Apify API key connection

Description

n8n-nodes-google-hotels-api

An n8n community node that searches Google Hotels and returns structured property listings: name, nightly rate, total rate, rating, amenities, and coordinates. It also pulls guest reviews, photo galleries, and autocomplete suggestions for any property. It is backed by the Google Hotels API on Apify and bills per result, so there are no subscriptions and no minimums.

Installation · Credentials · Operations · Output · Example workflows · Pricing · Resources

What it does

Give the node a destination and dates, and it returns one item per property with the name, type, nightly and total rates, guest rating, review count, location, and amenities. It also works as an AI Agent tool, so an agent can look up places to stay on demand.

  • Search hotels and vacation rentals by query and stay dates
  • Get guest reviews for any property: rating, text, date, source, and reviewer
  • Get a property’s full photo gallery with full-size and thumbnail URLs
  • Turn partial queries into destination and hotel name suggestions with property tokens
  • Filter by minimum and maximum nightly price
  • Localize with currency, country, and language codes
  • Choose how much data to return per result: Simplified, Raw, or Selected Fields
  • Installation

    Follow the n8n community nodes installation guide:

    1. In n8n, open Settings > Community Nodes.
    2. Select Install.
    3. Enter n8n-nodes-google-hotels-api as the npm package name.
    4. Agree to the risks of using community nodes, then select Install.

    After it installs, the Google Hotels node appears in the nodes panel.

    > n8n Cloud only allows verified community nodes. Until this node is verified, install it on a self-hosted n8n instance.

    Credentials

    You need a free Apify account and an API token.

    1. Sign in to the Apify Console.
    2. Open Settings > Integrations and copy your Personal API token.
    3. In n8n, create a new Apify API credential and paste the token.
    4. Use the credential’s Test button to confirm it works.

    The node also supports Apify OAuth2 if you prefer to connect that way.

    Operations

    Hotel > Search returns properties that match a query and dates.

    | Parameter | Description |
    | — | — |
    | Search Query | Destination or query to search for. Required. |
    | Check-In Date / Check-Out Date | Stay dates, YYYY-MM-DD. |
    | Adults / Children | Guest counts. |
    | Currency | Three-letter currency code. |
    | Country Code / Language Code | Localization, for example us and en. |
    | Minimum Price / Maximum Price | Nightly rate bounds. 0 for no limit. |
    | Maximum Pages | How many result pages to fetch. |
    | Output | How much data to return: Simplified, Raw, or Selected Fields. |

    Hotel > Get Autocomplete Suggestions turns a full or partial query into destination and hotel name suggestions, one item per suggestion. Suggestions for specific hotels include a property_token you can feed into the photos and reviews operations.

    | Parameter | Description |
    | — | — |
    | Search Query | Full or partial query, for example hilton new y. Required. |
    | Country Code / Language Code | Localization. |
    | Currency | Three-letter currency code. |

    Hotel > Get Photos returns a property’s photo gallery, one item per photo.

    | Parameter | Description |
    | — | — |
    | Property Token | From a search result or an autocomplete suggestion. Required. |
    | Maximum Pages | How many photo pages to fetch. One page typically covers the whole gallery. |

    Hotel > Get Reviews returns guest reviews for a property, one item per review.

    | Parameter | Description |
    | — | — |
    | Property Token | From a search result or an autocomplete suggestion. Required. |
    | Sort Reviews By | Most Helpful, Most Recent, Highest Score, or Lowest Score. |
    | Review Category Token | Optional topic filter from a property details result. |
    | Country Code / Language Code | Localization. |
    | Maximum Pages | How many review pages to fetch. About 10 reviews per page. |

    Output

    Each result (property, suggestion, photo, or review) is returned as its own n8n item. The Output parameter lets you choose how much to return:

  • Simplified (default): a compact object per result. For search that is name, type, ratePerNight, totalRate, overallRating, reviews, locationRating, latitude, longitude, and propertyToken. For reviews it is rating, date, text, source, and reviewer; for photos it is photoUrl, thumbnailUrl, section, and dimensions; for autocomplete it is suggestion, category, location, and propertyToken. This mode is also used automatically when the node runs as an AI Agent tool, to keep responses small.
  • Raw: every field the API returns for each result, using the original field names.
  • Selected Fields: pick exactly which fields to include, per operation.
  • Fields (Raw and Selected Fields)

    | Field | Type | Description |
    | — | — | — |
    | name | string | Property name |
    | type | string | Property type, for example hotel or vacation rental |
    | property_token | string | Token used to fetch property details |
    | gps_coordinates | object | Latitude and longitude |
    | checkintime | string | Check-in time |
    | checkouttime | string | Check-out time |
    | ratepernight | object | Nightly rate, with and without taxes and fees |
    | total_rate | object | Total rate for the stay |
    | prices | array | Rates by source |
    | nearby_places | array | Notable places nearby |
    | images | array | Property image URLs |
    | overall_rating | number | Overall guest rating |
    | reviews | integer | Number of reviews |
    | location_rating | number | Location rating |
    | amenities | array | Available amenities |
    | excluded_amenities | array | Amenities not available |
    | essential_info | array | Short highlights about the property |

    Example workflows

    1. Compare hotel rates for a trip

    1. Manual Trigger.
    2. Google Hotels: Search Query your destination, Check-In and Check-Out dates, Output Simplified.
    3. Sort: by ratePerNight ascending to find the cheapest options.

    2. Daily price watch for a destination

    1. Schedule Trigger: run once a day.
    2. Google Hotels: your destination and dates, Maximum Price set to your budget.
    3. IF / Slack: alert when a highly rated property drops below your target.

    3. Let an AI Agent recommend places to stay

    1. AI Agent node.
    2. Attach Google Hotels as a tool.
    3. Ask “Find a 4-star hotel in Austin under $200 for next weekend.” The agent calls the node (in Simplified mode) and answers with live options.

    4. Monitor reviews for your hotel

    1. Schedule Trigger: run once a day.
    2. Google Hotels (Get Reviews): your hotel’s Property Token, Sort Reviews By Most Recent.
    3. IF / Slack: alert on new reviews rated 2 stars or lower so the team can respond fast.

    5. Build a photo library for listings

    1. Google Hotels (Get Autocomplete Suggestions): the hotel’s name, grab propertyToken from the top suggestion.
    2. Google Hotels (Get Photos): that token, one item per photo with full-size URLs.
    3. HTTP Request / cloud storage node: download or archive the images.

    Pricing

    This node calls the Google Hotels API on Apify, which is billed pay-per-result: a small per-run fee plus a per-result fee for each page of search results, review, photo, or suggestion returned, with no subscription and no minimums. Apify also includes a free monthly usage tier that covers typical volumes. See the Actor page for current rates.

    Resources

  • Google Hotels API on Apify
  • npm package
  • n8n community nodes documentation
  • Apify n8n integration guide

License

MIT