cURL
curl --request GET \ --url https://api.liteapi.travel/v3.0/data/hotel/search \ --header 'X-API-Key: <api-key>'
{ "data": { "id": "lp54b35", "name": "Burj Jumeirah", "hotelDescription": "<p><strong>Luxurious Hotel</strong>...", "city": "Dubai", "country": "it", "latitude": 45.4384, "longitude": 10.9916, "address": "1b John Street", "zip": "10200" }, "score": 0.86283493 }
Search for a hotel using a semantic text query. Returns the best-matching hotel with basic details and a relevance score.
The semantic search query (e.g. 'Burj Jumeirah Dubai').
OK
Show child attributes
Semantic search relevance score (0-1)
Was this page helpful?