get
https://api.liteapi.travel/v3.0/data/places
Overview
Search for places, locations, and areas using Google Places API. Returns a list of matching places that can be used to search for hotels within specific boundaries.
When to Use
- Location autocomplete - Build location search with autocomplete suggestions
- Place selection - Let users select cities, airports, or areas
- Hotel search boundaries - Get Place IDs to restrict hotel searches to specific regions
- Location discovery - Find places by name or description
What You Get
- Place list - Multiple matching places with details
- Place IDs - Unique identifiers for use in hotel searches
- Location information - Names, addresses, and location types
- Formatted addresses - Human-readable addresses for display
Key Features
- Multiple types - Search for cities, airports, hotels, or other place types
- Type filtering - Specify place types (e.g., 'locality,airport,hotel')
- Smart defaults - Automatically excludes less relevant types unless specified
- Relevance ordering - Results sorted by relevance using Google's ranking
Quick Start
Provide a textQuery (e.g., "Manhattan") and optionally specify type to filter results. Returns matching places with Place IDs you can use in hotel searches.