How do I get Hikvision ANPR plate data via the HTTP API?

Answered by ANPR AI·Sourced

Short answer

Use the event interface documented for your exact model and firmware. Hikvision's 7-series ANPR integration guide describes two routes: a persistent GET event stream from the camera, and camera-initiated delivery to a listening server you run. It is a historical guide and does not settle support in every newer firmware build, so confirm the route in the ISAPI documentation for your camera.

Explanation

In event-stream mode your software holds open a GET request to /ISAPI/Event/notification/alertStream and the camera sends each plate event down that connection as it happens. In listening mode the camera connects to your HTTP server and posts each event, typically as a multipart message containing the plate XML and images. Streaming events is different from polling historical records, which uses a separate search request.

The reviewed documentation does not establish a general Hikvision deprecation of GET, and it does not guarantee that every endpoint works on every newer firmware either. In listening mode, acknowledge each event promptly with an HTTP 200 response; otherwise the camera may treat the delivery as failed and send it again.

Things to check

  • Check the camera model and firmware.
  • Check the API capabilities the camera reports.
  • Check the authentication method.
  • Check the event type you need.
  • Check connectivity from the camera to your listening server.

What to do

Test a documented event route with a fresh plate read. Choose streaming or push delivery according to what the model supports: open the GET event stream with digest authentication and parse each event, or set the camera's listening server to your server's address and port and parse the multipart XML and images it posts. Handle reconnection as the documentation describes.

Source

Hikvision: ANPR Camera Integration Solution for 7 series (sections 4.1.2 and 4.2); Hikvision: product-specific ISAPI documentation finder

Scope and version

Historical 7-series guide, checked through indexed manufacturer text because direct retrieval failed. Verify newer firmware separately.

Was this answer helpful?

Your vote decides which questions we answer next.

Comments

Add a comment

Share what worked for you, or ask about a detail in this answer.

Comments are reviewed before they appear.

ANPR Edge

Skip the dedicated ANPR camera. Read plates from the cameras you already have.

ANPR Edge is plate-recognition software that runs on a PC at your site and works with ordinary IP cameras, so plate reads no longer depend on one vendor's camera, NVR or firmware.

  • Works with standard IP cameras over RTSP
  • One license per location covers every camera
  • Runs on a Windows PC or Mac you own

Related questions

Browse all ANPR questions