Example: http://192.168.1.100:8090/ By default, the API is open on your local network. For remote access, use a VPN or reverse proxy with authentication. Do not expose port 8090 directly to the public internet. Authentication (If Enabled) If you have set a username/password in Agent DVR, you must include it with every API call.
http://localhost:8090/list/CAMERA_NUM?year=2024&month=3&day=15 This returns JSON with file paths and timestamps. You can then download a file using:
http://localhost:8090/file/CAMERA_NUM/path/to/recording.mp4 ✅ 1. Home Assistant Integration Add this to your configuration.yaml :
http://YOUR_AGENT_IP:8090/
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/2/record?1" And when it closes 30 seconds later: