Power hotel search UIs with real-time autocomplete suggestions from Google Hotels. Get destination cities, landmarks, and specific hotel properties as users type — with thumbnails, property tokens, and ready-to-use search links.
500 free credits/month · No credit card required
Structured data for real applications. Here are some ideas.
Build autocomplete dropdowns that suggest hotels and destinations as users type. Each suggestion includes a ready-to-use link to fetch full hotel search results.
Help users explore travel destinations by surfacing relevant cities, regions, and landmarks as they type partial queries in any language.
Resolve partial hotel names to exact properties with unique identifiers, Knowledge Graph IDs, and property tokens for deeper lookups.
Localize autocomplete suggestions for 50+ languages using language and country parameters. Build global travel search experiences.
Everything you need in one API.
/api/google-hotels/autocomplete
Get hotel and destination suggestions as users type
One API call. Structured JSON response.
curl -X GET "https://scrappa.co/api/google-hotels/autocomplete?q=Paris&type=all&hl=en&gl=us" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"suggestions": [
{
"position": 1,
"value": "paris hotel las vegas",
"type": "accommodation",
"location": "Las Vegas, NV",
"thumbnail": "https://lh3.googleusercontent.com/...",
"property_token": "ChgIgbj58O-AraJF...",
"scrappa_google_hotels_link": "https://scrappa.co/api/google-hotels/search?q=Las+Vegas..."
},
{
"position": 2,
"value": "Paris, France",
"type": "location",
"scrappa_google_hotels_link": "https://scrappa.co/api/google-hotels/search?q=Paris..."
}
],
"response_time_ms": 320
}
Sign up and get 500 free credits. No credit card required.