Always test new commands on a non-critical camera first, and never expose the API raw to the internet. Have a specific integration in mind? Visit the iSpyConnect user forum—the community has already solved most API puzzles.
curl "http://localhost:8090/video/1/alert" The Agent DVR API transforms a standard NVR into a programmable, event-driven security system. While it lacks polished documentation, the endpoints are logical and reliable. Start with simple snapshot or record commands, then build up to complex automations. agentdvr api
# Start recording on camera 2 curl "http://localhost:8090/video/2/record?1" curl "http://localhost:8090/video/1/snapshot" --output snapshot.jpg Trigger a manual alert on camera 3 curl "http://localhost:8090/video/3/alert" 2. System Commands | Action | API Endpoint | |--------|---------------| | Get system status | /status | | List all cameras | /get cameras | | List recent events | /events?limit=10 | | Reboot Agent DVR | /shutdown (use with caution) | 3. Retrieving Recordings To get a list of recordings for a specific camera: Always test new commands on a non-critical camera
http://YOUR_AGENT_IP:8090/
Agent DVR (from iSpyConnect) is a powerful, cross-platform video surveillance solution. While its web interface is intuitive for manual control, its true potential lies in the Agent DVR API . This interface allows you to control every aspect of your system—cameras, recording, motion detection, and alerts—using simple HTTP requests. and alerts—using simple HTTP requests.