In choosing a used digital camera for astrophotography, be aware of changing technology. Circa 2008 the hardware design of pixels started changing. The change suppressed dark current and lowered the noise from dark current. Uniformity at low levels started to improve a lot. It took a little longer for the new technology to get into the entry level cameras. By 2014 the dark current suppression technology had improved a lot as did uniformity. So in choosing a camera, stick to after about 2010 models--the later the better. Also be aware that some models do raw data filtering that you can't turn off. The filtering varies from deleting stars to turning stars green or magenta. So do a web search for:
"camera model number" raw data filtering
For more info on dark current suppression, see:
https://clarkvision.com/articles//dark-current-suppression-technology/
and
https://clarkvision.com/articles/technology-advancements-for-low-light-long-exposure-imaging/
I have a list of some of the cameras that filter raw data here:
https://clarkvision.com/reviews/image-quality-and-filtered-raw-data/
Roger