Get Occupancy Trend Data

Returns occupancy trends data for a single camera over a specified time range.

The response includes the queried time range (as RFC 3339 timestamps) and
directional readings bucketed at the requested interval.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
date-time

The start of the time range for occupancy trends, as an ISO 8601 timestamp (e.g. '2025-07-17T21:06:20Z'). Defaults to one hour before the current time.

date-time

The end of the time range for occupancy trends, as an ISO 8601 timestamp (e.g. '2025-07-17T21:06:20Z'). Defaults to the current time.

string
enum
Defaults to 1_hour

The width of each returned bucket. One of 15_minutes, 1_hour, or 1_day. Defaults to 1_hour.

Allowed:
string
enum
Defaults to person

The class of the counted object. One of person or vehicle. Defaults to person.

Allowed:
string

The unique identifier of the camera line preset to query.

Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json