Amcrest API documentation

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
alabamatoy
Posts: 18
Joined: Thu Jul 07, 2016 5:10 pm

Amcrest API documentation

Post by alabamatoy »

I have multiple Amcrest cameras of various vintages. I now have 2 new IP4M-1053E and I am unable to get the PTZ API to work. What has worked in the past with Amcrest cameras (and is still working today) simply doesnt work with these 2 new cameras.

I understand Digest Authentication (versus basic). The latest API documentation (https://s3.amazonaws.com/amcrest-files/ ... 3.2017.pdf Revision 2.12 2017-03-15) clearly states that either basic or digest is acceptable. It says "Video products support either basic authentication or digest authentication." followed by rather incomplete examples of each. Posts here in this forum state that basic authentication is no longer supported. So its pretty clear that the API document noted above is either factually wrong, or out of date.

Q1: Is there a newer version of the API document, and if so, how do I get a copy?

Q2: Is there a guide somewhere that clearly documents what the Amcrest API expects for digest authentication implementation?
alabamatoy
Posts: 18
Joined: Thu Jul 07, 2016 5:10 pm

Re: Amcrest API documentation

Post by alabamatoy »

Amcrest, are you no longer supporting the API? Why no response to this?
User avatar
Kwing
Posts: 28
Joined: Fri Oct 11, 2019 11:18 am

Re: Amcrest API documentation

Post by Kwing »

Hi @alabamatoy , at the moment there are no API documentation past that revision date. Unfortunately regarding API integration we can only provide up to the documentation. We apologize for the inconvenience.
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: Amcrest API documentation

Post by jack7 »

@alabamatoy
You could use curl for your authentications.
https://ec.haxx.se/http/http-auth
If not familiar with curl, you will need to research its use in your environment.
alabamatoy
Posts: 18
Joined: Thu Jul 07, 2016 5:10 pm

Re: Amcrest API documentation

Post by alabamatoy »

I understand and use Curl.

Amcrest, you are knowingly putting out documentation that is incorrect? Wow.
alabamatoy
Posts: 18
Joined: Thu Jul 07, 2016 5:10 pm

Re: Amcrest API documentation

Post by alabamatoy »

The API documentation appears to be wrong on multiple levels. We (actually someone else far more skilled than I) finally got authentication to the Amcrest API working. See https://github.com/ZoneMinder/zoneminder/issues/2816 The API documentation is simply wrong on how the authentication works. The git issue link has PERL code that actually works with the Amcrest API. Apparently digest authentication is required first, then basic for the actual commands. Basic alone will not work, despite what the API documentation states.
Post Reply