Cars built from October 2016 through July 2017 would be AP2. Beginning in August 2017, they started using AP2.5 hardware which included cameras with improved color.
Many of us have had no problem buying cameras directly from Tesla and upgrading our AP2 cars. You can also find them for sale on Ebay. Shop around though and get quotes from Tesla. Sometimes the cameras on Ebay are a deal. Other times they are a rip-off.
You should be able to find answers to all of your camera questions in
Upgrading AP cameras