Analytics - Public

Get vehicle statistics

Get comprehensive statistics for a specific vehicle listing.

Returns popularity metrics, engagement data, and conversion stats.

Args:

  • vehicle_id: Vehicle ID from viatutaseasydatagreen table
  • domain: Website domain (query parameter)

Returns:

{
  "vehicle_id": 665,
  "popularity": {
    "view_count": 156,
    "views_24h": 47,
    "views_7d": 203,
    "unique_visitors": 89,
    "current_viewers": 8,
    "trending_score": 0.85
  },
  "engagement": {
    "avg_time_on_page": 120,
    "scroll_completion_rate": 0.65,
    "bounce_rate": 0.32,
    "avg_scroll_depth": 75
  },
  "conversion": {
    "lead_count": 12,
    "leads_24h": 3,
    "click_to_lead_rate": 0.13
  },
  "metadata": {
    "last_viewed_at": "2025-12-21T14:30:00Z",
    "is_trending": true
  }
}
get/public/analytics/vehicles/{vehicle_id}/stats

Path parameters

vehicle_idinteger required

Query parameters

domainstring required

Website domain

Website domain

Headers

x-website-tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/public/analytics/vehicles/{vehicle_id}/stats:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.