ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Blog
Google hotels5 min readNov 29, 2026

How Does an AI Travel Agent Get Live Hotel Prices When the Booking Sites Have No Public API? Read Every Site's Rate From Google Hotels in One Call

Ask Google Hotels instead of each site. Scavio's Google Hotels API returns one hotel's live rate on every booking site Google lists as JSON, 1 credit a call.

Scavio Team

Nov 29, 2026

Try the Google Hotels API free
scavio
AI agents / n8n
Google hotels

You do not need an API from each booking site. Google Hotels already shows the rate every booking site charges for a hotel, and Scavio's Google Hotels API returns that list as JSON: POST /api/v2/google/hotels finds the hotels for a destination and dates, and POST /api/v2/google/hotels/detail returns one hotel's live nightly rate on each site, 33 sites for one Manhattan hotel on November 29, 2026. Each call costs 1 credit, about $0.001 on the Growth plan, and works from an n8n workflow or as an agent tool.

The question was asked plainly on r/n8n: a developer had built an AI travel agent and was stuck on live prices and room availability, because "most of these sites don't have a public API" and the prices change often. Plain HTTP requests had not worked. The 21 comments split between paid data services and parsing page HTML inside n8n, which breaks whenever a site changes its markup. For the hotel half, there is a shorter route.

Why one site at a time is the hard way

Each booking site is its own integration: a partner programme with its own approval, or a page that builds its prices in the browser and changes layout without notice. An agent that answers "where is this hotel cheapest for these nights?" would need all of them. Google Hotels has already done that aggregation for the traveller, so reading it once gives you the comparison.

Step 1: Find the hotels for the stay

Bash
curl -s https://api.scavio.dev/api/v2/google/hotels \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "New York hotels", "check_in_date": "2026-12-15", "check_out_date": "2026-12-16", "currency": "USD"}'

This returned 18 properties, each with its lowest price for the night (price.amount), hotel class, rating, review count and a detail_token. Filters such as max_price, hotel_class, rating and free_cancellation let the agent pass the user's constraints straight through.

Step 2: Read every site's rate for the hotel the user picks

Bash
curl -s https://api.scavio.dev/api/v2/google/hotels/detail \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"detail_token": "<detail_token from step 1>", "check_in_date": "2026-12-15", "check_out_date": "2026-12-16", "currency": "USD"}'

For DoubleTree by Hilton New York Downtown that returned 33 rows in property.booking_sources, each with the site's name, rate_per_night, total_rate, a sponsored flag and a click link. Trimmed to three:

JSON
[
  { "name": "trivago DEALS", "rate_per_night": { "display": "$205", "amount": 205.23, "currency": "USD" } },
  { "sponsored": true, "name": "Expedia.com", "rate_per_night": { "display": "$255", "amount": 255.27, "currency": "USD" } },
  { "name": "DoubleTree by Hilton New York Downtown", "rate_per_night": { "display": "$284", "amount": 283.63, "currency": "USD" } }
]

So the agent can answer with a fact rather than a guess: $205.23 on trivago DEALS, $255.27 on Expedia and Hotels.com, $283.63 on the hotel's own site and on Booking.com, and $400.66 at the top. Across 18 hotels that night, the dearest site was a median 84% above the cheapest, which is the gap a travel agent exists to close. The full numbers are in the best Google Hotels APIs for hotel prices.

Step 3: Wire it into n8n or an agent

  • n8n: the Scavio n8n node has Google Hotels search and detail operations, or use an HTTP Request node with the two calls above. Pass the user's dates from the chat trigger and the detail_token from the first node to the second.
  • Agents: the MCP server exposes both endpoints as tools, so Claude, ChatGPT or an n8n AI Agent node can search, pick a hotel and fetch its rates on its own.
  • Code: Python and JavaScript SDKs wrap both calls; how to get Google Hotels prices from every booking site has a short script that keeps the cheapest row and the hotel's own row for each hotel.

What "real time" means here, and the limits

  • Fetched on request: each call reads Google Hotels when you make it, for the dates you send. Detail calls took 1.3 to 1.9 seconds of server time in our test, quick enough to run while the user waits.
  • Rates, not room inventory: a row is that site's rate for the stay. It does not name the room or the cancellation terms, and there is no guest-count parameter, so prices are for Google's default occupancy. If a room type or party size matters, confirm on the site through the row's link.
  • Read-only: the API does not book. The agent hands the user the cheapest site's link.
  • Flights are a separate call: the same key covers Google Flights for the other half of the trip.

An agent that prices 5 hotels for each user question spends 6 credits per answer, one search and five detail calls: about $0.006 on the Growth plan. Try the Google Hotels API free, 50 credits, no card, or try both calls in the playground.

Reference: Google Hotels API overview · search docs · detail docs · Booking.com API

Frequently asked questions

Is there an API for live hotel prices across booking sites?

Google Hotels already lists the rate from each booking site that sells a room. Scavio's Google Hotels API returns that list as JSON: search a destination and dates with /api/v2/google/hotels, then pass a hotel's detail_token to /api/v2/google/hotels/detail for each site's nightly rate and stay total. Each call costs 1 credit.

Why don't plain HTTP requests to hotel sites work?

Most booking sites build their prices in the browser after the page loads, so a plain request returns markup without the rates, and the page structure changes often enough that hand-written extractors keep breaking. An API that fetches the page for you and returns fixed JSON fields avoids both problems.

How fresh are the hotel prices?

Each call fetches Google Hotels at the moment you make it, for the dates you send, so the rates are the ones a traveller would see then. Hotel prices move with demand, so an agent should call at question time or on a schedule rather than store prices for long.

Can an AI agent book the room through this API?

No. The Google Hotels API is read-only: it returns properties, prices and each site's rate with a link to that site's offer. Booking needs a contract with the hotel or a booking site. An agent can hand the user the link to the cheapest site instead.

Live hotel rates for your agent

  • Every booking site's rate in one call
  • An n8n node and an MCP server
  • 1 credit a call, no partner account
Try the Google Hotels API free

50 free credits, no credit card

On this page

  1. Why one site at a time is the hard way
  2. Step 1: Find the hotels for the stay
  3. Step 2: Read every site's rate for the hotel the user picks
  4. Step 3: Wire it into n8n or an agent

Related articles

View all
  • scavio
    Comparison / Travel
    Google
    5 Best Google Hotels APIs for Hotel Prices in 2026: Scavio Read 509 Booking-Site Rates for 18 Hotels, and the Dearest Site Ran a Median 84% Above the Cheapest
  • scavio
    Travel / Price monitoring
    Google
    How to Get Google Hotels Prices From Every Booking Site Through an API
ScavioScavio

One scraper API for every social, search, e-commerce and real estate platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

Ask AI about Scavio

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy