---
title: "Get Max People/Vehicle Counts"
method: GET
path: "/cameras/v1/analytics/max_object_counts"
tags: ["Analytics"]
---

# Get Max People/Vehicle Counts

`GET /cameras/v1/analytics/max_object_counts`

Returns the max count of people and vehicles within a specified time range.

## Query parameters

- `camera_id` string, required — The unique identifier of the camera.
- `start_time` integer — The start of the time range for requested counts. Formatted as a Unix timestamp in seconds. Default value is the current time. If only providing a start time, the same value will be used for <code>end_time</code>
- `end_time` integer — The end of the time range for requested counts. Formatted as a Unix timestamp in seconds. It can only be used if <code>start_time</code> is also provided
- `search_zones` array[] — Zones to search Formatted as coordinates ranging from <code>[0,0]</code> to <code>[9,9]</code> e.g., <code>[[3,3],[3,4],[4,3],[4,4]]</code>
  - integer[]

## Response `200`

OK

- MaxObjectCountsResponseV1
  - `people_count` integer — The number of people detected.
  - `vehicle_count` integer — The number of vehicle detected.

---

[API](https://skmtc.net/verkada/apis/api-tokens.md) · [All operations](https://skmtc.net/verkada/apis/api-tokens/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verkada/api-tokens/revisions/4a79d2d949a6/schema)
