Skip to main content
POST
/
analytics
/
report
Retrieve detailed analytics report
curl --request POST \
  --url https://da.liteapi.travel/analytics/report \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "from": "2026-07-01",
  "to": "2026-07-31"
}
'
{
  "message": "Detailed analytics report retrieved successfully",
  "data": {
    "success": true,
    "data": {
      "salesRevenue": [
        {
          "salesRevenue": 41293.76,
          "currency": "EUR",
          "date": "2026-07-16T00:00:00.000Z"
        },
        {
          "salesRevenue": 41406.99,
          "currency": "EUR",
          "date": "2026-07-17T00:00:00.000Z"
        }
      ],
      "uniqueDates": [
        "2026-07-16T00:00:00.000Z",
        "2026-07-17T00:00:00.000Z"
      ],
      "confirmed_booking": [
        {
          "confirmed_booking": 144,
          "date": "2026-07-16T00:00:00.000Z"
        },
        {
          "confirmed_booking": 144,
          "date": "2026-07-17T00:00:00.000Z"
        }
      ],
      "sales": [
        {
          "sales": 41293.76,
          "currency": "EUR",
          "date": "2026-07-16T00:00:00.000Z"
        },
        {
          "sales": 41406.99,
          "currency": "EUR",
          "date": "2026-07-17T00:00:00.000Z"
        }
      ],
      "commission": [
        {
          "commission": 3753.43,
          "currency": "EUR",
          "date": "2026-07-16T00:00:00.000Z"
        },
        {
          "commission": 3763.39,
          "currency": "EUR",
          "date": "2026-07-17T00:00:00.000Z"
        }
      ],
      "revenue": [
        {
          "revenue": 4129.38,
          "currency": "EUR",
          "date": "2026-07-16T00:00:00.000Z"
        },
        {
          "revenue": 4140.7,
          "currency": "EUR",
          "date": "2026-07-17T00:00:00.000Z"
        }
      ],
      "totalRevenue": 62356,
      "bookings": [
        {
          "date": "2026-07-16T00:00:00.000Z",
          "booking": 144
        },
        {
          "date": "2026-07-17T00:00:00.000Z",
          "booking": 144
        }
      ],
      "cancelled_booking": [
        {
          "cancelled_booking": 1,
          "date": "2026-07-22T00:00:00.000Z"
        }
      ],
      "totalSales": 623562,
      "totalCommission": 56729,
      "totalBooking": 2309,
      "totalConfirmedBooking": 2308,
      "totalCancelledBooking": 1
    }
  }
}

Authorizations

X-Api-Key
string
header
required

API key required for authorization

Body

application/json
from
string<date>
required

Start date for the report YYYY-MM-DD (ISO 8601)

to
string<date>
required

End date for the report YYYY-MM-DD (ISO 8601)

Response

200 - application/json

Detailed analytics report retrieved successfully