get
https://api.liteapi.travel/v3.0/data/hotel/ask
Overview
Beta Feature - Ask natural language questions about a specific hotel and get AI-powered answers based on the hotel's information.
When to Use
- Hotel Q&A - Answer customer questions about hotels
- Information lookup - Get specific details about amenities, services, or features
- Conversational interfaces - Build chat interfaces for hotel information
- Detailed inquiries - Ask about specific aspects like restaurants, parking, or amenities
What You Get
- AI-generated answers - Relevant responses to your questions
- Hotel-specific information - Answers based on the hotel's actual data
- Natural language responses - Human-readable answers
Example Questions
- "What amenities does this hotel have?"
- "Is there parking available?"
- "What does a meal at the restaurant look like?"
Key Features
- Web search option - Enable
allowWebSearchto get additional information from the web - Hotel context - Answers are specific to the hotel you're asking about
- Natural language - Ask questions conversationally
Quick Start
Provide the hotelId and your question. Optionally enable allowWebSearch for web-enhanced answers.
Note: This is a beta feature and may be subject to changes.