This article intends to instruct you on how to capture a live JPEG image of Reolink cameras via a web browser.
Applies to: All Reolink IP cameras (B800, B400, D800, D400, Reolink battery-powered cameras, Reolink Lumus, Reolink E1, and Reolink E1 Pro excluded).
Step 1. Enable HTTP or HTTPS port for your camera on the Reolink Client. You can refer to How to Set up Reolink Ports Settings via Reolink Client (New Client).
Step 2. Enter the URL below to get the captured image.
http://(ip address)/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=(any combination of numbers and letters)&user=(user name)&password=(user password)
For example, if your IP address is 192.168.2.119, the username is admin and the password is 123456, then the URL should be: http://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456
If you use HTTPS, then the URL should be:
https://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456
You may refresh the website to get a new snapshot of your live image.
If you want to get the JPEG snap of the substream, please add resolution (width and height) at the end of the URL. The link is as below:
http://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456&width=640&height=480
Or https://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456&width=640&height=480
Note: This request only applies to the camera with the hardware version of 51X, not totally proper for the cameras with the hardware version of 523/566, which do not necessarily capture the picture according to the width and height filled in the URL but automatically captures a picture that is closest to the code stream of this model according to the width and height set by the URL. For example, the URL width and height of RLC-511WA are set as 1024*768, but the actual captured picture is 2560*1920 (mainstream), because this model does not have a resolution of 1024*768.
Comments
6 comments
Does not work, it returns an error:
Access Error: Not Found
CGI program file does not exist
Hello Manuel, for now, the URL can be applied to all the Reolink camera(except battery-powered camera). If your camera can meet the demand but still failed, could you please submit a request so so that our technical group will help you to solve your problem?
Refer to https://support.reolink.com/hc/en-us/requests/new
Hi, is it also possible to switch Motion Detection via cgi script? What is the command?
Usecase: I want to observate my frontdoor. I want to get an email everytime someone is in front of it but only when the door is locked. My smart home system can execute cgi commands on different conditionsl like locked door etc...
Is there a way to get an image if I am using the NVR?
Hi ZaHackn, sorry for that we don't have the command for the motion detection.
Hi David Bell, sorry for that the command is only for Reolink cameras but no NVR.
Article is closed for comments.