Skip to main content
POST
/
analytics
/
hotels
Most booked hotels
curl --request POST \
  --url https://da.liteapi.travel/analytics/hotels \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "from": "2026-07-01",
  "to": "2026-07-31"
}
'
{
  "message": "Hotel analytics data retrieved successfully",
  "data": {
    "success": true,
    "data": [
      {
        "hotel_id": "lp1987",
        "name": "New York Marriott Downtown",
        "total": 1151,
        "city": "New York",
        "country": "USA",
        "sales": "289835",
        "currency": "EUR"
      },
      {
        "hotel_id": "lp123456",
        "total": 520,
        "name": "Omni Berkshire Place",
        "city": "New York",
        "country": "USA",
        "sales": "327925",
        "currency": "EUR"
      }
    ]
  }
}

Authorizations

X-Api-Key
string
header
required

API key required for authorization

Body

application/json
from
string<date>
required

Start date YYYY-MM-DD (ISO 8601)

to
string<date>
required

End date YYYY-MM-DD (ISO 8601)

Response

200 - application/json

Hotel analytics data retrieved successfully