Data
Search places
Returns a list of places based on a text query. This endpoint helps find locations such as cities, points of interest, etc.
GET
Search places
Authorizations
API key for authentication. Add your API key to the Authorization header with this format: 'Bearer your_api_key_here'
Query Parameters
Search query for places (e.g., 'Manhattan', 'Eiffel Tower')
Minimum string length:
2Restricts results to places matching the specified type
Available options:
hotel, resort, hostel, apartment, vacation_rental, bed_and_breakfast, inn, motel, city, airport, restaurant, attraction, shopping_mall, beach, park, landmark The language code in which to return results.
Pattern:
^[a-z]{2}(-[A-Z]{2})?$Maximum number of results to return.
Required range:
1 <= x <= 20Response
Successfully retrieved list of places
Search places