You are here: Home > Viewtron Surveillance Systems > Support Articles > IP Camera API

IP Camera XML API, IP Camera HTTP Post API

Viewtron IP Camera API Intro

IP Camera API

This video is the best place to start to learn about the Viewtron IP camera API.

API Overview

Viewtron IP cameras have a the ability to send a XML document via HTTP post when an alarm is triggered on the camera. Supported alarm types are human detection, vehicle detection, face detection / facial recognition, license plate detection / automatic license plate recognition. This API is supported by all Viewtron AI security cameras and Viewtron LPR cameras (license plate recognition).

IP Camera Setup

IP Camera API

Configure the alarm on your camera via a Viewtron NVR interface (if your IP camera is connected to one) or via the direct web browser interface of the camera. You can find videos that show how to setup Viewtron AI security cameras here and LPR camera videos here. Then, login to the IP cameras via a web browser.

  • Click on the Network link on the left. Then, click on the HTTP POST tab.
  • On the HTTP Post configuration screen, check the Enable checkbox
  • Select API for Protocol Type.
  • Enter the IP address of your HTTP server in the Server Address field.
  • Enter the Server Port of your HTTP server.
  • Enter the URL of the API handler of your HTTP sever.
  • Heartbeat Interval controls how often a Keep-Alive post is sent to the server.
  • Click on the Save button.
  • Click Refresh. The IP camera will send a Keep Alive post to the HTTP server and if your HTTP server properly responds, the Online State will change to "Online".

Sample HTTP Server for IP Camera API

Mike from CCTV Camera Pros wrote a sample HTTP server in Python for software development partners to use as a reference. Please note that our server is not designed for production applications. You can down our Python HTTP server Github.

Learn more about Viewtron IP Cameras

IP Cameras

You can learn more about Viewtron IP cameras here. Please visit this page if you want to see the Viewtron IP cameras with AI software.

Learn more about Viewtron Security Camera DVRs / NVRs

iPhone App
View Security Cameras from iPhone App
Android App
View Security Cameras from Android App
Mac Software
View Security Cameras from Mac Software
Windows Software
View Security Cameras from Windows Software

Security Camera DVR

Learn more about the latest Viewtron hybrid Security Camera DVRs and IP camera NVRs.

Our Viewtron hybrid security camera DVRs work with Analog CCTV, Network IP, and HD BNC Security Cameras. Users can mix and match different camera technologies. This is perfect for customers that have existing CCTV cameras and want to upgrade to high definition over time. Hybrid Viewtron DVRs work with the following security camera types and resolutions.

Our Viewtron IP camera NVRs have built-in PoE ports and are fully integrated with the AI software functions of all of our Viewtron AI security cameras. Viewtron NVRs are also fully integrated with our Viewtron license plate recognition cameras.

  • LPR Cameras - Viewtron LPR cameras have built-in automatic license plate recognition software built-in.
  • AI Security Cameras - Viewtron AI cameras support human detection, car detection, face detection, facial recognition, line crossing, object counting and many other advanced analytics features.

Complete Security Camera Systems

Security Camera System

CCTV Camera Pros can provide a complete security camera system quotes that include any Viewtron CCTV DVR or IP Camera NVR model. We can include security cameras, cables, connectors, power supplies, and monitors. We can even mix and match IP cameras and HD BNC security cameras because Viewtron DVRs are hybrid. This means that they work with just about any type of security camera.

As you have probably already seen on our website, we have 2, 4, 8, 16, 32, and 64 camera surveillance systems in pre-made packages. However, it is not possible for us to package up every combination and quantity of all the different camera models that we carry. So, we can also provide you with a custom quote with as many cameras as you need and a mix of any combination of camera model(s) based on your project requirements. If you want to use our AI security cameras, you must use Viewtron IP camera NVRs. Please request a free quote and consultation when you are ready.

Request a Quote

BBB Rating & Reviews

CCTV Camera Pros is proud to have an A+ rated with the Better Business Bureau. We also maintain a 5 star online review rating with

Veteran Owned Business

CCTV Camera Pros is proud to be a US Veteran Owned small business. Our co-founder, Mike Haldas, served in the United States Marine Corps 1993-1997.