I decided to increase the budget and get a $60-$70 Amcrest camera: https://www.amazon.com/stores/Amcrest/node/7648105011
They are compatible with ZoneMinder and have a web interface for configuration. I found out about them from a blog post: https://blog.jasonantman.com/2018/05/amcrest-ip-camera-first...
Some of the Amcrest cameras, maybe all, also have an API.