---
title: "Get LPR Zone Metrics"
method: GET
path: "/v2/cameras/lpr/zones/{zone_id}/metrics"
tags: ["LPR"]
---

# Get LPR Zone Metrics

`GET /v2/cameras/lpr/zones/{zone_id}/metrics`

## Request

- Base URL: `https://api.verkada.com`
- URL: `https://api.verkada.com/v2/cameras/lpr/zones/{zone_id}/metrics`
- Auth: one of:
  - API key in header `x-verkada-auth`
  - API key in header `x-api-key`

Returns aggregated metrics for a single LPR Zone over the requested time
range, including end-of-range occupancy, entry/exit/unique-visitor counts,
and median, maximum, and average time spent in the zone.

## Path parameters

- `zone_id` string, required

## Query parameters

- `start_time` string, required: Start of the time range (inclusive) in ISO 8601 format (e.g., '2025-08-04T00:00:00Z').
- `end_time` string, required: End of the time range (exclusive) in ISO 8601 format (e.g., '2025-08-05T00:00:00Z').

## Response `200`

OK

- GetLPRZoneMetricsResponseV2: Response schema for aggregated LPR Zone metrics over a time range.
  - `avg_time_in_zone` string, required: Average time spent in the zone within the given range, as an ISO 8601 duration (e.g., 'PT17M').
  - `entries` integer, required: Total number of entries within the given range.
  - `exits` integer, required: Total number of exits within the given range.
  - `max_time_in_zone` string, required: Maximum time spent in the zone within the given range, as an ISO 8601 duration (e.g., 'PT27M').
  - `median_time_in_zone` string, required: Median time spent in the zone within the given range, as an ISO 8601 duration (e.g., 'PT15M').
  - `occupancy` integer, required: Total occupancy at the end of the given range.
  - `unique_visitors` integer, required: Total number of unique visitors within the given range.

---

[API](https://skmtc.dev/verkada/apis/camera-api.md) - [All operations](https://skmtc.dev/verkada/apis/camera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verkada/apis/camera-api/revisions/26cbfa5870e4?raw)
